I have two virtual machines, one windows XP and another Ubuntu both connected to the virtual network VMnet2. I want them only to be able to communicate with one another and not any external network
For my Windows xp machine I want all internet services to go to the Ubuntu machine so I changed the TCP/IP settings on the XP machine to redirect to the Ubuntu machine:
(where .129 is the xp machine, .128 is the ubuntu)
But even after doing this I am still able to ping servers that are not the ubuntu machine (e.g google.com) on my xp machine. Why is this happening and how can I make the network air-gapped so only both machines are connected to eachother?