I'm connecting to my server (Centos 7) with ssh and I try to ping to localhost:
ping 127.0.0.1 but doesn't work:
ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. ^C --- 127.0.0.1 ping statistics --- 78 packets transmitted, 0 received, 100% packet loss, time 76999ms
Here my files. networks:
default 0.0.0.0 loopback 127.0.0.0 link-local 169.254.0.0
# nameserver config # IPv4 127.0.0.1 localhost.localdomain localhost 1xx.xxx.xxx.xxx server # # IPv6 ::1 ip6-localhost ip6-loopback ...
DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback
I need make a ping! What I can do?