I tried config static ip in centos but when I ping in . I get Destination host unreachable . Here is ipconfig in pc : enter image description here

Here is in ifcfg-eth0 enter image description here

My network card is NAT mode Where is my wrong .

  • 1
    Please post your text as text (not screenshots or other images). – G-Man Says 'Reinstate Monica' Oct 27 '17 at 4:23
  • 1
    Can you ping your gateway ( – garethTheRed Oct 27 '17 at 4:46
  • If you use NAT show us the IP that your windows computer has on the VMware network adapter. – Ziazis Oct 27 '17 at 7:01

For me it looks like you mixed up your GATEWAY with your IPADDR.

Try pinging your Gateway


If this works send as the output of this:

ip route

Is the network adapter of the VM bridged or does it use NAT? It looks like NAT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.