From owner-freebsd-pf@FreeBSD.ORG Thu Nov 11 12:43:15 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08FA516A4CE for ; Thu, 11 Nov 2004 12:43:15 +0000 (GMT) Received: from moof.catpipe.net (moof.catpipe.net [195.249.214.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941B043D45 for ; Thu, 11 Nov 2004 12:43:14 +0000 (GMT) (envelope-from sv@moof.catpipe.net) Received: from localhost (localhost [127.0.0.1]) by localhost.catpipe.net (Postfix) with ESMTP id 4F92170657 for ; Thu, 11 Nov 2004 13:43:12 +0100 (CET) Received: from moof.catpipe.net ([127.0.0.1]) by localhost (moof.catpipe.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62013-03 for ; Thu, 11 Nov 2004 13:43:11 +0100 (CET) Received: by moof.catpipe.net (Postfix, from userid 1024) id A46EC70656; Thu, 11 Nov 2004 13:43:11 +0100 (CET) Date: Thu, 11 Nov 2004 13:43:11 +0100 From: =?iso-8859-1?Q?S=F8ren?= Vrist To: freebsd-pf@freebsd.org Message-ID: <20041111124311.GR20446@moof.catpipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 4.8-STABLE i386 Organization: catpipe Systems ApS User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at catpipe.net Subject: carp and internal dependencies on a router X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 12:43:15 -0000 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. -- mvh. Søren Vrist