carp(4) on FreeBSD 8.2

Victor Sudakov vas at mpeks.tomsk.su
Wed Dec 14 06:10:11 UTC 2011


Colleagues, 

Are there any success stories or known issues with carp(4) on FreeBSD
8.2? I have configured a carp interface:

router1# ifconfig le0
le0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 08:00:27:aa:6a:bd
        inet 10.14.135.88 netmask 0xfffffe00 broadcast 10.14.135.255
        media: Ethernet autoselect
        status: active
router1#
router1# ifconfig carp0
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
        inet 10.14.134.99 netmask 0xfffffe00
        carp: MASTER vhid 1 advbase 1 advskew 0
router1#

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:

$ arp -an | grep 10.14.134.99
? (10.14.134.99) at 00:00:5e:00:01:01 on re0 [ethernet]

This looks like a VRRP MAC address for sure. And this MAC address is
present in the switch forwarding table:
Core5>sh mac-address-table  | i 0000.5e00.0101
   1    0000.5e00.0101    DYNAMIC     Fa0/18

What is even more strange, tcpdump on le0 does not even see ICMP echo
requests addressed to 10.14.134.99.

What am I doing wrong? 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list