Hi! I can't remember if I read it here on the list but does carp and bird work under freebsd? As of now, even if a carp interface is in backup mode, bird announce that prefix over ospf, which I don't want... -- //fredan
I came over the following http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00753.htm... and appling that patch do what I want. Ondrej, Is there perhaps a possibility to make this patch as an configure option when running bird?
Hi!
I can't remember if I read it here on the list but does carp and bird work under freebsd?
As of now, even if a carp interface is in backup mode, bird announce that prefix over ospf, which I don't want...
-- //fredan
On 2011/08/25 01:14, fredrik danerklint wrote:
As of now, even if a carp interface is in backup mode, bird announce that prefix over ospf, which I don't want...
I came over the following
http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00753.htm...
and appling that patch do what I want.
Ondrej,
Is there perhaps a possibility to make this patch as an configure option when running bird?
OpenBSD's ospfd used to do that, but then it was changed to a better method; a carp interface in BACKUP state still causes an announcement over OSPF, but with a high metric, this avoids a blackhole in the time between the previous carp MASTER going down and the BACKUP taking over.
--On 26 August 2011 15:56:03 +0100 Stuart Henderson <stu@spacehopper.org> wrote:
OpenBSD's ospfd used to do that, but then it was changed to a better method; a carp interface in BACKUP state still causes an announcement over OSPF, but with a high metric, this avoids a blackhole in the time between the previous carp MASTER going down and the BACKUP taking over.
So, talking of carp, what is the best way to change things like metrics live? I really don't want to programmatically rewrite my master bird.conf. Being able to #include another file, which did a #define would be really useful for things like this. Then I could just change the file concerned (or better make it a symlink to a master or a slave version) -- Alex Bligh
On Thu, Aug 25, 2011 at 01:14:24AM +0200, fredrik danerklint wrote:
I came over the following
http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00753.htm...
and appling that patch do what I want.
Ondrej,
Is there perhaps a possibility to make this patch as an configure option when running bird?
This patch seems to be for older (1.2.x) versions and not really applicable for the current version. In current BIRD, the link detection (which is what the patch should add) is already merged. but you have to add 'check link' option to OSPF to follow that. There is still a slight difference - when link is down, but interface is administratively up (which is probably the case with backup carp), the /32 address of iface is propagated instead of the full prefix. But that is probably not a big problem. -- 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."
Ondrej, Where in the source code do I find where you calculate the /32 route of the interface in this case?
I came over the following
http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00753. html
and appling that patch do what I want.
Ondrej,
Is there perhaps a possibility to make this patch as an configure option when running bird?
This patch seems to be for older (1.2.x) versions and not really applicable for the current version. In current BIRD, the link detection (which is what the patch should add) is already merged. but you have to add 'check link' option to OSPF to follow that.
There is still a slight difference - when link is down, but interface is administratively up (which is probably the case with backup carp), the /32 address of iface is propagated instead of the full prefix. But that is probably not a big problem.
-- //fredan
On Sun, Sep 04, 2011 at 09:51:46PM +0200, fredrik danerklint wrote:
Ondrej,
Where in the source code do I find where you calculate the /32 route of the interface in this case?
topology.c:originate_rt_lsa_body(), test for OSPF_IS_LOOP (which si true if interface does not have a link and 'check link' 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."
participants (4)
-
Alex Bligh -
fredrik danerklint -
Ondrej Zajicek -
Stuart Henderson