From owner-freebsd-pf@FreeBSD.ORG Thu Jun 30 15:43:46 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org 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 B63E116A41C for ; Thu, 30 Jun 2005 15:43:46 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BBB43D49 for ; Thu, 30 Jun 2005 15:43:46 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3E725.dip.t-dialin.net [84.163.231.37] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML25U-1Do1CZ3Uxm-0007vV; Thu, 30 Jun 2005 17:43:43 +0200 From: Max Laier To: freebsd-pf@freebsd.org Date: Thu, 30 Jun 2005 17:43:33 +0200 User-Agent: KMail/1.8 References: <48427759bea33b69566b2b974aca2abb@xecu.net> In-Reply-To: <48427759bea33b69566b2b974aca2abb@xecu.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1146044.vNUaPLeAjQ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506301743.41172.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Subject: Re: Carp master problem X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Jun 2005 15:43:46 -0000 --nextPart1146044.vNUaPLeAjQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 30 June 2005 17:27, Chris McGee wrote: > On Jun 30, 2005, at 10:56 AM, Constant, Benjamin wrote: > >> I see multicast advertisements going out on em0 on what > >> should be the master (test1) and I see those advertisements > >> on test2 also. The only firewall rules are the default, pass > >> in all, and pass out all. No firewall rules have been setup > >> yet since this is a test environment. > >> > >> Chris > > > > I don't know what is the problem, I've good experience with em driver > > and > > carp. > > Is the log showing up something? Is the carp ifconfig password the > > same on > > either boxes? > > It seems that carp0 interfaces are not communicating together. It > > works when > > you do ifconfig > > down carp1 because preemption force carp0 to failover. > > > > Benjamin Constant > > TI Automotive > > In /var/log/messages on both servers, I see this: > > Jun 30 11:13:32 test1 kernel: arp_rtrequest: bad gateway 192.168.1.10 > (!AF_LINK) > Jun 30 11:14:05 test1 last message repeated 11 times > > Here are the lines from /etc/rc.conf for the 2 servers. The passwords > don't matter since they are just test boxes: > > test1: > cloned_interfaces=3D"carp0 carp1" > ifconfig_carp0=3D"vhid 1 pass monkey 192.168.1.10/24" > ifconfig_carp1=3D"vhid 2 pass monkey2 10.10.10.1/29" > > test2: > cloned_interfaces=3D"carp0 carp1" > ifconfig_carp0=3D"vhid 1 pass monkey advskew 100 192.168.1.10/24" > ifconfig_carp1=3D"vhid 2 pass monkey2 advskew 100 10.10.10.1/29" > > Is there another log for carp stuff? What does "netstat -ssp carp" give you? =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 --nextPart1146044.vNUaPLeAjQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCxBMtXyyEoT62BG0RApjkAJ4gltlEhu6p6WFqBbU9GmiUdw9+fwCfYPL5 3k/Ola30bgj7aWJIBCbvODw= =QpW5 -----END PGP SIGNATURE----- --nextPart1146044.vNUaPLeAjQ--