[Babel-users] default route weirdness

Dave Taht dave.taht at gmail.com
Wed Oct 3 15:06:02 BST 2018


So I reverted those two boxes (couch and labgw) to 1.7.1 (they are arm
and mips respectively). No matter in which order I restart the
daemons, the refmetric is set properly to 0, and the metric falls to
256 after a couple hellos, making the lab always be the correct
default gw.

so I am assuming there is a change (bug?) in a calculation on the
refmetric since 1.7.1. The only puzzling thing
about this set of events is that *same exact babel configuration for
1.8.3 and 1.7.1* I get a metric 96 refmetric 0
if I only have one major speaker (the labgw) and the weird refmetric
inflation I noted on the prior email,

... and a consistent metric 256 refmetric 0... with two 1.7.1 speakers
(watching with an 1.8.3 speaker, going to
kill that next)

 echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route 93d990 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 256 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route 937f60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 352 refmetric 256 via
fe80::230:18ff:fec9:de9c if eno1
add route 938e60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 352 refmetric 256 via
fe80::46d9:e7ff:fe93:822e if eno1
add route 941a70 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 320 refmetric 224 via
fe80::e091:f5ff:febe

I kill the couche babel

d at dancer:~/git$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route 93d1f0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 256 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route 937f60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 352 refmetric 256 via
fe80::230:18ff:fec9:de9c if eno1
add route 938e60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 352 refmetric 256 via
fe80::46d9:e7ff:fe93:822e if eno1

Restart the labgw - this result totally makes sense to me, for a couple hellos,

d at dancer:~/git$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route 93d1f0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 511 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route 937f60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 703 refmetric 607 via
fe80::230:18ff:fec9:de9c if eno1
add route 938e60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 607 refmetric 511 via
fe80::46d9:e7ff:fe93:822e if eno1

Which then evolves back to this:

d at dancer:~/git$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route 93d1f0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 256 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route 937f60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 369 refmetric 273 via
fe80::230:18ff:fec9:de9c if eno1
add route 938e60 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 352 refmetric 256 via
fe80::46d9:e7ff:fe93:822e if eno1



More information about the Babel-users mailing list