Hello,
I created 2 ESXi hosts in a vmware workstation 9 machine. So that they can ping each other, I have installed a vyatta virtual router on the same vmware workstation.
The IP config of the ESXi hosts and vyatta is as follows:
ESXi1: ip 192.168.119.2 mask 255.255.255.0 gw 192.168.119.10
ESXi2: ip 192.168.119.3 mask 255.255.255.0 gw 192.168.119.10
vyatta: ip 192.168.119.10 mask 255.255.255.0
ESXi1 and ESXi2 can ping their gw but they cannot ping each other. I disabled all firewalls in all these machines but still no ping is possible between the ESXi hosts.
I installed 2 windows 7 VMs in the same vmware workstation and implemented the same IP configurations as for the ESXi hosts. The windows 7 machines can ping each other.
The details about the network configuration is below. Any advice please? Thanks a lot.
ESXi_1:
/sbin # esxcli network ip interface ipv4 get
Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type DHCP DNS
---- ------------- ------------- --------------- ------------ --------
vmk0 192.168.119.2 255.255.255.0 192.168.119.255 STATIC false
/sbin # ping 192.168.119.10
PING 192.168.119.10 (192.168.119.10): 56 data bytes
64 bytes from 192.168.119.10: icmp_seq=0 ttl=64 time=2.315 ms
64 bytes from 192.168.119.10: icmp_seq=1 ttl=64 time=1.175 ms
/sbin # esxcli network firewall get
Default Action: PASS
Enabled: false
Loaded: true
/sbin # esxcfg-route
VMkernel default gateway is 192.168.119.10
ESXi_2:
~ # esxcli network ip interface ipv4 get
Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type DHCP DNS
---- ------------- ------------- --------------- ------------ --------
vmk0 192.168.119.3 255.255.255.0 192.168.119.255 STATIC false
~ # ping 192.168.119.10
PING 192.168.119.10 (192.168.119.10): 56 data bytes
64 bytes from 192.168.119.10: icmp_seq=0 ttl=64 time=1.908 ms
64 bytes from 192.168.119.10: icmp_seq=1 ttl=64 time=1.384 ms
~ # esxcli network firewall get
Default Action: PASS
Enabled: false
Loaded: true
~ # esxcfg-route
VMkernel default gateway is 192.168.119.10
vyatta:
----------------
vyatta@vyatta:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 192.168.119.10/24 u/u
lo 127.0.0.1/8 u/u
::1/128