Hi,

I have two obsd machines running OpenBSD 4.9 STABLE and CARP 
for failover.

Each machine has 3 interfaces: 

sk1(external)
sk0(internal)
em0(sync)

em0 has a direct cable connecting the two machines.

Both machines use exactly the same dhcpd.conf file
to serv IP addresses on sk0.

I have

set skip on em0 
set skip on lo0

on both sides.

I use 

dhcpd_flags="-y em0 -Y em0 sk0"

For some reason, I think dhcpd is not synchronizing the leases.
Although I see this kind of messages in the logs of both
firewalls, I cannot see the packets being sent or received.

dhcpd[13353]: sending DHCP_SYNC_LEASE for hw 00:26:e8:78:49:db -> 
ip a.b.c.d, start 1332327048, end 1332334248

But I see pfsync messages going through the em0 iface, like
the one below:

07:53:55.380578 00:22:64:89:67:6a 01:00:5e:00:00:f0 0800 1486: 
10.1.1.1 > 224.0.0.240: PFSYNCv6 len 1452
 B  B act UPD ST COMP count 17
 B  B ...
 (DF) [tos 0x10] (ttl 255, id 8912, len 1472)


When I run route -n get 224.0.1.240, I get:

route to: 224.0.1.240
destination: 224.0.0.0
mask: 240.0.0.0
interface: lo0
if address: 127.0.0.1
priority: 8 (static)
flags: <UP,REJECT,DONE,STATIC>
use B  B  B  mtu B  B expire
4249 B  B  33200 B  B  B  B  0


My questions are:

1) Why I cannot see the dhcpd sync packets 
using tcpdump -nevvi em0?

2) Is there a way to verify that they are
in sync?

Thanks for any help.

Kind regards,

Jose

Reply via email to