Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 12:00:19 -0700
From:      Steven Stremciuc <steve@freeslacker.net>
To:        freebsd-net@freebsd.org
Subject:   carp not setting interfaces
Message-ID:  <4623C7C3.8080305@freeslacker.net>

next in thread | raw e-mail | index | archive | help
Hi,

I have a 6.2-RELEASE-p3 machine (supermicro 6010h) on which carp is not 
working correctly. I have been using carp on other freebsd and openbsd 
machines without a problem, so I am not sure what is going wrong on this 
specific machine. The carp interfaces are created but there is no 
address assigned to them, and no information given about what went wrong.

Is there anything I can do to get more info on where the problem lies? 
The machine is completely default except for enabling carp.

 > ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 10.1.0.201 netmask 0xffffff00 broadcast 10.1.0.255
        ether 00:30:48:11:64:85
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
fxp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 00:30:48:11:6f:68
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
carp0: flags=9<UP,LOOPBACK> mtu 1500
carp1: flags=9<UP,LOOPBACK> mtu 1500

 > cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sat Apr 14 13:20:02 2007
# Created: Sat Apr 14 13:20:02 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="10.1.0.1"
hostname="xxx.com"
cloned_interfaces="carp0 carp1"
ifconfig_fxp0="inet 10.1.0.201  netmask 255.255.255.0"
ifconfig_carp0="vhid 801 pass xxxxxxxx 10.1.0.101/24"
ifconfig_carp1="vhid 802 advskew 100 pass xxxxxxxx 10.1.0.102/24"
inetd_enable="NO"
keyrate="fast"
moused_enable="NO"
moused_type="NO"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"

 > sysctl net.inet.carp
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 0

I would really appreciate any ideas.

Thanks,

steve




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