I am trying to set up 3 VMWare Virtual Networks that are Host-Only. I have at least 2 (more planned) VMWare Workstation Virtual Machines which are RHEL10 that need to access and use these networks to communicate:
As shown in "Virtual Network Editor":
- VMnet2: Host-Only, Connected, No DHCP, subnet IP: 192.168.230.0 Subnet mask: 255.255.255.0
- VMnet3: Host-Only, Connected, No DHCP, subnet IP: 192.168.231.0, Subnet mask: 255.255.255.0
- VMnet4: Host-Only, Connected, No DHCP, subnet IP: 192.168.232.0, Subnet mask: 255.255.255.0
All of these virtual networks exist in Virtual Network Editor, and all exist in Control Panel -> Network and Internet -> Network Connections where they are all listed as "Enabled."
Moreover, I have verified that there is no subnet overlap between each of these any each other, or any other subnet on the machine, nor the LAN.
For this question, I have 2 RHEL10 VMs as guests in VMWare, we'll call them Guest1 and Guest2 and we will isolate the problem to specifically VMnet2.
Guest1 and Guest2 in the VM -> Settings have Network Adapter 2 set to Custom -> "VMnet2" and both have the "Connected" and "Connect at Startup" checkboxes checked when running.
In both VMs, when I run a ip a I can see that there is an interface named and "UP" for both of these VMnet2 NICs.
However, a ping from Guest1 to Guest2, and Guest2 to Guest1 both fail "Destination Host Unreachable". I have also tried disabling the firewalld firewall on both machines, but especially on the one receiving the ping, same result.
By way of example, this is a sample output from Guest1 from ip a:
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:0c:29:11:0d:bf brd ff:ff:ff:ff:ff:ff
altname enp11s0
inet 192.168.230.10/24 brd 192.168.230.255 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe11:dbf/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
Then from Guest2:
3: ens161: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:0c:29:a2:a2:76 brd ff:ff:ff:ff:ff:ff
altname enp4s0
altname enx000c29a2a276
inet 192.168.230.11/24 brd 192.168.230.255 scope global noprefixroute ens161
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fea2:a276/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
However, on Guest1, I get this:
guest1@localhost ~ [1]> ping -c 1 192.168.230.11
PING 192.168.230.11 (192.168.230.11) 56(84) bytes of data.
From 192.168.230.10 icmp_seq=1 Destination Host Unreachable
--- 192.168.230.11 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
I get the exact same from Guest1 to Guest2's IP, despite both of them seemingly connected to VMnet2, there to be no firewall interfering, and so on. I've already tried rebooting the host machine, recreating the virtual networks (after which I even deleted and re-added them manually as NICs to the VMs) and resetting the VMWare Network processes.
VMware Version: VMWare Workstation Pro 25H2 25.0.0.24995812 Host Windows Version: Windows 10 Pro, 22H2, Build 19045.6466
It seems even though the VMNets (we use VMNet2 here as an example to isolate the problem) are just not functional and switching, but it is unclear how to proceed.
pingGuest2, I do see those on tcpdump, I also triedarping. But I do not see anything from one coming into the other.