Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 09:01:23 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Cc:        Victor Sudakov <vas@mpeks.tomsk.su>
Subject:   Re: carp(4) on FreeBSD 8.2
Message-ID:  <4EE857D3.2060504@gmail.com>
In-Reply-To: <20111214050959.GA34547@admin.sibptus.tomsk.ru>
References:  <20111214050959.GA34547@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Victor Sudakov schreef:
> 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?
Can you show your relevant rc.conf settings.
For both master and slave machine, also the relevant sysctl.conf 
settings could help.

regards
Johan Hendriks




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