Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hey all, no matter what Network Adapter I use on VirtualBox for my newly setup Ubuntu VM, I cannot get a valid IP when I do ipconfig. All I get is a loopback address. Does anyone know what I would do to fix this and which Network Adapter in VirtualBox I would use to properly connect to my actual PC (host) and the outside world?

Thanks, Darren

share|improve this question
up vote 0 down vote accepted

for anyone with the same problem this is how you would do this: change eth0 to eth1 in /etc/network/interfaces, and choose the bridged network.

share|improve this answer
The proper way would be to first check your available interfaces with ifconfig -a and then configure the appropriate interface. FYI: In your case, the kernel renames the interface to eth1 during bootup because of the persistent-net-rules in udev. – sybreon Dec 5 '10 at 6:56
Thanks for that command it helped. – Darren Dec 7 '10 at 19:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.