Aleksey, Adding the line to /etc/network/interfaces caused the interface to come up and get a DHCP IP address from vboxnet0. I guess I thought ubuntu would bring the interface up automatically if VirtualBox exposes the virtual nic hardware, but it didn't. I had to manually add the iface. Its fine now though.
Darren On Mon, 2010-02-15 at 17:10 +0300, Aleksey Ilyushin wrote: > Hi Darren, > > > > Please check if DHCP server settings are right for vboxnet0. You'll > need to go to 'Preferences -> Network -> Edit (button with a > screwdriver) -> DHCP Server. Make sure vboxnet0's address and DHCP > lower-to-upper addresses are on the same net. If all the settings are > correct, please, check guest's network configuration for the 2nd NIC. > I assume you use the default way to configure the network in Karmic > server. Guest's /etc/networks/interfaces should have something like > this: > > > iface eth1 inet dhcp > > > Of course this is for the situation when the 2nd NIC is configured as > eth1. It may get another instance number if you have changed MAC > address of the adapter somewhere along the way. > > > If nothing helps please enable packet capture on the internal network > with 'VBoxManage modifyvm your_vm_name --nictrace2 on --nictracefile2 > some_file_name' and send the resulting file to me in private mail. Do > not forget to turn it off later. > > > Cheers, > Aleksey > > > On Feb 15, 2010, at 2:48 PM, Darren Govoni wrote: > > > > > Hi Aleksy, > > Well, here's the steps I did. I set up my guest Ubuntu Karmic > > server. Install fine. I set Adapter 1 to be NAT. When I start the > > guest OS, the NIC gets an IP address and it tunnels out fine. Later, > > I add Adapter 2 as a host-only vboxnet0. For this adapter, I want to > > ping it from my host and send traffic only between the host. When I > > boot the guest OS, the 2nd NIC does NOT get an IP address. On the > > host, however, the vboxnet0 nic comes up with an IP. > > > > Now, if I swap adapter 1 and 2 and use my working NAT nic for > > adapter 2. It does not get an IP. Its as if > > it won't allow more than one nic. > > > > I've not been able to get bridging to work at all either. > > > > I have a laptop with a wlan0 nic and eth0 (not connected though). > > > > Darren > > > > On Mon, 2010-02-15 at 11:40 +0300, Aleksey Ilyushin wrote: > > > > > Hi Darren, > > > > > > > > > VirtualBox supports up to eight NICs per guest. What exactly does > > > not work for you? You cannot ping the host from the guest? The > > > guest does not get IP address on the second NIC? Is the second NIC > > > up? Where do you connect the first NIC? > > > > > > > > > Regards, > > > Aleksey > > > > > > > > > > > > On Feb 7, 2010, at 11:25 PM, Darren Govoni wrote: > > > > > > > > > > Hey Fábio, > > > > > > > > My laptop only has 1 physical network card on it. > > > > > > > > But what I want is for my guest OS to use a "host-only" > > > > networking and that > > > > shouldn't require a physical card in the host OS, right? I want > > > > to network > > > > it with my host, which DOES get a vboxnet0 IP address and nic. > > > > > > > > My understanding is the vbox device drivers for vboxnet0 will > > > > emulate > > > > a physical network and also the NIC in the guest OS. But it > > > > doesn't seem to work. > > > > > > > > On Sun, 2010-02-07 at 17:26 -0200, Fábio Rabelo wrote: > > > > > > > > > I have no idea of what happening in your system but I can > > > > > affirmatively say to you, it works !!! > > > > > > > > > > I have a system with 4 network cards, all configured in bridge > > > > > mode, all with different IP numbers and connected to different > > > > > networks, and ALL my 3 Virtualbox guests have full access to > > > > > all 4 networks . > > > > > > > > > > My host is Debian Lenny, my VBox is the latest present in SUN > > > > > apt repository . > > > > > > > > > > After configured all 4 cards in bridge mode, all I needed to > > > > > is was create 3 new cards to all guests, configure it, and > > > > > that's all ... > > > > > > > > > > Fábio Rabelo > > > > > > > > > > > > > > > 2010/2/7 Darren Govoni <dar...@ontrenet.com> > > > > > > > > > > Hi, > > > > > I've been trying for 4 days to get my ubuntu guest > > > > > on my ubuntu host to correctly bring up 2 network > > > > > interfaces. > > > > > Only 1 ever comes up. Does VBox support multiple > > > > > networks? The second interface is host-only, but gets > > > > > no IP > > > > > address. I've tried a variety of options with no > > > > > success. > > > > > > > > > > Thanks for any help. > > > > > Darren > > > > > > > > > > _______________________________________________ > > > > > vbox-users mailing list > > > > > vbox-users@virtualbox.org > > > > > http://vbox.innotek.de/mailman/listinfo/vbox-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > vbox-users mailing list > > > > vbox-users@virtualbox.org > > > > http://vbox.innotek.de/mailman/listinfo/vbox-users > > > > > > > > > > > > > > > > > > > _______________________________________________ > > vbox-users mailing list > > vbox-users@virtualbox.org > > http://vbox.innotek.de/mailman/listinfo/vbox-users > > >
_______________________________________________ vbox-users mailing list vbox-users@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-users