Date: Thu, 11 Nov 2004 20:47:21 +0100 From: Max Laier <max@love2party.net> To: freebsd-pf@freebsd.org Subject: Re: carp and internal dependencies on a router Message-ID: <200411112047.28310.max@love2party.net> In-Reply-To: <20041111124311.GR20446@moof.catpipe.net> References: <20041111124311.GR20446@moof.catpipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thursday 11 November 2004 13:43, Søren Vrist wrote: > Ive been toying with carp for a customer and found out that if fx. a > port in the switch goes wild, and the redundant router boxs current > master loses one of the interfaces, its only one of the carp interfaces > that switch over. On a router that means that still no traffic comes > thorugh. > Ive hacked a perl script for looking at ifconfig and doing som choices > based on carp-interfaces-parent status and carpinterfaces status, in a > way so a box is either all-master or all-slave if at anyway is possible. > (With prempt and advskew). > Im i all wrong here, is ther a way to do these dependencies a better > way. > Freevrrp does it with a config option called dependson or something like > that. OpenBSD has a daemon called ifstated(8) - unfortunately they haven't synced their online manpages lately: > DESCRIPTION > The ifstated daemon runs commands in response to network state changes, > which it determines by monitoring interface link state or running > external tests. For example, it can be used with carp(4) to change > running services or to ensure that carp(4) interfaces stay in sync, or > with pf(4) to test server or link availability and modify translation > or routing rules. The options are as follows: This is the one you probably want. I didn't come round to port it, yet. It's certainly on my list, but first I want to get CARP itself into committable shape. So please, try your hands at it. It's even useful without CARP so seeing it in ports would be nice for many people ;) -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBk8HQXyyEoT62BG0RAlj0AJ4x2dmVIGNbxtVXq6kp04NNIfq5TwCff0xp MKSMruAExwkb/ddMqZpsiqU= =CyHT -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411112047.28310.max>
