bird2: channel down in direct protocol
Hi, I would like to import interfaces routes in my bird instance, so I wrote this into my configuration: protocol direct { ipv6; } But the channel is down when I look thought birdc: bird> show protocols all direct1 Name Proto Table State Since Info direct1 Direct --- up 17:42:58.641 Channel ipv6 State: DOWN Table: master6 Preference: 240 Input filter: ACCEPT Output filter: REJECT And of course, I have routes on my interfaces: samis ~ # ip -6 r sh 2a00:5884::/64 dev eth1 proto kernel metric 256 pref medium 2a00:5884:0:5::/64 dev brlxc proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev eth1 proto kernel metric 256 pref medium fe80::/64 dev brlxc proto kernel metric 256 pref medium default via fe80::204:92:100:1 dev eth1 metric 3 pref medium I don’t see anything in the documentation to force a channel to be up. What am I missing? Cheers, -- Alarig
On Sun, Aug 19, 2018 at 06:14:52PM +0200, Alarig Le Lay wrote:
Hi,
I would like to import interfaces routes in my bird instance, so I wrote this into my configuration:
protocol direct { ipv6; }
But the channel is down when I look thought birdc:
bird> show protocols all direct1 Name Proto Table State Since Info direct1 Direct --- up 17:42:58.641 Channel ipv6 State: DOWN Table: master6 Preference: 240 Input filter: ACCEPT Output filter: REJECT
And of course, I have routes on my interfaces:
samis ~ # ip -6 r sh 2a00:5884::/64 dev eth1 proto kernel metric 256 pref medium 2a00:5884:0:5::/64 dev brlxc proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium
And do you have routes in BIRD? This output are routes from kernel, which are here regardless of BIRD.
I don’t see anything in the documentation to force a channel to be up. What am I missing?
It should be UP by default when a protocol is enabled. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi, On mar. 21 août 14:48:49 2018, Ondrej Zajicek wrote:
And do you have routes in BIRD? This output are routes from kernel, which are here regardless of BIRD.
I don’t have the routes for eth1 and brlxc in bird, as the ipv6 channel is down. The kernel1 protocol only imports the default route.
I don’t see anything in the documentation to force a channel to be up. What am I missing?
It should be UP by default when a protocol is enabled.
The protocol is up, but not the channel is not. -- Alarig
On Tue, Aug 21, 2018 at 02:57:31PM +0200, Alarig Le Lay wrote:
Hi,
On mar. 21 août 14:48:49 2018, Ondrej Zajicek wrote:
And do you have routes in BIRD? This output are routes from kernel, which are here regardless of BIRD.
I don’t have the routes for eth1 and brlxc in bird, as the ipv6 channel is down.
The kernel1 protocol only imports the default route.
I don’t see anything in the documentation to force a channel to be up. What am I missing?
It should be UP by default when a protocol is enabled.
The protocol is up, but not the channel is not.
If you restart the protocol does the cahnnel became up? If you restart BIRD will the channel be started as down or up? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On mar. 21 août 15:02:06 2018, Ondrej Zajicek wrote:
If you restart the protocol does the cahnnel became up? If you restart BIRD will the channel be started as down or up?
The channel is up after either a restart of the protocol or the entire bird. bird> restart direct1 direct1: restarted bird> show protocols all direct1 Name Proto Table State Since Info direct1 Direct --- up 15:07:20.289 Channel ipv6 State: UP Table: master6 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 2 imported, 0 exported Route change stats: received rejected filtered ignored accepted Import updates: 2 0 0 0 2 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 samis ~ # rc-service bird restart * Caching service dependencies ... [ ok ] * Stopping BIRD ... [ ok ] * Starting BIRD ... [ ok ] samis ~ # birdc BIRD 2.0.2 ready. bird> show protocols all direct1 Name Proto Table State Since Info direct1 Direct --- up 15:07:37.150 Channel ipv6 State: UP Table: master6 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 2 imported, 0 exported Route change stats: received rejected filtered ignored accepted Import updates: 2 0 0 0 2 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bird> Thanks a lot :) (but strange behavior BTW) -- Alarig
On Tue, Aug 21, 2018 at 03:08:39PM +0200, Alarig Le Lay wrote:
On mar. 21 août 15:02:06 2018, Ondrej Zajicek wrote:
If you restart the protocol does the cahnnel became up? If you restart BIRD will the channel be started as down or up?
The channel is up after either a restart of the protocol or the entire bird.
So i guess you added the protocol and reconfigured BIRD? Or you added the protocol without 'ipv6' and then added 'ipv6' channel and reconfigured? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On mar. 21 août 15:27:51 2018, Ondrej Zajicek wrote:
So i guess you added the protocol and reconfigured BIRD? Or you added the protocol without 'ipv6' and then added 'ipv6' channel and reconfigured?
I added the protocol without any afi/safi (bird1 reflex) and then added IPv6 channel and reconfigured. I don’t have any IPv4 on this node. -- Alarig
participants (2)
-
Alarig Le Lay -
Ondrej Zajicek