[Bologna] Fwd: [Ninux-Wireless] batman-adv e ping su layer3

ThEgAmEr xthegamerx a gmail.com
Mer 11 Dic 2013 17:45:03 CET


Il routing "a terra" con batman-adv che gira su macchine Linux se po fa!
 :D:D:D

---------- Forwarded message ----------
From: Luca Postregna <luca.postregna a gmail.com>
Date: 2013/12/11
Subject: [Ninux-Wireless] batman-adv e ping su layer3
To: wireless a ml.ninux.org


Ciao,
   attualmente nell'isola iuliinet si fa routing a terra con batman-adv
2013.4.0 , le radio sui tetti hanno tutte airos, nei router a terra c'è chi
ha openwrt e chi gentoo.
Con "batctl o" vedo correttamente tutti i vicini, e se tramite "batctl p"
provo a pingarli trovo tutti intervalli accettabili nell'ordine di qualche
millisecondo, come credo giusto che sia.

*> batctl o*
*[B.A.T.M.A.N. adv 2013.4.0, MainIF/MAC: enp2s0/00:18:7d:0b:b3:32 (bat0)]*
*  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
Potential nexthops ...*
*a0:f3:c1:ac:6c:4d    0.370s   (225) 90:f6:52:f2:8c:2c [    enp2s0]:
90:f6:52:f2:8c:2c (225)*
*a0:f3:c1:ac:6c:5f    0.859s   (198) 90:f6:52:f2:8c:2c [    enp2s0]:
90:f6:52:f2:8c:2c (198)*
*90:f6:52:f2:8c:2c    0.379s   (255) 90:f6:52:f2:8c:2c [    enp2s0]:
90:f6:52:f2:8c:2c (255)*

*> batctl p -c 1 a0:f3:c1:ac:6c:4d*
*PING a0:f3:c1:ac:6c:4d (a0:f3:c1:ac:6c:4d) 20(48) bytes of data*
*20 bytes from a0:f3:c1:ac:6c:4d icmp_seq=1 ttl=49 time=5.36 ms*
*--- a0:f3:c1:ac:6c:4d ping statistics ---*
*1 packets transmitted, 1 received, 0% packet loss*
*rtt min/avg/max/mdev = 5.357/5.357/5.357/0.001 ms*

*> batctl p -c 1 a0:f3:c1:ac:6c:5f*
*PING a0:f3:c1:ac:6c:5f (a0:f3:c1:ac:6c:5f) 20(48) bytes of data*
*20 bytes from a0:f3:c1:ac:6c:5f icmp_seq=1 ttl=48 time=6.64 ms*
*--- a0:f3:c1:ac:6c:5f ping statistics ---*

*1 packets transmitted, 1 received, 0% packet loss*
*rtt min/avg/max/mdev = 6.637/6.637/6.637/0.000 ms*






*> batctl p -c 1 90:f6:52:f2:8c:2cPING 90:f6:52:f2:8c:2c
(90:f6:52:f2:8c:2c) 20(48) bytes of data 20 bytes from 90:f6:52:f2:8c:2c
icmp_seq=1 ttl=50 time=3.34 ms--- 90:f6:52:f2:8c:2c ping statistics ---1
packets transmitted, 1 received, 0% packet loss*
*rtt min/avg/max/mdev = 3.343/3.343/3.343/0.000 ms*


Il problema sorge quando provo il ping su layer3 al nodo [1] su tratta
multihops dove ottengo intervalli di parecchie decine di ms:

*> ping -c 5 10.100.1.2*
*PING 10.100.1.2 (10.100.1.2) 56(84) bytes of data.*
*64 bytes from 10.100.1.2 <http://10.100.1.2>: icmp_seq=1 ttl=64 time=46.0
ms*
*64 bytes from 10.100.1.2 <http://10.100.1.2>: icmp_seq=2 ttl=64 time=46.3
ms*
*64 bytes from 10.100.1.2 <http://10.100.1.2>: icmp_seq=3 ttl=64 time=42.6
ms*
*64 bytes from 10.100.1.2 <http://10.100.1.2>: icmp_seq=4 ttl=64 time=41.1
ms*
*64 bytes from 10.100.1.2 <http://10.100.1.2>: icmp_seq=5 ttl=64 time=40.7
ms*

*--- 10.100.1.2 ping statistics ---*
*5 packets transmitted, 5 received, 0% packet loss, time 4005ms*
*rtt min/avg/max/mdev = 40.777/43.402/46.396/2.390 ms*


è giustificabile questo comportamento? qualcuno ha qualche suggerimento?
Saluti
Luca.


[1] http://map.ninux.org/select/iuliinetcisgui/
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://ml.ninux.org/pipermail/bologna/attachments/20131211/29199a81/attachment-0001.html>


Maggiori informazioni sulla lista Bologna