From owner-freebsd-stable@FreeBSD.ORG Thu Nov 2 03:09:09 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C687916A403 for ; Thu, 2 Nov 2006 03:09:09 +0000 (UTC) (envelope-from kenfreebsd@icarz.com) Received: from deanna.icarz.com (deanna.icarz.com [207.99.22.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 532ED43D58 for ; Thu, 2 Nov 2006 03:09:09 +0000 (GMT) (envelope-from kenfreebsd@icarz.com) Received: from kenxp (netb-138.icarz.com [209.123.219.138]) by deanna.icarz.com (8.13.6/8.13.6) with SMTP id kA2397FH034898 for ; Wed, 1 Nov 2006 22:09:07 -0500 (EST) (envelope-from kenfreebsd@icarz.com) Message-ID: <08ea01c6fe2c$42a42e70$8adb7bd1@icarz.com> From: "Ken Menzel" To: Date: Wed, 1 Nov 2006 22:09:07 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Spam-Score: -101.098 () ALL_TRUSTED,AWL,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.57 on 207.99.22.19 Cc: Subject: carp interface stops responding X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ken Menzel List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 03:09:09 -0000 I am wondering if I am understanding carp interfaces correctly. I have a SPAM gateway that runs on two servers. I want to enable a failover scenario. I want to test the interface on the backup server. So the primary server is shut down. I enable carp and it starts up fine and works for a while but after a while the port stops responding to ping or anything else. Did I miss something in the setup or is this a bug of some sort? Do I need preempt for a failover? I assume the backup interface (advskew 100) can start without the primary being up yet? Here are my settings: net.inet.ip.same_prefix_carp_only: 0 net.inet.carp.allow: 1 net.inet.carp.preempt: 0 net.inet.carp.log: 1 net.inet.carp.arpbalance: 0 net.inet.carp.suppress_preempt: 0 FreeBSD geordi.icarz.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Nov 1 15:13:18 EST 2006 sysadm@geordi.icarz.com:/usr/obj/usr/src/sys/ICARZ i386 Server2 (The backup) ifconfig_fxp0="inet 207.99.22.23 netmask 255.255.255.128" cloned_interfaces="carp0" ifconfig_carp0="vhid 4 pass somepassword advskew 100 207.99.22.25/25" fxp0: flags=8943 mtu 1500 options=8 inet 207.99.22.23 netmask 0xffffff80 broadcast 207.99.22.127 ether 00:13:72:c0:0a:b8 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 carp0: flags=49 mtu 1500 inet 207.99.22.25 netmask 0xffffff80 carp: MASTER vhid 4 advbase 1 advskew 100 Server1 (The primary) (currently shutdown, IE the carp is disabled) ifconfig_fxp0="inet 207.99.22.7 netmask 255.255.255.128" cloned_interfaces="carp0" ifconfig_carp0="vhid 4 pass somepassword advskew 0 207.99.22.25/25" ----------------------------------------------------- Ken Menzel kmenzel@wrenchead.com /earth is 98% full ... please delete anyone you can.