Re: Using CARP with dhcpd?

2015-01-26 Thread Andy Ruhl
On Mon, Jan 26, 2015 at 2:58 AM, Christoph Kaegi k...@msw.ch wrote:


 If you distribute static IP configurations only: I wouldn't bother
 with failover. Let both of the DHCP servers make their offers. The client
 will choose one and ignore the other.


I thought about that but I'd like to find a suitable failover method even
if it's only for the exercise of doing it.

Andy


Re: Using CARP with dhcpd?

2015-01-26 Thread Christoph Kaegi
On 24.01-06:44, Andy Ruhl wrote:
 I'm trying to find evidence that carp can work with dhcpd. All of the
 examples I have read are for ip level services, not layer 2.
 
 The ISC dhcpd has it's own failover method, which might be what I should
 use, but it would be nice if it it could work with carp.
 
 It's not clear to me how carp disables the inactive interface on the
 secondary machine. If it can still respond to layer 2 requests, this might
 not work.
 
 I realize that a simple test could be done to see if dhcp would still
 listen and send ethernet frames on the carpX device on both sides, but it
 would take some time to get to that point, and I haven't bought the second
 carp device yet.
 
 I'm using a static setup inside my dhcpd.conf (hardware ethernet and
 fixed-address) so leases are not an issue (although dhcpd seems to be
 able to deal with a lost lease file).
 

If you distribute static IP configurations only: I wouldn't bother
with failover. Let both of the DHCP servers make their offers. The client
will choose one and ignore the other.

Take care
Chris

-- 
--
Christoph Kaegik...@msw.ch
--