Hi,
I have kind of an strange problem regarding some VMs running on ESXi 5.5 U2 (HP customized image)
I have installed 3 VMs, but on 2 of them, I can't ping the default gateway, and can't connect to the Internet. But I can ping all the other hosts in the network, and I can also arping the gateway.
[alex@centos7 ~]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
^C
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
[alex@centos7 ~]$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
[alex@centos7 ~]$ arping -I ens160 192.168.0.1
ARPING 192.168.0.1 from 192.168.0.11 ens160
Unicast reply from 192.168.0.1 [C8:3A:35:19:F4:68] 0.857ms
Unicast reply from 192.168.0.1 [C8:3A:35:19:F4:68] 0.895ms
Unicast reply from 192.168.0.1 [C8:3A:35:19:F4:68] 0.860ms
^CSent 3 probes (1 broadcast(s))
Received 3 response(s)
Any ideas on what may be the issue?
Thanks,
Alex
Only a guess. Are the ports on the physical switch configured as access ports, i.e. no port security (e.g. desktop mode) enabled?
André
Yep, no port security enabled.
This is a home lab, so no fancy switches and routers. The server is connected via a switch without management (http://www.tp-link.com/resources/images/products/Large/TL-SF1005D-01.jpg) which in turn is connected to my apartment's router (the infamous gateway
). So from the networking point of view, really cheap and standard household equipment.
You said that you are able to ping other systems in the network (which I assume are connected to the TP-Link switch). So from what you write, I'm pretty sure that the router could be the limiting factor, and the port - to which the TP-Link switch is connected - doesn't allow multiple MAC addresses!?
Are you able to ping the gateway from the different VMs, if only one of them is powered on at a time?
André
Yes, I can ping all other hosts in the network.
I have powered off the VM that was working and rebooted the one that was not working. Still nothing. Can't ping the gateway from the rebooted one.
Another thing that I forgot to mention. At first, during the installation of the VM, everything was fine. The OS got it's IP and everything from the DHCP server (the router), and even connected to the online repos to download the required packages. After the install finished, I rebooted the VM, and after it booted, I could no longer ping the gateway.
Now it looks like the CentOS machine is able to ping the gateway and connect to the internet, so now only 1 machine remains that doesn't have connectivity with the gateway. Also, I have rebooted the ESXi host.
