NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using CARP with dhcpd?



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 Kaegi                                            kach%msw.ch@localhost
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index