I have VirtualBox running on a Ubuntu 12.04 server. On this host, I created eth2, which has an IP of 126.96.36.199 and connects to a router for access to the internet.
In addition, I created eth2.15, eth2.16, and eth2.17 with VLAN. For example:
auto eth2 iface eth2 inet static address 188.8.131.52 netmask 255.255.255.0 auto eth2.15 iface eth2.15 inet static vlan-raw-device eth2 address 184.108.40.206 netmask 255.255.255.0 auto eth2.16 iface eth2.16 inet static vlan-raw-device eth2 address 220.127.116.11 netmask 255.255.255.0 auto eth2.17 iface eth2.17 inet static vlan-raw-device eth2 address 18.104.22.168 netmask 255.255.255.0
The router using switchport trunk interface that allows VLANs 14, 15, 16, and 17. There are interface VLANs set up for each of the VLANs and IPs of 22.214.171.124, 126.96.36.199, 188.8.131.52, and 184.108.40.206.
Now, I created a guest OS (Ubuntu 12.04) and set adapter 1 to NAT and adapter 2 to bridged eth2.17. On the VM, I set eth1 to static IP 220.127.116.11. From this guest, I can ping 18.104.22.168, and the router 22.214.171.124 and get out on the internet. There are several Ubuntu servers that are on this 14.0.3.x network and they are all accessible.
I created a second guest OS (Ubuntu 12.04) and did the same thing, only using eth2.15 and an IP of 126.96.36.199 for eth1. With this VM, though, I cannot ping 188.8.131.52, nor any other IP.
I'm at a loss as to why it doesn't work for this second guest. Any suggestions on how to troubleshoot this issue, or what I may have done wrong?
Note: goal here is to have a third guest for 14.0.2.x net. So I'll have three VMs with three networks. These build server VMs are being used to configure multiple machines on each of the networks.