Re: [OT] 2 dhcp server on same lan
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.
>
> router IP 192.168.1.1
> AP1 IP 192.168.1.2 (dhcp 192.168.100-149)
> AP2 IP 192.168.1.3 (dhcp 192.168.150-199)
>
> Thanks for help!
>
> Pol
>
>
Reply to: