Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 12:09:59 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   carp(4) on FreeBSD 8.2
Message-ID:  <20111214050959.GA34547@admin.sibptus.tomsk.ru>

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



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