Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I am not able to connect to the internet via VM Virtaul Box. These are my configurations

enter image description here

But i can ping to the sever via window CMD enter image description here

enter image description here

enter image description here

enter image description here

share|improve this question
up vote 1 down vote accepted

This is wrong. You don't need to manually specify ip address to the virtual system.

See your windows host receive connectivity using the settings configured as it is. Now windows host serves as server to linux guest. VBox takes care of it automatically.

So remove the ip Address assigned in ubuntu guest.

Make sure virtualbox Ethernet is enabled and NAT is chosen.

vbox network

share|improve this answer
should I empty the /etc/resolv.conf also ? – Unknown Aug 5 '12 at 10:54
Worked Worked !! Thanks man.. – Unknown Aug 5 '12 at 10:59
keep it as it was in fresh system. – Web-E Aug 5 '12 at 10:59

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.