Pages : 1
#1 Le 28/09/2016, à 09:42
- al37350
Ping ne répond pas
Bonjour,
J'ai un soucis avec un apt-get update, install etc car je ne peux ping aucun site. J'arrive cependant à ping ma passerelle.
Linux labulle 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:5d:79:09:03
inet addr:192.168.121.15 Bcast:192.168.121.255 Mask:255.255.255.0
inet6 addr: fe80::215:5dff:fe79:903/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3116 errors:0 dropped:27 overruns:0 frame:0
TX packets:331 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:360661 (360.6 KB) TX bytes:47922 (47.9 KB)
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.121.15
netmask 255.255.255.0
gateway 192.168.121.1
/etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
nameserver 192.168.121.1
root@labulle:/etc/network# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
root@labulle:/etc/network# ping google.com
PING google.com (216.58.208.238) 56(84) bytes of data.
^C
--- google.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5013ms
root@labulle:/etc/network# ping 192.168.121.1
PING 192.168.121.1 (192.168.121.1) 56(84) bytes of data.
64 bytes from 192.168.121.1: icmp_seq=1 ttl=64 time=0.382 ms
64 bytes from 192.168.121.1: icmp_seq=2 ttl=64 time=0.377 ms
64 bytes from 192.168.121.1: icmp_seq=3 ttl=64 time=0.405 ms
Je ne vois vraiment pas de quoi cela peut venir.
Merci de votre aide
Hors ligne
#2 Le 28/09/2016, à 10:49
- Brunod
Re : Ping ne répond pas
Regarde du côté de ta passerelle si elle sait sortir. Pas de firewall sur ton pc ?
Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis
Hors ligne
#3 Le 28/09/2016, à 11:07
- biloute_c
Re : Ping ne répond pas
salut
tente comme ceci dans /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.121.15
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.121.255
gateway 192.168.121.1
nameservers x.x.x.x (dns de ton fai)
et comme dis Brunod,si tu a un pare feu faudra modifier un fichier
Dernière modification par biloute_c (Le 28/09/2016, à 11:10)
Hors ligne
Pages : 1