Re: Setting the source IP for routes injected by bird

2024-02-04 Thread Nico Schottelius via Bird-users
Salut Chris, Chris Caputo writes: > define MY_LOOPBACK = 2001:db8::1; > > protocol kernel > { > [...] > krt_prefsrc = MY_LOOPBACK; > [...] > } this was exactly what I was looking for! I wasn't aware that I can just set krt_prefsrc, that is so nice! Many thanks and greetings from Nieder

Re: Setting the source IP for routes injected by bird

2024-02-02 Thread Chris Caputo
I use this with 1.6.x: define MY_LOOPBACK = 2001:db8::1; protocol kernel { debug { states, interfaces }; persist;# Tell BIRD to leave all its routes in the routing tables when it exits (instead of cleaning them up). scan time 10; # Scan kernel routing table

Setting the source IP for routes injected by bird

2024-02-02 Thread Nico Schottelius via Bird-users
Good evening, I have seen that the static protocol has the attribute "krt_prefsrc" which seems to fit the source IP as seen by the kernel: [18:44] server120.place15:~# ip route get 2001:4860:4860:: 2001:4860:4860:: from :: via 2001:7f8:24::4a dev eth7 proto bird src 2001:7f8:24::ae met