datocp
2022-01-18 14:53:02 +08:00
root@2L3:~# batctl tg
[B.A.T.M.A.N. adv openwrt-2018.1-13, MainIF/MAC: mesh5/b4:fb:e4:f6:a0:6b (bat0/be:38:11:56:a2:8c BATMAN_IV)]
Client VID Flags Last ttvn Via ttvn (CRC )
* 56:ce:70:ee:72:57 0 [....] ( 0) b4:fb:e4:f6:9c:bf (222) (0xc118485d)
root@2L3:~# batctl o
[B.A.T.M.A.N. adv openwrt-2018.1-13, MainIF/MAC: mesh5/b4:fb:e4:f6:a0:6b (bat0/be:38:11:56:a2:8c BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF]
* b4:fb:e4:f6:9c:bf 0.300s (250) b4:fb:e4:f6:9c:bf [ mesh5]
root@2L3:~# batctl n
[B.A.T.M.A.N. adv openwrt-2018.1-13, MainIF/MAC: mesh5/b4:fb:e4:f6:a0:6b (bat0/be:38:11:56:a2:8c BATMAN_IV)]
IF Neighbor last-seen
mesh5 b4:fb:e4:f6:9c:bf 0.400s
root@2L3:~# batctl tr 56:ce:70:ee:72:57
traceroute to 56:ce:70:ee:72:57 (b4:fb:e4:f6:9c:bf), 50 hops max, 20 byte packets
1: b4:fb:e4:f6:9c:bf 0.908 ms 0.474 ms 0.737 ms
root@2L3:~# ifconfig
bat0 Link encap:Ethernet HWaddr BE:38:11:56:A2:8C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2215 errors:0 dropped:0 overruns:0 frame:0
TX packets:245020 errors:0 dropped:21314 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95878 (93.6 KiB) TX bytes:24837742 (23.6 MiB)
mesh5 Link encap:Ethernet HWaddr B4:FB:E4:F6:A0:6B
UP BROADCAST RUNNING MULTICAST MTU:1532 Metric:1
RX packets:624168 errors:0 dropped:0 overruns:0 frame:0
TX packets:646431 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:86021521 (82.0 MiB) TX bytes:104603056 (99.7 MiB)