carp(4) on FreeBSD 8.2
vas at mpeks.tomsk.su
Wed Dec 14 09:26:00 UTC 2011
Johan Hendriks wrote:
> > Are there any success stories or known issues with carp(4) on FreeBSD
> > 8.2? I have configured a carp interface:
> > But for some reason I can ping 10.14.135.88, but cannot ping
> > 10.14.134.99. There seem to be ARP responses however:
> > What am I doing wrong?
> Can you show your relevant rc.conf settings.
What settings are relevant? I really did not use rc.conf to configure
carp. I just did manually
ifconfig carp0 create
ifconfig carp0 vhid 1 pass XXXXXXXXX 10.14.134.99/23
and the same on the other host.
> For both master and slave machine, also the relevant sysctl.conf
> settings could help.
sysctl.conf is really empty, these are just vanilla boxes in a lab.
router1# sysctl -a | grep carp
router1# ipfw list
65535 allow ip from any to any
Well, _almost_ vanilla boxes. They have custom kernels:
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPDIVERT #divert sockets
options IPFIREWALL_FORWARD #packet destination changes
options IPFIREWALL_NAT #ipfw kernel nat support
options QUOTA #enable disk quotas
# $Header: svn://big/configs/kernels/trunk/FW 2967 2011-12-13 10:08:29Z sudakov $
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru
More information about the freebsd-questions