Page 1 of 1

Network settings doesn't work with ubuntu server under vbox!

Posted: 9. Aug 2010, 03:21
by mbg1987
I installed ubuntu server 10.04 under vbox virtual machine 3.2.0, what exactly i need is how to setup two network cards on the ubuntu server, one connected to internet while the other is attended to share the internet to all network "virtually",
so here's my settings in vbox :

adapter1: bridge "connected to the router"
adapter2: host-only "connected to the network"

but when i typed ifconfig command on the server i don't see any connection, look to the image below:
http://dl.dropbox.com/u/5392244/3.png

Re: Network settings doesn't work with ubuntu server under vbox!

Posted: 9. Aug 2010, 10:48
by frank
Your settings seem to be correct. This could be a problem with Ubuntu that it memorizes the relation between a network interface and a MAC address. You might want to check if there is a file /etc/udev/rules.d/70-persistent-net.rules and remove it in that case, then reboot.

Re: Network settings doesn't work with ubuntu server under vbox!

Posted: 9. Aug 2010, 21:27
by Sasquatch
When checking if interfaces are available, always use 'ifconfig -a', as that will show interfaces that do not have a configuration or are set to 'down'.