Multiple FIBs on FreeBSD

Leo Vandewoestijne bird at unicycle.net
Thu Feb 22 12:33:29 CET 2018


On Wed, 10 Jan 2018 , Ondrej Zajicek wrote:

> It should work when running in Fib0,
>
It's maybe very basic info, so quite a confession (now good for a laugh);
but I remember when initially learning about fibs, that I learned the hard way that fib 0 is the default,
and that bird is always using it (unless configured different).
Without knowing this my observations were -let's say- odd.


On Sat, 06 Jan 2018, Azerty32 wrote:

>    http://bird.network.cz/pipermail/bird-users/2013-July/003731.html
>    Which status is now about this? BIRD must be running inside Fib0?
> 
I'm 100% sure syncing kernel protocols with fibs is enough.

table t_as1;
table t_as2;

protocol kernel {
	table t_as1;
	kernel table 1;
	export all;
	}

protocol kernel {
	table t_as2;
	kernel table 2;
	export all;
	}

However key in the process is to also seperated your -physical and virtual- interfaces;

ifconfig tap1 fib 1
ifconfig tap2 fib 2
ifconfig tap3 fib 3

Otherwise they're still in fib 0 (not outputted), and logically consequence you then depend on fib 0.

In my use-case -with having one upstream-interface and OoB's- it was easier to simply run in fib 0

So back to your question:

I can confirm setting fibs in bird is functioning.
And probably with and without using `setfib` on daemon.

-- 

Met vriendelijke groet,
With kind regards,


Leo Vandewoestijne
***@dns.company
www.dns.company


More information about the Bird-users mailing list