I'm having a strange issue where my CentOS guest and Windows host can't ping each other by IP or hostname. It's not a DNS issue because I can ping other computers on my network by hostname or IP and vice versa. I have allowed ICMP in CentOS. I can reach the web portal for my router from a browser in CentOS without issue. The Host and Guest just can't ping each other (but other computers on the network have no issue pinging the Host computer).
The virtual NIC is in bridged mode. I have a static IP assigned to CentOS, with address, gateway and DNS specified (DNS1=Google DNS, DNS2=Gateway IP) in ifcfg. All computers are on the same /24 subnet. In troubleshooting I have seen people mention checking /etc/resolve.conf, but I don't seem have an /etc/resolve.conf.
I am a bit of a Linux novice admittedly, so don't assume I know even basic information Can anyone think of something I can check to resolve this?
VMware VM - Host/Guest Can't Ping Each Other
Re: VMware VM - Host/Guest Can't Ping Each Other
Do you have the correct netmask specified on both sides of the connection>?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: VMware VM - Host/Guest Can't Ping Each Other
Yes, they are both on a 10.221.221.0/24 with a 255.255.255.0 subnet mask.
Here is my IFCFG:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens32
UUID=ee6970f8-b327-43ff-92a6-ea80e3279913
DEVICE=ens32
ONBOOT=yes
PREFIX=24
IPADDR=10.221.221.216
NETMASK=255.255.255.0
GATEWAY=10.221.221.1
DNS1=8.8.8.8
DNS2=10.221.221.1
Re: VMware VM - Host/Guest Can't Ping Each Other
If both host and guest can reach all other devices in the subnet, then the issue is most likely in the "VMware bridge", not in either OS.
Re: VMware VM - Host/Guest Can't Ping Each Other
Here's a logical breakdown of what is happening (I have another computer besides the VM host):
Computer1 CAN ping VMHOST
VMHOST CAN ping Computer1
Computer1 CAN ping CentOS-VM
CentOS-VM CAN ping Computer1
VMHOST CAN NOT ping CentOS-VM
CentOS-VM CAN NOT ping VMHOST
CentOS-VM CAN ping and reach the web login for the router they are all connected to.
All are on 10.221.221.0/24 network. VM is running on VMware Workstation Pro on a Windows host. Virtual nic in CentOS-VM is in Bridged mode.
*Edit* You had already replied by the time I did.
So, that gives me some relief. The CentOS configuration from everything I could determine looks good - So you think the issue lies in the VMware nic configuration? I will look there, thank you.
Computer1 CAN ping VMHOST
VMHOST CAN ping Computer1
Computer1 CAN ping CentOS-VM
CentOS-VM CAN ping Computer1
VMHOST CAN NOT ping CentOS-VM
CentOS-VM CAN NOT ping VMHOST
CentOS-VM CAN ping and reach the web login for the router they are all connected to.
All are on 10.221.221.0/24 network. VM is running on VMware Workstation Pro on a Windows host. Virtual nic in CentOS-VM is in Bridged mode.
*Edit* You had already replied by the time I did.
So, that gives me some relief. The CentOS configuration from everything I could determine looks good - So you think the issue lies in the VMware nic configuration? I will look there, thank you.