carp0 interface goes down on 6.2-PRERELEASE

Ari Suutari ari at suutari.iki.fi
Thu Oct 12 11:04:59 UTC 2006


Hi,

I started experimenting with carp, in order to replace
freevrrpd stuff we are currently using.

I'm running quite recent version of RELENG_6 (compiled
this week).

I was able to configure carp ok, but for some odd reason the
interface goes down by itself shortly after it has been configured.

Here is output from test script:

# sh -x test.sh
+ ifconfig carp0 destroy
+ ifconfig carp0 create
+ ifconfig carp0 up
+ ifconfig carp0 inet 192.168.5.59/24 vhid 55 pass xxx123
+ ifconfig carp0
carp0: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
         inet 192.168.5.59 netmask 0xffffff00
         carp: BACKUP vhid 55 advbase 1 advskew 0
+ sleep 5
+ ifconfig carp0
carp0: flags=8<LOOPBACK> mtu 1500
         carp: INIT vhid 55 advbase 1 advskew 0

See, here the interface is up, but after 5 seconds it has gone
down. Could anybody give a hint why this happens ? There are
messages on console about promiscuous mode being enabled/disabled,
but nothing else.

	Ari S.



More information about the freebsd-stable mailing list