Advertisement
Guest User

batman majareta tt logs

a guest
Jul 22nd, 2012
39
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.53 KB | None
  1. ### Before ###
  2. ### colmena-gw batpings myl fine, but can't L3 ping
  3. ### while charly can both batping and L3 ping
  4.  
  5. root@colmena-gw:~# batctl ping myl
  6. PING myl (fa:d1:11:3b:6e:a4) 20(48) bytes of data
  7. 20 bytes from myl icmp_seq=1 ttl=46 time=14.20 ms
  8. 20 bytes from myl icmp_seq=2 ttl=46 time=10.08 ms
  9. 20 bytes from myl icmp_seq=3 ttl=46 time=14.11 ms
  10.  
  11. root@colmena-gw:~# ping myl
  12. PING myl (2001:1291:200:8347:fad1:11ff:fe3b:6ea1): 56 data bytes
  13. .........(no replies).........
  14.  
  15. root@charly:~# batctl ping myl
  16. PING myl (fa:d1:11:3b:6e:a4) 20(48) bytes of data
  17. 20 bytes from myl icmp_seq=1 ttl=48 time=3.66 ms
  18. 20 bytes from myl icmp_seq=2 ttl=48 time=6.14 ms
  19. 20 bytes from myl icmp_seq=3 ttl=48 time=4.88 ms
  20.  
  21. root@charly:~# ping myl
  22. PING myl (2001:1291:200:8347:fad1:11ff:fe3b:6ea1): 56 data bytes
  23. 64 bytes from 2001:1291:200:8347:fad1:11ff:fe3b:6ea1: seq=0 ttl=64 time=26.849 ms
  24. 64 bytes from 2001:1291:200:8347:fad1:11ff:fe3b:6ea1: seq=1 ttl=64 time=8.020 ms
  25. 64 bytes from 2001:1291:200:8347:fad1:11ff:fe3b:6ea1: seq=2 ttl=64 time=7.823 ms
  26.  
  27. ### This is how tt looked at colmena-gw while unable to L3 ping
  28. root@colmena-gw:~# batctl tl
  29. Locally retrieved addresses (from bat0) announced via TT (TTVN: 15):
  30.  * 00:25:d3:f5:93:76 [....W]
  31.  * colmena-casa_eth0 [.....]
  32.  *   colmena-gw_eth0 [.....]
  33.  * 02:ab:82:25:b7:21 [.P...]
  34. root@colmena-gw:~# batctl tg
  35. Globally announced TT entries received via the mesh bat0
  36.        Client        (TTVN)       Originator      (Curr TTVN) Flags
  37.  * 1a:da:e0:ae:98:da  ( 34) via              ruth     ( 35)   [..]
  38.  * 8e:c7:4f:75:66:0f  ( 32) via           hquilla     ( 32)   [..]
  39.  * 06:15:b6:53:9d:1b  ( 73) via            charly     ( 75)   [..]
  40.  *    bettyboop_eth0  (181) via         bettyboop     (181)   [..]
  41.  * aa:f4:a8:2b:79:4e  ( 31) via               myl     ( 31)   [..]
  42.  *       charly_eth0  ( 75) via            charly     ( 75)   [..]
  43.  * 00:16:44:7f:35:a3  ( 74) via            charly     ( 75)   [.W]
  44.  * 00:f4:b9:24:a0:bb  (180) via         bettyboop     (181)   [..]
  45.  * 0a:e4:d8:d0:14:c9  (180) via         bettyboop     (181)   [..]
  46.  * 00:f4:b9:24:32:be  ( 73) via            charly     ( 75)   [..]
  47.  * 00:24:81:4b:ea:6d  ( 73) via            charly     ( 75)   [..]
  48.  * 1c:6f:65:57:49:d8  ( 34) via              ruth     ( 35)   [..]
  49.  *         ruth_eth0  ( 35) via              ruth     ( 35)   [..]
  50.  
  51. ### tt logs
  52. ### fa:d1:11:3b:6e:a4 = myl wlan0-2 (ibss) interface, main bat0 if
  53. ### f8:d1:11:3b:6e:a1 = myl_eth0
  54. root@charly:~# batctl ll tt
  55. root@charly:~# batctl l
  56. [  34478350] Creating new global tt entry: myl_eth0 (via fa:d1:11:3b:6e:a4)
  57. (^ this was logged the moment I started "ping myl" from charly)
  58. (the next two lines were synchronous with colmena-gw time 29359870)
  59. [  34529940] Received TT_REQUEST from colmena-casa for ttvn: 32 (fa:d1:11:3b:6e:a4) [.]
  60. [  34529940] Sending TT_RESPONSE colmena-casa via colmena-casa for myl (ttvn: 32)
  61.  
  62. root@colmena-gw:~# batctl ll tt
  63. root@colmena-gw:~# batctl l
  64. [  29359870] TT inconsistency for fa:d1:11:3b:6e:a4. Need to retrieve the correct information (ttvn: 32 last_ttvn: 31 crc: 36906 last_crc: 4954 num_changes: 0)
  65. [  29359870] Sending TT_REQUEST to myl via colmena-casa [.]
  66. [  29359870] Received TT_RESPONSE from myl for ttvn 32 t_size: 1 [.]
  67. [  29359870] Creating new global tt entry: myl_eth0 (via fa:d1:11:3b:6e:a4)
  68.  
  69. ### After ###
  70. ### The myl_eth0 tg row appeared in colmena-gw, and "ping myl" started replying
  71. ### It took about a minute for this to happen
  72.  
  73. root@colmena-gw:~# batctl tg
  74. Globally announced TT entries received via the mesh bat0
  75.        Client        (TTVN)       Originator      (Curr TTVN) Flags
  76.  * 1a:da:e0:ae:98:da  ( 34) via              ruth     ( 35)   [..]
  77.  * 8e:c7:4f:75:66:0f  ( 32) via           hquilla     ( 32)   [..]
  78.  * 06:15:b6:53:9d:1b  ( 73) via            charly     ( 75)   [..]
  79.  *          myl_eth0  ( 32) via               myl     ( 32)   [..]
  80.  *    bettyboop_eth0  (181) via         bettyboop     (181)   [..]
  81.  * aa:f4:a8:2b:79:4e  ( 31) via               myl     ( 32)   [..]
  82.  *       charly_eth0  ( 75) via            charly     ( 75)   [..]
  83.  * 00:16:44:7f:35:a3  ( 74) via            charly     ( 75)   [.W]
  84.  * 00:f4:b9:24:a0:bb  (180) via         bettyboop     (181)   [..]
  85.  * 0a:e4:d8:d0:14:c9  (180) via         bettyboop     (181)   [..]
  86.  * 00:f4:b9:24:32:be  ( 73) via            charly     ( 75)   [..]
  87.  * 00:24:81:4b:ea:6d  ( 73) via            charly     ( 75)   [..]
  88.  * 1c:6f:65:57:49:d8  ( 34) via              ruth     ( 35)   [..]
  89.  *         ruth_eth0  ( 35) via              ruth     ( 35)   [..]
Advertisement
RAW Paste Data Copied
Advertisement