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

Re: [OT] 2 dhcp server on same lan



On Thu, May 21, 2015 at 03:45:58PM CEST, Darac Marjal <mailinglist@darac.org.uk> said:
> On Thu, 21 May 2015 15:10:11 +0200
> Pol Hallen <deben@fuckaround.org> wrote:
> 
> > Hi all and sorry for the OT
> > 
> > On same network 192.168.1.0/24 I can put 2 AP with each one own dhcp 
> > server? (obviously with different range but on same network).
> 
> You can, but you will need to make sure that both servers are marked as
> "not authoritative" (if such a feature is available). With
> ISC-DHCP-Server, you can tell the server that it is authoritative for a
> network, which means that if it sees a request from a client that
> doesn't match its database, it will reply with a NAK packet,
> instructing the client to not use that address. 
> 
> If you mark both servers as not authoritative, though, when they see a
> client trying to use an address that they don't manage, they will just
> ignore the request. Be aware, though, that this could cause a
> newly-arriving client to take a bit longer to connect (Client: "I'd
> like to use 192.168.234.123... anyone? ... anyone? ... Bueller? ... OK,
> which address can I use?" Server: "Oh, sorry. 192.168.1.100")
> 
> You might find it easier to turn off the DHCP on one AP and define
> multiple ranges there.

With ISC DHCP you may also define a "failover" reloatuion between both
DHCP servers, defining same range on both with a peering link between
them. They will then coordinate for answering requests, and if one of
them crashed you'll still have a dhcp server.


Reply to: