Thank you for the guidance. I’ve applied but faced again this error:
alpine router console boot log shows that no networks is starting. It throws the error: ifup: too few parameters for line “iface”
The good news I could solve this one by forcing all interface hardware to virtio in the router template and try again your suggestions (I guess there was a wrong default driver in this version I use) …
Then, my router finally boots with network, hurray ! And pings from both WAN and LAN sides.
However I test my routing setup by doing a “wget yahoo.com” which works great when logged as root on the alpine router, but not on the VMs in the LAN, like VM11 on my chart above.
It throws a:
Resolving yahoo.com (yahoo.com)… failed: Temporary failure in name resolution.
However, the /etc/resolv.conf is set properly by contextualization.
So my questions are:
Is my setup wrong: the internet gw is not set right for VM11 ?
- …or is my expectation wrong: the alpine router is a router but not a real internet gw capable of routing/natting traffic from LAN1 to the internet via the WAN and its internet gw. I was under the assumption that as the router can access the internet, it is also capable to route access to the internet for the VMs in the LAN.
- If 2, then how could I provide internet access to all VMs on LAN1
- I would like to avoid setting up a firewall VM, can security groups rules in LAN1 definition help pass selectively the internet traffic from WAN to at least one dedicated VM in LAN1 (like a LB for example), and how to set this up in Sunstone ?
Thanks a 1000 for your help.