Bird within netns (no OS routing table injection with BGP)
Hi all, I'm trying to use bird within netns with something like "ip netns exec foo bird". I can see received routes in "show route" but the injection in the OS routing table is not done. Strangely, static routes are correctly injected. With BGP routes I have no particulary debug messages, except "Netlink: Invalid argument" with bird6. Using Quagga, routes are correctly injected inside netns. Any idea about that problem? * Bird 1.3.7-1 * GNU/Linux (Debian Wheezy) Regards, ju.
Julien, On 2 Nov 2013, at 13:17, Julien VAUBOURG wrote:
Hi all,
I'm trying to use bird within netns with something like "ip netns exec foo bird".
I can see received routes in "show route" but the injection in the OS routing table is not done.
Strangely, static routes are correctly injected. With BGP routes I have no particulary debug messages, except "Netlink: Invalid argument" with bird6.
Using Quagga, routes are correctly injected inside netns.
Any idea about that problem?
* Bird 1.3.7-1 * GNU/Linux (Debian Wheezy)
I've not used "ip netns exec" but I have successfully used unshare -n to do this. -- Alex Bligh
Le 2013-11-02 20:43, Alex Bligh a écrit :
[...] I've not used "ip netns exec" but I have successfully used unshare -n to do this.
Unshare seems to do the same work as netns with ip, but less conveniently ;). But I have a good news: the problem was inside our BGP config and due to a krt_prefsrc not defined inside the same netns. So thank you, bird works well inside netns :). ju.
participants (2)
-
Alex Bligh -
Julien VAUBOURG