VMware Communities
SommyJo
Enthusiast
Enthusiast
Jump to solution

Ping only in one direction

I need to create a test environment in Workstation 15 by simulating the production environment in ESXi 6.7.

VM "A" with 3 NICs

- NIC 1 Bridge to Wi-Fi

- NIC 2 Bridge on physical NIC. NIC 2 has static IP address 192.168.11.1

- NIC 3 Host-Only with static IP 192.168.13.1

On this last segment of the network there are two other Linux VMs: VM B (192.168.13.15) and VM C (192.168.13.16)

I can ping:

- from VM A to VM B and C

- between VM B and C

but I can not ping either from the two VMs B / C to 192.168.13.1 or google.com

and of course I can not navigate from the two VMs.

I do not understand where is the problem.

Being the B / C VMs in Host Only should not see the physical IPs, but also 192.168.13.1 is host-only.

I suppose the problem is because VM A has two more NICs in Bridge and if it were like that I do not understand the reason.

1 Solution

Accepted Solutions
yanw
VMware Employee
VMware Employee
Jump to solution

For the NIC3 of VM1, you had better use another static ip address instead of 192.168.13.1, becuase 192.168.13.1 is preserved for the virutal adapter installed on the host platform. You can try to change another static ip address and disconnect the connection of NIC1/NIC2, then try to ping from VM2 to VM1, that would identify if the un-able ping would be caused by the route-table of VM1.

Regards to VM2/3 to external network such as google. Host-only segment do not provide network connection to external network. You can use bridge or NAT segment  

View solution in original post

3 Replies
yanw
VMware Employee
VMware Employee
Jump to solution

For the NIC3 of VM1, you had better use another static ip address instead of 192.168.13.1, becuase 192.168.13.1 is preserved for the virutal adapter installed on the host platform. You can try to change another static ip address and disconnect the connection of NIC1/NIC2, then try to ping from VM2 to VM1, that would identify if the un-able ping would be caused by the route-table of VM1.

Regards to VM2/3 to external network such as google. Host-only segment do not provide network connection to external network. You can use bridge or NAT segment  

monkeynut
Contributor
Contributor
Jump to solution

I don't understand why with todays technology people use static IP addresses. I understand why people want an IP address to remain constant but this can still be achieved via DHCP. All you need to do is once the IP addresses have been allocated is to tell the DHCP server to permanently associate these address with the MAC addresses.

Have fun,

MN

0 Kudos
RDPetruska
Leadership
Leadership
Jump to solution

Some people may not HAVE DHCP servers on their network, or parts of their network.  Also, in manufacturing environments and control systems, you want to absolutely positively ensure your devices maintain the same static IP address, as the computers which communicate with them MUST be defined with an absolute address with which to communicate!  Don't assume everyone has the same scenario as you are used to.