Skip to contentSkip to conversation

Bad link via ethernet using two tl-wr1043nd ports

B.A.T.M.A.N. Ilario Gelmetti 1 participant 1 message Jun 22, 2014

lore
Share & tools
lore
#0 lore raw

Hi all!
I'm using OpenWrt trunk (r41296) with batman-adv (2014.2.0) on a TP-Link WR1043ND using this network configuration file:
http://sprunge.us/SVCI
as you can see batman is running on ports number 1 (eth0.3) and number 3 (eth0.4).

 root@OpenWrt:~# batctl if
 eth0.3: active
 eth0.4: active

I connect this router via ethernet cable to another device running batman-adv (2014.2.0).
Looking at the link quality with "batctl o" I noticed that sometimes the link quality is poor using a port and good using the other one port. The good and the bad port aren't fixed, they switch randomly, so I tend to exclude an hardware problem. I connected the batman device to port 1 (eth0.3) and laptop on port 3 (eth0.4) and the quality of the batman link changes from one boot to another:

 root@OpenWrt:~# batctl o
 [B.A.T.M.A.N. adv 2014.2.0, MainIF/MAC: eth0.3/10:fe:ed:7f:3e:80 (bat0
BATMAN_IV)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:
Potential nexthops ...
 dc:9f:db:2c:e4:34    0.700s   (255) dc:9f:db:2d:e4:34 [    eth0.3]:
dc:9f:db:2d:e4:34 (255)
 dc:9f:db:2d:e4:34    0.360s   (255) dc:9f:db:2d:e4:34 [    eth0.3]:
dc:9f:db:2d:e4:34 (255)

-----reboot & wait some minutes-----
good, 255
-----reboot & wait some minutes-----

 root@OpenWrt:~# batctl o
 [B.A.T.M.A.N. adv 2014.2.0, MainIF/MAC: eth0.4/10:fe:ed:7f:3e:80 (bat0
BATMAN_IV)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:
Potential nexthops ...
 dc:9f:db:2c:e4:34    0.680s   (119) dc:9f:db:2d:e4:34 [    eth0.3]:
dc:9f:db:2d:e4:34 (119)
 dc:9f:db:2d:e4:34    0.580s   (119) dc:9f:db:2d:e4:34 [    eth0.3]:
dc:9f:db:2d:e4:34 (119)

-----reboot & wait some minutes-----
good, 255
-----reboot & wait some minutes-----
bad, ~129
-----reboot & wait some minutes-----
bad, ~139
-----reboot & wait some minutes-----
bad, ~131
-----reboot & wait some minutes-----
good, 255

Thanks,
Ilario

Signature · 3 lines
Ilario Gelmetti
[email protected]
[email protected]