[Babel-users] Neighbour and router id

Juliusz Chroboczek jch at pps.jussieu.fr
Mon Aug 1 12:02:40 UTC 2011


> I try to associate a neighbour address (fe80::whatever) to a router id.
> 1) Does that make sense? (ie. is it an injection?)

I think you got the (English) syntax wrong.  You're trying to map

  link-local address -> router-id

which does make sense.  (Your sentence above implies the opposite.)

> 2) Assuming it makes sense, I thought a reliable way to recover the
> injection was looking at routes with refmetric = 0: the "via" field
> would give me the interface, it is a neighbour since refmetric = 0 (is
> that correct?), and announced by router "id".

Yep.  (It's correct but not complete.)

> bar/32  96    0     02:18:f3:ff:fe:98:e5:34 fe80::3cc9:fe4d:23a5:9b07  alpha  no

That looks like a bug.  On alpha the route looks as so:

  192.168.4.27/32 metric 96 refmetric 0 id 02:18:f3:ff:fe:98:e5:34 seqno 28754 age 44 via alpha-gamma neigh fe80::b47c:87a4:6f83:d378 nexthop 192.168.4.27 (installed)     

which makes sense, but on huponomos it says

  192.168.4.27/32 metric 96 refmetric 0 id 02:18:f3:ff:fe:98:e5:34 seqno 28754 age 26 via alpha neigh fe80::3cc9:fe4d:23a5:9b07 nexthop 192.168.4.25 (feasible)

which is broken.

Now alpha is running a very old version of OpenWRT, and hence a very old
version of babeld (I've no longer got a working cross-compiler for
alpha), so I'll migrate alpha to a more recent version to see if we can
reproduce it.

-- Juliusz





More information about the Babel-users mailing list