[Babel-users] default route weirdness

Dave Taht dave.taht at gmail.com
Tue Oct 2 22:44:51 BST 2018


On Sat, Sep 29, 2018 at 3:36 PM Juliusz Chroboczek <jch at irif.fr> wrote:
>
> > deploying 18.06.1 (with 1.8.2) on the remaining 4 routers on that
> > portion of the topology made an enormous jump in reliability.
>
> Good to hear that, and sorry for the bug in 1.8.0.

Regrettably I'm no longer sure it's fixed in 1.8.3. I setup the lab and
distributed 1.8.3 to everything in the lab - I think - (I still have
some 1.8.0 on campus)

This is what I see:
labgw: arm :a01c
couchgw: mips :a353

                   switch
comcast <---- labgw --------------------------- couchgw ----> campus

(I have 3 other boxes on this running 1.8.3 but I'll go nail it down
to just two boxes)

I fire up babeld 1.8.3 on labgw. Life is good:

d at dancer:~/git/babeld$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'

add route ec8d50 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 96 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route ec7f10 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::230:18ff:fec9:de9c if eno1
add route ecdad0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::225:90ff:fec1:6252 if eno1
add route ec6550 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::46d9:e7ff:fe93:822e if eno1

I fire up babeld 1.8.3 on couch. Life goes to hell as somehow the
refmetric and metric grow for no reason I can think of... there should
be
no way the metric for a01c should get modified by anything else here??

d at dancer:~/git/babeld$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route ec8d50 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
a2:21:b7:ff:fe:ac:e4:55 metric 512 refmetric 416 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route ec7f10 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 608 refmetric 512 via
fe80::230:18ff:fec9:de9c if eno1
add route ecdad0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 608 refmetric 512 via
fe80::225:90ff:fec1:6252 if eno1
add route ec6550 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 608 refmetric 512 via
fe80::46d9:e7ff:fe93:822e if eno1
add route ec7780 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::e091:f5ff:febe:a353 if eno1

I don't understand why the a01c route would get a different metric and
refmetric by merely firing up another box. It should have stayed
stable, yes?

I wait a bit and they go down a bit.

add route ec7780 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
a2:21:b7:ff:fe:ac:e4:55 metric 320 refmetric 224 via
fe80::e091:f5ff:febe:a353 if eno1
add route ec8d50 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route ec7f10 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::230:18ff:fec9:de9c if eno1
add route ecdad0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::225:90ff:fec1:6252 if eno1
add route ec6550 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::46d9:e7ff:fe93:822e if eno1

I restart babeld on the labgw

d at dancer:~/git/babeld$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route ec7780 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
a2:21:b7:ff:fe:ac:e4:55 metric 320 refmetric 224 via
fe80::e091:f5ff:febe:a353 if eno1
add route ec7f10 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::230:18ff:fec9:de9c if eno1
add route ecdad0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::225:90ff:fec1:6252 if eno1
add route ec6550 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::46d9:e7ff:fe93:822e if eno1
add route ec9330 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 416 refmetric 320 via
fe80::f6f2:6dff:feb6:a01c if eno1

and wait a bit... nothing changes

I shut down the couch box

d at dancer:~/git/babeld$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route ec7f10 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
a2:21:b7:ff:fe:ac:e4:55 metric 512 refmetric 416 via
fe80::230:18ff:fec9:de9c if eno1
add route ecdad0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 65535 refmetric 65535 via
fe80::225:90ff:fec1:6252 if eno1
add route ec6550 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 65535 refmetric 65535 via
fe80::46d9:e7ff:fe93:822e if eno1
add route ec9330 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
a2:21:b7:ff:fe:ac:e4:55 metric 65535 refmetric 65535 via
fe80::f6f2:6dff:feb6:a01c if eno1

wait 2 minutes...

add route ec9330 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 65535 refmetric 65535 via
fe80::f6f2:6dff:feb6:a01c if eno1

???

Then, we're all happy again

d at dancer:~/git/babeld$ echo dump | nc ::1 33123 | grep 'prefix 0.0.0.0'
add route ec9330 prefix 0.0.0.0/0 from 0.0.0.0/0 installed yes id
f6:f2:6d:ff:fe:b6:a0:1d metric 96 refmetric 0 via
fe80::f6f2:6dff:feb6:a01c if eno1
add route ecce90 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::230:18ff:fec9:de9c if eno1
add route ec9d90 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::46d9:e7ff:fe93:822e if eno1
add route ec9df0 prefix 0.0.0.0/0 from 0.0.0.0/0 installed no id
f6:f2:6d:ff:fe:b6:a0:1d metric 192 refmetric 96 via
fe80::225:90ff:fec1:6252 if eno1






>
> -- Juliusz



-- 

Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619



More information about the Babel-users mailing list