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
--nextPart2297524.c7IZZW7Ig7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 11 November 2004 13:43, S=F8ren 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= =20 their online manpages lately: > DESCRIPTION > The ifstated daemon runs commands in response to network state chang= es, > which it determines by monitoring interface link state or running=20 > external tests. For example, it can be used with carp(4) to change= =20 > running services or to ensure that carp(4) interfaces stay in sync, = or=20 > with pf(4) to test server or link availability and modify translatio= n=20 > or routing rules. The options are as follows: =20 This is the one you probably want. I didn't come round to port it, yet. It'= s=20 certainly on my list, but first I want to get CARP itself into committable= =20 shape. So please, try your hands at it. It's even useful without CARP so=20 seeing it in ports would be nice for many people ;) =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2297524.c7IZZW7Ig7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBk8HQXyyEoT62BG0RAlj0AJ4x2dmVIGNbxtVXq6kp04NNIfq5TwCff0xp MKSMruAExwkb/ddMqZpsiqU= =CyHT -----END PGP SIGNATURE----- --nextPart2297524.c7IZZW7Ig7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411112047.28310.max>