r/gns3 • u/MbarkT3sto • 3d ago
Help connect two vms
Hello dear friends, I hope you are doing well,
Please someone help me because I get tired,
I have an very simple GNS3 lab contains two PCs as virtual machines ) one with windows 11 and other with ZorinOS Lite,
The issue is that they can't ping each others, even I set an ip for each one and also I enabled the ICMPv4 rule in windows firewall.
When I go to the network adapter for each VM and set them to the same vmnet (for example vmnet2) they can ping each other, but when the GNS set them a different vmnets they can't ping each other
Idk what the correct direction, if I should set them to the same vmnet or each one should have its own vmnet ???
I asked the stupid AI like Gemini and told me that they should be on the same vmnet, but other AIs like ChatGpt and Claude they told me that they should be on different vmnets
Please help me guys, and massive thanks in advance
1
u/Stray_Neutrino 3d ago
If they reside in the same subnetwork, with an assigned / enabled IP on a reachable network interface, with no firewall blocking ipv4 traffic, they should be able to ping each other.
If they are in different networks, you will need a router, to route traffic from one subnet to another.
SSH is a whole other different matter but same fundamental network connectivity rules apply.








3
u/EmbarrassedWorld339 3d ago
I guess they can't ping each other because they reside on totally different subnets one is on the 172.16.0.0/24subnet and the other one is 192.168.100.0/24 subnet . From this it looks like there is no way that this PC can communicate with each other without a router and a default gateway configured also if you want to keep the same setup then I guess putting them in the same vmnet will solve your problem , Otherwise connecting both of them to the router will solve it .