Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.