Windows – Configuring bridging in Virtual Box to enable access from other computers in network

bridgenetworkingvirtualboxwindows 7windows xp

I have a Win XP installed on Virtual Box, and as suggested in different posts, i have chosen the bridged mode. When i look at the router logs, i can see that an ip address has been given to the VM and when i check for the internet connection, everything is fine.

The problem arises, when i try to ping the VM from the host machine, and a different machine in the network. For both of them, no packets are received.
The only thing that works is pinging the router and other machines in the network from inside the VM.

So what might be the issue?

EDIT: I have tested this a bit more, and i have come to this conclusion: i cannot ping the machine from anywhere, even the host machine. I can ping everyone and have an internet connection in the guest machine. This does sound like a NAT configuration to me, but i have picked bridged in the VirtualBox networking options.

More info: The VirtualBox version is 4.0.8 r71778 running on Windows 7 Home Premium SP1

IP config guest:
Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.1.145
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

IP config host:
Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::3db1:e5ee:d5ae:7548%10
   IPv4 Address. . . . . . . . . . . : 192.168.1.147
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

When i release/renew i do get a succefull ip – same .145 (i reserved the ip in the router settings)

EDIT: Since i have solved the problem by enabling ICMP ping packets in the guest machine, i would like to know one more thing: If ICMP is blocked, how can i know that a machine is accessible?

Best Answer

Usually when this happens it's a firewall problem (in the guest machine). By default, the Windows firewall is set up to block incoming ICMP requests, so be sure to manually allow them.

If you don't know how to do it, here's a guide to allow incoming ICMP requests in Windows XP.

Related Question