iBGP over redundant link/ospf and dummy interface
Hello bird users. new on the list. What i like to do is a bird (linux) doing iBGP with another bird bgp router, direct connected with 2 links (for redundancy) until now, i wanted to do this with a single iBGP session to/from IP's configured on a dummy(loopback) interface, and let a simple ospf handle this. iBGP should then become multihop, and there starts my trouble. My gateway (neigbour iBGP) is dynamic (ospf) and bird likes to have a predefined one. My questions: 1)am i on the right track with ospf handling the local redundancy/routing ? 2)or is it perhaps a better idea to have to iBGP sessions over both (redundant) links ? Another question, not related. this morning i found my disk full (bird debug logging), and noticed my ubuntu 10.04 TLS didn't handle that. is there a preferred way to handle logrotte/reopen logfiles without any change distubing the bird/bgp proces? Regards, and thanks in advance. -- Arjan Filius mailto:iafilius@xs4all.nl
On Tue, May 25, 2010 at 08:59:21AM +0200, Arjan Filius wrote:
iBGP should then become multihop, and there starts my trouble. My gateway (neigbour iBGP) is dynamic (ospf) and bird likes to have a predefined one.
My questions: 1)am i on the right track with ospf handling the local redundancy/routing ?
This is a usual way to handle such situation, but BIRD does not support this yet and require to have a predefined next-hop for multihop iBGP.
2)or is it perhaps a better idea to have to iBGP sessions over both (redundant) links ?
This should work if your setup ensures that if the link breaks, also the appropriate BGP session breaks.
Another question, not related. this morning i found my disk full (bird debug logging), and noticed my ubuntu 10.04 TLS didn't handle that. is there a preferred way to handle logrotte/reopen logfiles without any change distubing the bird/bgp proces?
I would suggest logging to syslog (or some newer implementation like rsyslog) and let it handle log rotation. If you log directly to the file, the best way is just rename the file and then send SIGHUP (or configure command) to BIRD. It will reopen the log file. -- 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, thanks very much for your quick response. 2 iBGP sessions over 2 redundant links are working now, need to test failover situation. just to make it 100% clear, what i understand is not to use the ospf failover because iBGP won't work (yet) with the dynamic (ospf) route. Or it it just an inconvenience, and wil it work with perhaps a predefined route "tick" ? Regards, Arjan Filius On Tue, 25 May 2010, Ondrej Zajicek wrote:
On Tue, May 25, 2010 at 08:59:21AM +0200, Arjan Filius wrote:
iBGP should then become multihop, and there starts my trouble. My gateway (neigbour iBGP) is dynamic (ospf) and bird likes to have a predefined one.
My questions: 1)am i on the right track with ospf handling the local redundancy/routing ?
This is a usual way to handle such situation, but BIRD does not support this yet and require to have a predefined next-hop for multihop iBGP.
2)or is it perhaps a better idea to have to iBGP sessions over both (redundant) links ?
This should work if your setup ensures that if the link breaks, also the appropriate BGP session breaks.
Another question, not related. this morning i found my disk full (bird debug logging), and noticed my ubuntu 10.04 TLS didn't handle that. is there a preferred way to handle logrotte/reopen logfiles without any change distubing the bird/bgp proces?
I would suggest logging to syslog (or some newer implementation like rsyslog) and let it handle log rotation. If you log directly to the file, the best way is just rename the file and then send SIGHUP (or configure command) to BIRD. It will reopen the log file.
-- Arjan Filius mailto:iafilius@xs4all.nl
On Tue, May 25, 2010 at 10:33:52AM +0200, Arjan Filius wrote:
Hello,
just to make it 100% clear, what i understand is not to use the ospf failover because iBGP won't work (yet) with the dynamic (ospf) route.
Yes. -- 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."
participants (2)
-
Arjan Filius -
Ondrej Zajicek