I have vmware workstation installed on a windows 7 host. I have two guests setup, both of them are Ubuntu Server 10.04.1 64 bit. One guest is connected to my host via the bridged network option. This guest also has a second virtual interface that is connected to a virtual switch. The second guest has a single virtual nic connected to the same virtual switch. What I am trying to do is to configure the first guest to be a router and configure the second guest to use the first guest as it's gateway. So what I want is a virtual LAN where the guests get internet access through the single guest that is bridged to the host.
In this configuration, the bridged guest does have internet access until I add the configuration for the second interface to the /etc/network/interfaces file. Once I add that interface and do /etc/init.d/networking restart the bridged guest can no longer ping any external hosts.
Content of interfaces:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp
Output of route -n
Kernel IP routing table Destination Gateway Genmask Iface 192.168.1.0 0.0.0.0 255.25.255.0 eth0 10.0.0.0 0.0.0.0 255.0.0.0 eth1 0.0.0.0 192.168.1.1 0.0.0.0 eth0