Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2006 14:04:49 +0300
From:      Ari Suutari <ari@suutari.iki.fi>
To:        freebsd-stable@freebsd.org
Subject:   carp0 interface goes down on 6.2-PRERELEASE
Message-ID:  <452E2151.80500@suutari.iki.fi>

next in thread | raw e-mail | index | archive | help
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.




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