Hi all,
I have some problems with CARP (I can't get it working).

this is my current configuration:

# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding=1

# sysctl net.inet.carp
net.inet.carp.allow=1
net.inet.carp.preempt=1
net.inet.carp.log=2

# cat /etc/hostname.carp1
inet 172.16.0.1 255.255.255.0 172.16.0.255 vhid 2 pass carppasswd carpdev em1

# cat /etc/hostname.em1
inet 172.16.0.3 255.255.255.0

(pf is disabled)

# ifconfig carp1
carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:02
        priority: 0
        carp: MASTER carpdev em1 vhid 2 advbase 1 advskew 0
        groups: carp
        inet6 fe80::200:5eff:fe00:102%carp1 prefixlen 64 scopeid 0x8
        inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255

from the carp device I'm able to ping 172.16.0.1, but from a client I
can't (but I can ping 172.16.0.3).
But in the client I have an arp entry for 172.16.0.1 (correctly
referring to 00:0:5e:00:01:02)

when I tcpdump to em1 I can see carp advertisement:
16:47:21.223303 CARPv2-advertise 36: vhid=2 advbase=1 advskew=0
demote=0 (DF) [tos 0x10]
but when I tcpdump on carp1 I can't see anything.

any hint?

thanks,
stefano

Reply via email to