I'm running virtualbox in bridged mode on a windows host.

ifconfig returns this:

enter image description here

Here's the etc../interfaces file:

enter image description here

here's the output of ifconfig -a:

enter image description here

here's the output of route enter image description here

How can I force it to grab an IP address from the dhcp?


Is windows host using DHCP? It is not the MAC address filetring on router's side coming into action? Why not then use NAT settings on VM setup?

  • great idea, will try to do the NAT setup right now, can you please tell me whats the difference? – l--''''''---------'''''''''''' Jun 27 '13 at 20:21
  • NAT setup did indeed assign an IP, however when i try to ping that IP from the host machine, i am getting DESTINATION UNREACHABLE – l--''''''---------'''''''''''' Jun 27 '13 at 20:23
  • Then the virtualisation acts as yet another router and routes traffic to separated subnet dedicated for virtual machines. – Dee Jun 27 '13 at 20:23
  • ups.. something bad should be with your virtualised OS. Did you restart it? – Dee Jun 27 '13 at 20:24
  • Try to restart networking sudo service networking restart or to go with eth0 down and up sudo ifconfig eth0 down and sudo ifconfig eth0 up. – Dee Jun 27 '13 at 21:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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