baldoz
04-10-2007, 16:28
Ciao a tutti ,
sto indagando su un problema che ho su un server (debian 4.0).
Finchè si tratta di usarlo in rete locale, nessun problema.
Quando tento di uscire dalla rete locale, non funziona. (Gli altri PC che usano lo stesso gateway in uscita, non hanno alcun problema).
Ecco un esempio di un PING verso tale gateway:
gdmserver:~# ping 10.64.1.1
PING 10.64.1.1 (10.64.1.1) 56(84) bytes of data.
64 bytes from 10.64.1.1: icmp_seq=70 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=71 ttl=64 time=1.59 ms
64 bytes from 10.64.1.1: icmp_seq=72 ttl=64 time=1.85 ms
64 bytes from 10.64.1.1: icmp_seq=73 ttl=64 time=1.23 ms
64 bytes from 10.64.1.1: icmp_seq=74 ttl=64 time=1.36 ms
64 bytes from 10.64.1.1: icmp_seq=75 ttl=64 time=1.84 ms
64 bytes from 10.64.1.1: icmp_seq=130 ttl=64 time=1.74 ms
64 bytes from 10.64.1.1: icmp_seq=131 ttl=64 time=0.995 ms
64 bytes from 10.64.1.1: icmp_seq=132 ttl=64 time=1.24 ms
64 bytes from 10.64.1.1: icmp_seq=133 ttl=64 time=1.53 ms
64 bytes from 10.64.1.1: icmp_seq=134 ttl=64 time=1.53 ms
64 bytes from 10.64.1.1: icmp_seq=190 ttl=64 time=1.19 ms
64 bytes from 10.64.1.1: icmp_seq=191 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=192 ttl=64 time=1.68 ms
64 bytes from 10.64.1.1: icmp_seq=193 ttl=64 time=1.05 ms
64 bytes from 10.64.1.1: icmp_seq=194 ttl=64 time=1.30 ms
64 bytes from 10.64.1.1: icmp_seq=250 ttl=64 time=1.67 ms
64 bytes from 10.64.1.1: icmp_seq=251 ttl=64 time=0.950 ms
64 bytes from 10.64.1.1: icmp_seq=252 ttl=64 time=1.15 ms
64 bytes from 10.64.1.1: icmp_seq=253 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=254 ttl=64 time=1.73 ms
64 bytes from 10.64.1.1: icmp_seq=310 ttl=64 time=1.17 ms
64 bytes from 10.64.1.1: icmp_seq=311 ttl=64 time=1.32 ms
64 bytes from 10.64.1.1: icmp_seq=312 ttl=64 time=1.52 ms
64 bytes from 10.64.1.1: icmp_seq=313 ttl=64 time=0.818 ms
64 bytes from 10.64.1.1: icmp_seq=314 ttl=64 time=1.26 ms
64 bytes from 10.64.1.1: icmp_seq=370 ttl=64 time=1.47 ms
64 bytes from 10.64.1.1: icmp_seq=371 ttl=64 time=1.68 ms
64 bytes from 10.64.1.1: icmp_seq=372 ttl=64 time=0.967 ms
64 bytes from 10.64.1.1: icmp_seq=373 ttl=64 time=1.28 ms
64 bytes from 10.64.1.1: icmp_seq=374 ttl=64 time=1.57 ms
--- 10.64.1.1 ping statistics ---
408 packets transmitted, 31 received, 92% packet loss, time 406972ms
rtt min/avg/max/mdev = 0.818/1.391/1.853/0.272 ms
gdmserver:~#
Quello che mi lascia basito è che c'è una logica dietro questo packet loss!!
Ossia:
1. i primi 70 falliscono
2. 5 successi
3. 55 fallimenti
4. ritorna al punto 2.
Come si può spiegare? (osservate icmp_seq)
Chiaramente questo problema di connettività verso il router si riflette anche verso qualsiasi indirizzo esterno.
Esempio:
gdmserver:~# ping www.google.it
PING www.l.google.com (209.85.129.104) 56(84) bytes of data.
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=1 ttl=244 time=31.8 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=2 ttl=244 time=38.4 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=3 ttl=244 time=29.8 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=4 ttl=244 time=30.0 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=5 ttl=244 time=30.3 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=57 ttl=244 time=29.4 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=58 ttl=244 time=29.7 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=59 ttl=244 time=30.0 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=60 ttl=244 time=30.3 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=61 ttl=244 time=29.6 ms
--- www.l.google.com ping statistics ---
89 packets transmitted, 10 received, 88% packet loss, time 87998ms
rtt min/avg/max/mdev = 29.483/30.975/38.470/2.580 ms
Mi ritengo abbastanza esperto ma questo problema di pura connettività mi lascia senza idee.
Qualche input?
Grazie mille!!!!!!!!
sto indagando su un problema che ho su un server (debian 4.0).
Finchè si tratta di usarlo in rete locale, nessun problema.
Quando tento di uscire dalla rete locale, non funziona. (Gli altri PC che usano lo stesso gateway in uscita, non hanno alcun problema).
Ecco un esempio di un PING verso tale gateway:
gdmserver:~# ping 10.64.1.1
PING 10.64.1.1 (10.64.1.1) 56(84) bytes of data.
64 bytes from 10.64.1.1: icmp_seq=70 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=71 ttl=64 time=1.59 ms
64 bytes from 10.64.1.1: icmp_seq=72 ttl=64 time=1.85 ms
64 bytes from 10.64.1.1: icmp_seq=73 ttl=64 time=1.23 ms
64 bytes from 10.64.1.1: icmp_seq=74 ttl=64 time=1.36 ms
64 bytes from 10.64.1.1: icmp_seq=75 ttl=64 time=1.84 ms
64 bytes from 10.64.1.1: icmp_seq=130 ttl=64 time=1.74 ms
64 bytes from 10.64.1.1: icmp_seq=131 ttl=64 time=0.995 ms
64 bytes from 10.64.1.1: icmp_seq=132 ttl=64 time=1.24 ms
64 bytes from 10.64.1.1: icmp_seq=133 ttl=64 time=1.53 ms
64 bytes from 10.64.1.1: icmp_seq=134 ttl=64 time=1.53 ms
64 bytes from 10.64.1.1: icmp_seq=190 ttl=64 time=1.19 ms
64 bytes from 10.64.1.1: icmp_seq=191 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=192 ttl=64 time=1.68 ms
64 bytes from 10.64.1.1: icmp_seq=193 ttl=64 time=1.05 ms
64 bytes from 10.64.1.1: icmp_seq=194 ttl=64 time=1.30 ms
64 bytes from 10.64.1.1: icmp_seq=250 ttl=64 time=1.67 ms
64 bytes from 10.64.1.1: icmp_seq=251 ttl=64 time=0.950 ms
64 bytes from 10.64.1.1: icmp_seq=252 ttl=64 time=1.15 ms
64 bytes from 10.64.1.1: icmp_seq=253 ttl=64 time=1.45 ms
64 bytes from 10.64.1.1: icmp_seq=254 ttl=64 time=1.73 ms
64 bytes from 10.64.1.1: icmp_seq=310 ttl=64 time=1.17 ms
64 bytes from 10.64.1.1: icmp_seq=311 ttl=64 time=1.32 ms
64 bytes from 10.64.1.1: icmp_seq=312 ttl=64 time=1.52 ms
64 bytes from 10.64.1.1: icmp_seq=313 ttl=64 time=0.818 ms
64 bytes from 10.64.1.1: icmp_seq=314 ttl=64 time=1.26 ms
64 bytes from 10.64.1.1: icmp_seq=370 ttl=64 time=1.47 ms
64 bytes from 10.64.1.1: icmp_seq=371 ttl=64 time=1.68 ms
64 bytes from 10.64.1.1: icmp_seq=372 ttl=64 time=0.967 ms
64 bytes from 10.64.1.1: icmp_seq=373 ttl=64 time=1.28 ms
64 bytes from 10.64.1.1: icmp_seq=374 ttl=64 time=1.57 ms
--- 10.64.1.1 ping statistics ---
408 packets transmitted, 31 received, 92% packet loss, time 406972ms
rtt min/avg/max/mdev = 0.818/1.391/1.853/0.272 ms
gdmserver:~#
Quello che mi lascia basito è che c'è una logica dietro questo packet loss!!
Ossia:
1. i primi 70 falliscono
2. 5 successi
3. 55 fallimenti
4. ritorna al punto 2.
Come si può spiegare? (osservate icmp_seq)
Chiaramente questo problema di connettività verso il router si riflette anche verso qualsiasi indirizzo esterno.
Esempio:
gdmserver:~# ping www.google.it
PING www.l.google.com (209.85.129.104) 56(84) bytes of data.
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=1 ttl=244 time=31.8 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=2 ttl=244 time=38.4 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=3 ttl=244 time=29.8 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=4 ttl=244 time=30.0 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=5 ttl=244 time=30.3 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=57 ttl=244 time=29.4 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=58 ttl=244 time=29.7 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=59 ttl=244 time=30.0 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=60 ttl=244 time=30.3 ms
64 bytes from fk-in-f104.google.com (209.85.129.104): icmp_seq=61 ttl=244 time=29.6 ms
--- www.l.google.com ping statistics ---
89 packets transmitted, 10 received, 88% packet loss, time 87998ms
rtt min/avg/max/mdev = 29.483/30.975/38.470/2.580 ms
Mi ritengo abbastanza esperto ma questo problema di pura connettività mi lascia senza idee.
Qualche input?
Grazie mille!!!!!!!!