Re: dhcpd sync and carp

2012-04-19 Thread Jose Fragoso
Hi again, Since I am now seeing some IP address conflicts, I am understanding that dhcpd lease synchronization is not working properly. The funny thing is that I see dhcpd sync packets being sent through the sync interface and being received at the other side. I still can't see at the log files

Re: dhcpd sync and carp

2012-03-22 Thread Marco Fretz
Hi, I've the same problem for over 2 years now, never figured it out. Did not invest much time though :-) I tried it with multicast and unicast, currently its like that: host 1 /usr/sbin/dhcpd -y 172.16.106.252 -Y 172.16.106.253 vlan703 host 2 /usr/sbin/dhcpd -y 172.16.106.253 -Y 172.16.106.252

Re: dhcpd sync and carp

2012-03-22 Thread Jose Fragoso
Hi again, The strange thing is that spamd is getting the sync messages from the master firewall and updating the spamd tables and log files. But, although the dhcpd sync messages seem to go through the em0 iface, the dhcpd in the backup firewall is not displaying sync updates in the log file

Re: dhcpd sync and carp

2012-03-22 Thread Jose Fragoso
Hi, Thanks a lot for your hint. Now, I can see (what I guess should be) the sync packets going through the em0 iface: 07:54:32.877138 00:22:64:89:64:79 01:00:5e:00:01:f0 0800 142: 10.1.1.2.8067 > 224.0.1.240.8067: udp 100 [ttl 1] (id 20862, len 128) 07:54:32.877187 00:22:64:89:67:6a 01:00:

Re: dhcpd sync and carp

2012-03-21 Thread Stuart Henderson
Your system is probably not configured for multicast. Try 'route delete 224/4'. If it helps, set multicast_host=YES in rc.conf.local and reboot. This should probably be mentioned in the manual for dhcpd/spamd. This isn't required for pfsync/carp and some of the routing daemons which specifically s

Re: dhcpd sync and carp

2012-03-21 Thread Jose Fragoso
Hi again, Is it possible that the dhcp sync messages are not being sent/received through the sync iface (em0) because the Ip address associated with this iface is not in the same subnet of the IP addresses of the dhcpd servers? Should I be able to view the sync packets on the lo0 iface? kind reg

dhcpd sync and carp

2012-03-21 Thread Jose Fragoso
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