no internet to Bridge mode VMGuests in windows 7 host

Discussions about using Windows guests in VirtualBox.
Post Reply
Sra1
Posts: 4
Joined: 8. Nov 2012, 16:25

no internet to Bridge mode VMGuests in windows 7 host

Post by Sra1 »

hi,
i am using windows 7 as host for virtual box. And my guests are one is winodws XP and other is linux(backtrack)when i use bridge network mode i am not able to connect to internet from my guest machines. but when is use NAT mode im able to connect to internet but both of my guests are getting the same IP.

pls advice me on this. Thanks in advance.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: no internet to Bridge mode VMGuests in windows 7 host

Post by mpack »

How does your host get internet access? Bridged mode at its simplest will require a router which hands out IP addresses using DHCP.

What's your problem with NAT? What do you care what IP address they pretend to be using?
Sra1
Posts: 4
Joined: 8. Nov 2012, 16:25

Re: no internet to Bridge mode VMGuests in windows 7 host

Post by Sra1 »

im using wired broadband connection. is there any way that i can get two different ip's for my guests and internet access.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: no internet to Bridge mode VMGuests in windows 7 host

Post by mpack »

You can't have separate IPs if you use NAT, because that's what NAT is: a way to share one external IP address. If you use bridged then your VM will appears on your LAN with its own IP address - provided there is a DHCP server around to provide an IP address, and that depends on the configuration of your LAN. Some company LANs for example will not allow an unknown MAC address to join a network - NAT will work fine in that environment, getting "Bridged" to work would require help from your companies IT support bods.
Sra1
Posts: 4
Joined: 8. Nov 2012, 16:25

Re: no internet to Bridge mode VMGuests in windows 7 host

Post by Sra1 »

thanks for the detailed explanation.. :)
Post Reply