Page 1 of 1

Two guest VM on internal network not able to ping each other

Posted: 16. Oct 2009, 08:01
by asaxena11
Hi,

I don’t have any experience is setting up networks. I am trying to create a small lab environment to test my application
I have two VM (Win 2 k 3 64 bits and XP 32 bit). I am trying to set up network between these two. But the VM cannot ping each other.
Here is the configuration I have
Win2k3 VM: NAT and Internal network
Win X; internal Network

I ran following command
vboxmanage modifyvm Win2k3_X64Srvr -nic2 intnet
vboxmanage modifyvm Win2k3_X64Srvr -intnet2 intnet

vboxmanage modifyvm WINXP -nic1 intnet
vboxmanage modifyvm WINXP -intnet1 intnet

Also I did setup static IP on Win2k3 server machine using following command
netsh interface ipv4 set address name="Local Area Connection 2" source=static address=192.168.2.220 mask=255.255.255.0 gateway=192.168.1.1
Please guide me where am I going wrong.

Thanks
Amit

Re: Two guest VM on internal network not able to ping each other

Posted: 16. Oct 2009, 12:38
by Sasquatch
With peered connections, you don't need a gateway because there is none. Set the Guests to the same IP range, like 192.168.4.1 and 192.168.4.2. Disable the XP firewall or add a rule to allow ping (file and printer sharing is there by default, just needs to tick the checkbox).