bgp protocol info in passive mode
Hello Bird-users, Currently making some monitor scripts, and working on that i noticed a little difference with 2 (ipv4 and ipv6) export-only bgp protocols. ipv4: bird> show protocols name proto table state since info <snip> bgp_Arjan_Filius BGP master start Jun25 Passive ipv6: bird> show protocols name proto table state since info <snip> bgp_Arjan_Filius BGP master start Jun25 Idle Notice the difference in the info field on both the ipv6 and ipv4 definition i'd used the "passive on;" statement Both the protocol definitions are exactly the same, apart from the neighbor definition. The only difference is the ipv4 neigbor is in a direct connected subnet, where the ipv6 isn't. After "fixing" the ipv6 passive neigbor to a direct connected ip i got the "Passive" in the info field. I'm not sure what is the correct behaviour, but displaying passive when actually passive eases my monitoring scripts. Regards -- Arjan Filius mailto:iafilius@xs4all.nl
On Mon, Jun 28, 2010 at 02:02:16PM +0200, Arjan Filius wrote:
Hello Bird-users,
Currently making some monitor scripts, and working on that i noticed a little difference with 2 (ipv4 and ipv6) export-only bgp protocols.
...
Both the protocol definitions are exactly the same, apart from the neighbor definition.
The only difference is the ipv4 neigbor is in a direct connected subnet, where the ipv6 isn't.
After "fixing" the ipv6 passive neigbor to a direct connected ip i got the "Passive" in the info field.
I'm not sure what is the correct behaviour, but displaying passive when actually passive eases my monitoring scripts.
I think that if you don't have multihop option and your neighbor address is not from a direct connected subnet, that such configuration is unusable and that is a reason why there is Idle state and not Passive state. -- 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."
Hello Ondrej, bird-users correct no multihop defined, as there is/was no need to. i'd only enabled the link when needing it. Regards, On Fri, 2010-07-02 at 10:44 +0200, Ondrej Zajicek wrote:
On Mon, Jun 28, 2010 at 02:02:16PM +0200, Arjan Filius wrote:
Hello Bird-users,
Currently making some monitor scripts, and working on that i noticed a little difference with 2 (ipv4 and ipv6) export-only bgp protocols.
...
Both the protocol definitions are exactly the same, apart from the neighbor definition.
The only difference is the ipv4 neigbor is in a direct connected subnet, where the ipv6 isn't.
After "fixing" the ipv6 passive neigbor to a direct connected ip i got the "Passive" in the info field.
I'm not sure what is the correct behaviour, but displaying passive when actually passive eases my monitoring scripts.
I think that if you don't have multihop option and your neighbor address is not from a direct connected subnet, that such configuration is unusable and that is a reason why there is Idle state and not Passive state.
participants (2)
-
Arjan Filius -
Ondrej Zajicek