Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 18:45:49 -0700
From:      Tom Arnold <xyzzy@sysabend.org>
To:        freebsd-net@freebsd.org
Subject:   Carp Problem - FreeBSD6 - seems to be bound to loopback?
Message-ID:  <20060515014549.GF33316@moo.sysabend.org>

next in thread | raw e-mail | index | archive | help
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<UP,LOOPBACK,RUNNING> mtu 1500
        inet 192.168.100.40 netmask 0xffffff00 
        carp: MASTER vhid 10 advbase 1 advskew 10
carp1: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
        inet 192.168.101.100 netmask 0xffffff00 
        carp: MASTER vhid 20 advbase 1 advskew 10

and on box 2:
carp0: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
        inet 192.168.100.40 netmask 0xffffff00 
        carp: BACKUP vhid 10 advbase 1 advskew 100
carp1: flags=49<UP,LOOPBACK,RUNNING> 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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060515014549.GF33316>