From owner-freebsd-net@FreeBSD.ORG Mon May 15 01:45:52 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34EC16A402 for ; Mon, 15 May 2006 01:45:52 +0000 (UTC) (envelope-from xyzzy@sysabend.org) Received: from moo.sysabend.org (moo.sysabend.org [66.111.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 846B643D49 for ; Mon, 15 May 2006 01:45:50 +0000 (GMT) (envelope-from xyzzy@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 14) id BE4B01E2A; Sun, 14 May 2006 18:45:49 -0700 (PDT) Date: Sun, 14 May 2006 18:45:49 -0700 From: Tom Arnold To: freebsd-net@freebsd.org Message-ID: <20060515014549.GF33316@moo.sysabend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The Sysabend Dump X-Operating-System: CPM2.2 X-8-Bit-Samples-And-Analog-Filters: Rah! X-Bucket-Brigade-Devices: Rah! Subject: Carp Problem - FreeBSD6 - seems to be bound to loopback? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: xyzzy@sysabend.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 01:45:53 -0000 I'm trying to get CARP up and running on a pair of BSD6 boxes. Box1 rc.conf exerpts: ifconfig_bge0="inet 192.168.100.41 netmask 255.255.255.0" ifconfig_bge1="inet 192.168.101.101 netmask 255.255.255.0" cloned_interfaces="carp0 carp1" ifconfig_carp0="vhid 10 pass redgiant advskew 10 192.168.100.40/24" ifconfig_carp1="vhid 20 pass whitedwarf advskew 10 192.168.101.100/24" Box2 rc.conf exerpts: ifconfig_bge0="inet 192.168.100.42 netmask 255.255.255.0" ifconfig_bge1="inet 192.168.101.102 netmask 255.255.255.0" cloned_interfaces="carp0 carp1" ifconfig_carp0="vhid 10 advskew 100 pass redgiant 192.168.100.40/24" ifconfig_carp1="vhid 20 advskew 100 pass whitedwarf 192.168.101.100/24" Carp is up. I can fail state back and forth, but the VIP is not pingable from outside whichever box is the master. A look at ifconfig reveals : on box 1: carp0: flags=49 mtu 1500 inet 192.168.100.40 netmask 0xffffff00 carp: MASTER vhid 10 advbase 1 advskew 10 carp1: flags=49 mtu 1500 inet 192.168.101.100 netmask 0xffffff00 carp: MASTER vhid 20 advbase 1 advskew 10 and on box 2: carp0: flags=49 mtu 1500 inet 192.168.100.40 netmask 0xffffff00 carp: BACKUP vhid 10 advbase 1 advskew 100 carp1: flags=49 mtu 1500 inet 192.168.101.100 netmask 0xffffff00 carp: BACKUP vhid 20 advbase 1 advskew 100 I have a working 5.4 box running carp with a pretty much identical config and, well, its working. I just cant seem to make these BSD6 boxes behave. Any suggestions? -- -------------------------------------------------------------------- - Tom Arnold - "...is it a virus, a drug, or a religion?" - Sysabend Caretaker - Juanita Shrugs. "What's the difference?" ------------------------ -- Neal Stephenson, Snow Crash