ping -c 2 8.8.8.8 connect: Network is unreachable

ping -c 2 8.8.8.8 connect: Network is unreachable

 
I need a same problem with my ubuntu configs

Can help me ?

[email protected]:~# sudo /etc/init.d/networking restart && sudo dhclient
[ ok ] Restarting networking (via systemctl): networking.service.
[email protected]:~# ping -c 2 8.8.8.8
connect: Network is unreachable
[email protected]:~# uname -a
Linux srv00 4.15.0-117-generic #118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:~# cat /etc/hosts
127.0.0.1 localhost
#10.0.0.8 localhost
127.0.1.1 srv00

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
[email protected]:~# cat /hosts
cat: /hosts: No such file or directory
[email protected]:~# cat /etc/hosts
127.0.0.1 localhost
#10.0.0.8 localhost
127.0.1.1 srv00

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
[email protected]:~# ifconfig -a
docker0: flags=4099 mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:d2:de:b4:a8 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s3: flags=4163 mtu 1500
inet6 fe80::a00:27ff:fe85:ffbd prefixlen 64 scopeid 0x20 ether 08:00:27:85:ff:bd txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 141 bytes 43718 (43.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 base 0xd020

enp0s8: flags=4163 mtu 1500
inet 192.168.0.125 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::a00:27ff:fe47:71be prefixlen 64 scopeid 0x20 inet6 2804:5500:0:8401:a00:27ff:fe47:71be prefixlen 64 scopeid 0x0
ether 08:00:27:47:71:be txqueuelen 1000 (Ethernet)
RX packets 1557 bytes 196338 (196.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1244 bytes 192594 (192.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 base 0xd240

lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 12 bytes 720 (720.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 720 (720.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[email protected]:~#

 

Previous [ubuntu] Problem with monitor display suddenly "distorted"
Next Issue with ALSA and PulseAudio
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

[ubuntu] Trying to run shell script automatically after flash drive mounts

I found this very old thread on askubuntu.com, and have tried to follow the systemd service solution given in it as closely as I can, but (a) I realize things

Ubuntu Dsicussions 0 Comments

[kubuntu] mysql direct connector no more working

After upgrading to (k)ubuntu 20.04, both with LibreOffice 6.4. and LibreOffice 7, mysql direct connector doesn’t work any more (unlike in (k)ubuntu 18.04 and LO 6.0). Mysql (mariadb, installed with

Ubuntu Dsicussions 0 Comments

[ubuntu] 16.04 LTS: after driver update freeze on login screen / no network in recovery

I recently tried to update intel drivers on my Acer Aspire ES1-311 to make it recognize an external HDMI monitor. Something must have gone very wrong with that, since now

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply