Dual VNICs: Problems with Internal Networking
Posted: 24. Jun 2009, 22:07
Maybe this is a bug, or maybe I am doing something wrong, but I'm having trouble with dual-NIC Ubuntu VMs in VirtualBox 2.2.4 run on an Ubuntu 9.04 i386 host. Maybe someone else has run into something like this:
I have two single-NIC Ubuntu VMs that are configured to use Internal Networking, with the default network name "intnet". They come up on the
same subnet and can ping each other. This is good.
I have a dual-NIC Ubuntu VM as well. If I set each NIC to Bridged Adapter, they both get IP addresses on the same subnet as my host. This
is good, too. However, if I change the second adapter to use Internal Networking on "intnet" Ubuntu doesn't assign it an IP address, nor can
it get one on that interface. This is bad. If I change both adapters to use Internal Networking on "intnet", neither interface is assigned an
IP address. I have tried manually assigning address, netmask, and broadcast, but that doesn't yield success.
My guess is that this behavior points to a bug in VirtualBox, but it's also possible that I'm doing something I shouldn't be doing. My
ultimate goal is to have a server VM with eth0 on my host's LAN and eth1 on its own subnet, where eth0 of a client VM is on the same subnet as
the server VM's eth1.
Can anyone see anything I'm doing wrong?
I have two single-NIC Ubuntu VMs that are configured to use Internal Networking, with the default network name "intnet". They come up on the
same subnet and can ping each other. This is good.
I have a dual-NIC Ubuntu VM as well. If I set each NIC to Bridged Adapter, they both get IP addresses on the same subnet as my host. This
is good, too. However, if I change the second adapter to use Internal Networking on "intnet" Ubuntu doesn't assign it an IP address, nor can
it get one on that interface. This is bad. If I change both adapters to use Internal Networking on "intnet", neither interface is assigned an
IP address. I have tried manually assigning address, netmask, and broadcast, but that doesn't yield success.
My guess is that this behavior points to a bug in VirtualBox, but it's also possible that I'm doing something I shouldn't be doing. My
ultimate goal is to have a server VM with eth0 on my host's LAN and eth1 on its own subnet, where eth0 of a client VM is on the same subnet as
the server VM's eth1.
Can anyone see anything I'm doing wrong?