Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I tried config static ip in centos but when I ping in 22.214.171.124 . I get Destination host unreachable .
Here is ipconfig in pc :
Here is in ifcfg-eth0
My network card is NAT mode
Where is my wrong .
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:
Is the network adapter of the VM bridged or does it use NAT? It looks like NAT.
Required, but never shown