[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ping gateway ok, ping any other local network address fails



Hi,

First, I tried to understand why a single machine among others couldn't print on the local printer.
So I tried to ping the printer and it failed.
The machine could nevertheless surf the web with no problem ...

I paste here a few commands I passed when remotely connected to the problematic machine (sorry for the french locale).
What should I check next ? Ideas ?

Thanks


$ /sbin/ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.50  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::f67f:8a2c:e338:3db4  prefixlen 64  scopeid 0x20<link>
        ether d0:50:99:7a:ae:6f  txqueuelen 1000  (Ethernet)
        RX packets 26166  bytes 6940725 (6.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 33708  bytes 29316822 (29.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Boucle locale)
        RX packets 513  bytes 48788 (48.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 513  bytes 48788 (48.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ ping -c 4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 octets de 192.168.1.1 : icmp_seq=1 ttl=64 temps=0.468 ms
64 octets de 192.168.1.1 : icmp_seq=2 ttl=64 temps=0.435 ms
64 octets de 192.168.1.1 : icmp_seq=3 ttl=64 temps=0.445 ms
64 octets de 192.168.1.1 : icmp_seq=4 ttl=64 temps=0.427 ms

--- statistiques ping 192.168.1.1 ---
4 paquets transmis, 4 reçus, 0 % paquets perdus, temps 3068 ms
rtt min/avg/max/mdev = 0.427/0.443/0.468/0.015 ms


$ ping -c 4 192.168.1.20
PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data.
De 192.168.1.50 icmp_seq=1 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=2 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=3 Hôte de destination injoignable
De 192.168.1.50 icmp_seq=4 Hôte de destination injoignable

--- statistiques ping 192.168.1.20 ---
4 paquets transmis, 0 reçus, +4 erreurs, 100 % paquets perdus, temps 3048 ms
 tuyau 3



$ netstat -r
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt Iface default         msbr.home       0.0.0.0         UG        0 0          0 enp2s0 link-local      0.0.0.0         255.255.0.0     U         0 0          0 enp2s0 192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 enp2s0


$ ping -c 4 msbr.home
PING msbr.home (192.168.1.1) 56(84) bytes of data.
64 octets de msbr.home (192.168.1.1) : icmp_seq=1 ttl=64 temps=0.412 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=2 ttl=64 temps=0.447 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=3 ttl=64 temps=0.415 ms
64 octets de msbr.home (192.168.1.1) : icmp_seq=4 ttl=64 temps=0.436 ms

--- statistiques ping msbr.home ---
4 paquets transmis, 4 reçus, 0 % paquets perdus, temps 3059 ms
rtt min/avg/max/mdev = 0.412/0.427/0.447/0.014 ms


$ sudo iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source destination


$ groups
administration adm cdrom sudo dip plugdev lpadmin sambashare





Reply to: