Can't get ip from dhcp with bridged adapter, ubuntu guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
fireblood
Posts: 4
Joined: 29. Apr 2009, 01:36
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by fireblood »

Hi everyone,

I'm trying to setup a ubuntu server as guest on a vista host, with NAT i've connection to internet. but i need to connect as bridged to be able to access the guest os from the host and from the internet. I've tried with dhcp and with static ip, and still no connection. Btw, i'm using wireless to connect to the router.

Apreciate your help, thanks!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by Sasquatch »

So bridged to wireless and let the VM get an IP from your router doesn't work? Check the router logs, it might block it's MAC address if you have MAC filtering on.
If it doesn't show anything and still doesn't work, give more info, like we ask in the Forum Posting Guide.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
fireblood
Posts: 4
Joined: 29. Apr 2009, 01:36
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Re: Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by fireblood »

Well i've reinstalled everything, and it's working now.. router sent the dhcp offer and i've got an ip on the guest :)

Thanks for your help! :)
fireblood
Posts: 4
Joined: 29. Apr 2009, 01:36
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Re: Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by fireblood »

Well, talked too early :p

The guest managed to connect to the router but it doens't have internet connection, only local... in the Host-only network that it's created in the host OS (Vista) it says "Limited or no connectivity".

Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by Sasquatch »

fireblood wrote:Well, talked too early :p

The guest managed to connect to the router but it doens't have internet connection, only local... in the Host-only network that it's created in the host OS (Vista) it says "Limited or no connectivity".

Thanks
You can configure the Host-Only in the VB preferences > Network.

Do you get a DNS and Gateway in the Guest? What if you set a static IP?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
fireblood
Posts: 4
Joined: 29. Apr 2009, 01:36
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Re: Can't get ip from dhcp with bridged adapter, ubuntu guest

Post by fireblood »

Well, i've now configured to static ip, still no connection to internet.. i can reach the guest from the host, i've apache running and its all working fine locally..

Heres what i've done so far:

Installed VB - Configured bridged connection to the laptop wireless - installed ubuntu, apache, php etc.. - got connection working with DHCP and STATIC

Still no internet connection.. am i missing something ?

thanks
Post Reply