Ping 8.8.8.8: Network is unreachable

Issues related to configuring your network
Post Reply
Slevin
Posts: 2
Joined: 2019/09/15 17:02:37

Ping 8.8.8.8: Network is unreachable

Post by Slevin » 2019/09/15 17:16:19

My CentOS 6 is running on VMware Workstation. Network Adapter is set to "Custom: VMnet8 (NAT)"

/etc/resolv.conf:

Code: Select all

search localdomain
nameserver 8.8.8.8
nameserver 192.168.0.2nameserver 8.8.8.8
nameserver 8.8.4.4
Why am i getting that "Network is unreachable" error?

If more info is needed i will be happy to post it

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Ping 8.8.8.8: Network is unreachable

Post by TrevorH » 2019/09/15 17:22:04

It would appear that your network is not working. You can't ping 8.8.8.8 as your routing isn't correct, maybe on the CentOS side, maybe on VMware.
nameserver 192.168.0.2nameserver 8.8.8.8
Which ever it is, that's a typo and needs fixing.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Slevin
Posts: 2
Joined: 2019/09/15 17:02:37

Re: Ping 8.8.8.8: Network is unreachable

Post by Slevin » 2019/09/17 15:28:30

Thank you for your reply.

I will fix that and update my first post with the VMware- and CentOS network settings

Post Reply

Return to “CentOS 6 - Networking Support”