[Babel-users] Debugging unreachable routes - IPv6 as next hop?

yanosz babel at yanosz.net
Sun Feb 19 16:22:31 UTC 2017


Hello,

Using Lede 17.01 rc 2 and OpenWRT CC I get some unreachable routes.
I'm somewhat puzzled. The setup contains 2 nodes sharing a wireless
ad-hoc link.

- Node using OpenWRT CC and babel 1.7 - wlan0 is 10.159.69.1/32
- Node-2 using Lede and babel 1.8 - wlan0 is 10.159.64.1/32

I'm at Node-2 ( having 10.159.64.1 on wlan0. Looking at its routing
table there is:

root at Node-2:~# ip route show table 66
10.159.64.0/24 dev br-freifunk  proto static  scope link
10.159.64.1 dev wlan0  proto static  scope link
unreachable 10.159.69.0/24  proto babel  metric 4294967295 onlink
unreachable 10.159.69.1  proto babel  metric 4294967295 onlink

This surprising: 10.159.64.1 is correct - this is Node-2's address. But
why is 10.159.69.1 marked as "unreachable"? It is advertised by its
neighbor:

The Log says:
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]:
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: My id
66:70:02:ff:fe:5d:a7:44 seqno 4766
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: Neighbour
fe80::227:22ff:fe2e:4153 dev wlan0 reach ffff rxcost 256 txcost 65535
rtt 0.000 rttcost 0 chan 1.
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]:
fdd3:5d16:b5dd:f064::/64 metric 0 (exported)
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: 10.159.64.0/24 metric
0 (exported)
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: 10.159.64.1/32 metric
0 (exported)
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: 10.159.69.0/24 metric
65535 (65535) refmetric 0 id 02:27:22:ff:fe:2f:41:53 seqno 31113 age 2
via wlan0 neigh fe80::227:22ff:fe2e:4153 nexthop 10.159.69.1 (installed)
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]: 10.159.69.1/32 metric
65535 (65535) refmetric 0 id 02:27:22:ff:fe:2f:41:53 seqno 31113 age 2
via wlan0 neigh fe80::227:22ff:fe2e:4153 nexthop 10.159.69.1 (installed)
Sun Feb 19 17:15:45 2017 daemon.info babeld[1171]:
fdd3:5d16:b5dd:f045::/64 metric 65535 (65535) refmetric 0 id
02:27:22:ff:fe:2f:41:53 seqno 31113 age 2 via wlan0 neigh
fe80::227:22ff:fe2e:4153 (installed)

Afair I got this setup working using OpenWRT CC onyl - but I'm not sure.
Maybe this issue is introduced in OpenWRT / lede

Greetz, Jan

-- 
For those of you without hope, we have rooms with color TV,
cable and air conditioning



More information about the Babel-users mailing list