Header Shadow Image


connect: Network is unreachable

Getting this?

[root@mdskvm-p01 yum.repos.d]# ping 8.8.8.8
connect: Network is unreachable
[root@mdskvm-p01 yum.repos.d]# ip route add default via 192.168.0.1

Solve it by donig this:

[root@mdskvm-p01 yum.repos.d]# ip route show
default via 192.168.0.1 dev enp2s0f0
192.168.0.0/24 dev enp2s0f0  proto kernel  scope link  src 192.168.0.39
[root@mdskvm-p01 yum.repos.d]#
[root@mdskvm-p01 yum.repos.d]#
[root@mdskvm-p01 yum.repos.d]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=15.9 ms
^C
— 8.8.8.8 ping statistics —
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 15.902/15.902/15.902/0.000 ms
[root@mdskvm-p01 yum.repos.d]#

 

Thx,

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License