Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to get both my virtual machines to ping each other. My first virtual machine is running on Ubuntu (brdige connection, using a external network adapter) IP: 192.168.1.148, my second virtual machine is running on Windows XP (share connection with host machine NAT) IP: 192.168.15.130. Both able to access the Internet. My windows XP is able to ping my Ubuntu but Ubuntu unable to ping XP. What could be the problem?

PS:I have shut down all firewalls etc.

share|improve this question
    
What testing or troubleshooting have you done? –  belacqua Dec 4 '12 at 18:55

1 Answer 1

The machines are in different networks, change the connection type of Windows XP virtual machine to bridge connection like you did with the Ubuntu one. Then change Windows XP virtual machine ip setting an address in the same subnet of the ubuntu ip address, like for example 192.168.1.149 netmask 255.255.255.0. When you set NAT in network connection type then your virtual machine will not be reachable from the external unless you do an appropriate port forward for the NATed machine: Configuring port forwarding with NAT

share|improve this answer
1  
...unless you do an appropriate port forward for the NATed machine: Configuring port forwarding with NAT –  lgarzo Dec 4 '12 at 17:28
    
you're right, thank you for your clarification! –  lupp0l0 Dec 5 '12 at 9:03
    
Nice edit, you're welcome! –  lgarzo Dec 5 '12 at 12:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.