Virtual Bridge problem.

This is for discussing general topics about how to use VirtualBox.
Post Reply
gwapscoffee
Posts: 11
Joined: 20. Aug 2010, 07:36
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Windows 2003

Virtual Bridge problem.

Post by gwapscoffee »

Hello,


I've posted a similar thread before. Only that time, I manage to solve the issue using NAT rather than Bridge networking.

Now i can't afford to simulate in NAT.

Here is the scenario VirtualBox ver 3.2.8


Host PC Windows XP with IP address of 192.168.42.112. Subnet 255.255.255.0.
Gateway of 192.168.42.1. DNS of 192.168.42.3.


Guest OS Windows XP with IP address of 192.168.42.170. Subnet 255.255.255.0.
Gateway of 192.168.42.1. DNS of 192.168.42.3.


The ping between the host and the guest is smooth but the guest can't ping anything else. It also has no Internet connection.
mick463
Posts: 26
Joined: 8. Aug 2009, 07:24
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows Server 2008

Re: Virtual Bridge problem.

Post by mick463 »

The guest cannot get internet as the bridged network is for a local lan only ie through a switch. The only way you wil get internet is through nat.
What exactly are you trying to do with the bridged adapter.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtual Bridge problem.

Post by Perryg »

Actually the only requirement to be able to use Bridged (which will give you the Internet) is there needs to be a router (not a switch) in the network.
Looking at what you are showing it appears there may be a router unless you manually configured the addresses your self.

The ability to ping between the host and guest shows that the connection is made so now you need to see why you can not get to the Internet.
Try to ping the gateway which should be 192.168.42.1 and the DNS address 192.168.42.3 from the guest. Do the reply?
Also make sure that your firewall or virus software is not stopping you.
Another test is to ping yahoo.com and 69.147.125.65 to see if they both work. This will test the DNS
gwapscoffee
Posts: 11
Joined: 20. Aug 2010, 07:36
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Windows 2003

Re: Virtual Bridge problem.

Post by gwapscoffee »

@Perryg,

The guestOS cannot ping any other computer on LAN not even the gateway(Our gateway is a watchguard UTM). The firewall on the HOST OS is off. although I have a Semantic EndPoint protection 11 installed.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtual Bridge problem.

Post by BillG »

The firewall on the host would have no effect on the traffic from the guest. (The host OS never sees this traffic.) Symantec or Watchguard might.

The only way to know for sure is to run a network monitor on the physical LAN and monitor the trafiic from the vm. It should look just like any other machine on the network if it is set to bridged.
Bill
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtual Bridge problem.

Post by BillG »

BillG wrote:The firewall on the host would have no effect on the traffic from the guest. (The host OS never sees this traffic.) Symantec or Watchguard might.

The only way to know for sure is to run a network monitor on the physical LAN and monitor the trafiic from the vm. It should look just like any other machine on the network if it is set to bridged.
Here is a sample from my network. S08R2dave is a vm bridged to the network. 192.168.0.1 is the gateway router. 192.168.0.3 is a physical machine on the LAN.
Netmon.png
Bill
gwapscoffee
Posts: 11
Joined: 20. Aug 2010, 07:36
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Windows 2003

Re: Virtual Bridge problem.

Post by gwapscoffee »

There was this instance where I turned off the semantic endpoint protection and the VM was set to bridge. As far as I can remember that didn't work as well. That's why i got confused with this bridging.

I'm familiar with WireShark. Now, which is the more ideal to monitor the traffic? In the host or the guest os??
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Virtual Bridge problem.

Post by ChipMcK »

BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtual Bridge problem.

Post by BillG »

gwapscoffee wrote:There was this instance where I turned off the semantic endpoint protection and the VM was set to bridge. As far as I can remember that didn't work as well. That's why i got confused with this bridging.

I'm familiar with WireShark. Now, which is the more ideal to monitor the traffic? In the host or the guest os??
Monitor the traffic from a physical machine connected to the physical network, not from a vm.
Bill
Post Reply