Ubuntu 16.04.3 LTS sem acesso à Internet

2

Oi tudo que eu tenho rodando o Ubuntu Server 16.04 no meu servidor headless por vários meses sem problema, recentemente eu levei o servidor offline para alguns limpeza de rotina & amp; substituiu uma PSU, após a inicialização de volta por algum motivo, o servidor não tem conexão de internet de saída aqui são os resultados de alguns testes

ben@ubuntu:~$ ping -c5 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=23.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=23.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=23.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=23.3 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=55 time=29.9 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 23.396/24.844/29.937/2.556 ms

tentando fazer ping em um nome de host

ben@ubuntu:~$ ping www.cisco.com -c 1 -s 1472 -M do
ping: unknown host www.cisco.com
ben@ubuntu:~$

Entre no site www.cisco.com via endereço IP

ben@ubuntu:~$ ping -c5 23.204.15.199
PING 23.204.15.199 (23.204.15.199) 56(84) bytes of data.
64 bytes from 23.204.15.199: icmp_seq=1 ttl=46 time=229 ms
64 bytes from 23.204.15.199: icmp_seq=2 ttl=46 time=229 ms
64 bytes from 23.204.15.199: icmp_seq=3 ttl=46 time=239 ms
64 bytes from 23.204.15.199: icmp_seq=4 ttl=46 time=229 ms
64 bytes from 23.204.15.199: icmp_seq=5 ttl=46 time=229 ms

conteúdo do resolv.conf

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53

conteúdo de if config

ben@ubuntu:~$ ifconfig
enp8s0    Link encap:Ethernet  HWaddr 00:1e:67:51:8e:8c
          inet addr:192.168.0.251  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:67ff:fe51:8e8c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:20820 errors:0 dropped:50 overruns:0 frame:0
          TX packets:16017 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4243433 (4.2 MB)  TX bytes:4596251 (4.5 MB)
          Interrupt:16 Memory:c2300000-c2320000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:18434 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18434 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:2225861 (2.2 MB)  TX bytes:2225861 (2.2 MB)

conteúdo de / etc / network / interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp8s0
iface enp8s0 inet static
address 192.168.0.251
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4

conteúdo de / etc / hosts

127.0.0.1       localhost
127.0.1.1       ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Posso usar o SSH na caixa do meu celular usando a conexão 4G (fora da minha rede local)

Qualquer ideia, o sistema está funcionando muito bem agora, de repente, sem acesso à Internet,

Obrigado

-Ben

    
por gimpacause 19.11.2017 / 04:07

0 respostas