Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: dhcp failover question (Simon Hobson)
   2. Re: dhcp failover question (Rob Moser)
   3. Re: dhcp failover question (Simon Hobson)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Feb 2018 20:47:06 +0000
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcp failover question
Message-ID: <c8326279-08b2-4f45-90c4-f4448b78b...@thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

Julie Xu <j...@westernsydney.edu.au> wrote:

> I am dreaming to put a large subnet, assume it is 10.1.0.0/20. This is for 
> dynamic range. Not reversed ip.
>  
> Assume, I have 4 dhcpd servers. I want put this large subnet for all of them. 
> Can I:
> -          Can I give 4 dhcpd servers subnet statement same? Same gateway 
> address, same boardcast address?

Yes - you normally want to be giving the same gateway etc to all clients.

> -          Can I setup different pool range for every dhcpd server? Average 
> every server has a 1000 dynamic range start with different node number?

Yes, each server can have a different range - but they should NOT overlap.

> -          Can I setup them behind LB?

No. You cannot load balance requests, because it would mean clients randomly 
contacting a server that knew nothing about it's lease.

> -          Can I not use LB, but, setup VIP around the 4 server? If so, how 
> can I do it?

No, each server must have a unique address.

What you can do is setup the servers in failover pairs (only pairs, you can't 
have 3 or more sharing a single pool) - pairs are configured per pool, not per 
subnet. There are different ways of doing this. Lets call the servers A, B, C, D

You could split the subnet into two pools, about 2000 addresses in each. All 
the servers have the SAME subnet declarations, but the pools (ranges) are 
different. Servers A and B run a failover pair for one pool; servers C and D 
run a failover pair for the other pool.

Or you could split the subnet into 4 pools, and split them along these lines :
A & B, B & C, C & D, D & A


Or you can run four independent servers, each managing about 1/4 of the 
addresses. If one server fails, then clients will eventually get a new address 
from one of the other servers. This is a fairly simple setup to manage, and as 
long as you have roughly 1/4 of the addresses spare and are prepared for 
clients to change address if a server is down for too long then it works 
without the overhead of failover.


And for anything with a static address, you can put the same host statements in 
more than one server.




------------------------------

Message: 2
Date: Thu, 22 Feb 2018 21:08:48 +0000
From: Rob Moser <rob.mo...@nau.edu>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcp failover question
Message-ID: <de6eb1871cb244d199fcc37cf40c9...@nau.edu>
Content-Type: text/plain; charset="iso-8859-1"







Simon Hobson <dh...@thehobsons.co.uk> wrote:
?   
> Julie Xu <j...@westernsydney.edu.au> wrote:

> > -????????? Can I setup them behind LB?

> No. You cannot load balance requests, because it would mean clients randomly 
> contacting a server that knew nothing about it's lease.

Well to be fair, most modern load-balancers will have some method of sending 
the same client persistently to the same back-end server.  But how to achieve 
that would be a question for the folks who built/run your load-balancer; dhcpd 
doesn't have anything to do with it.

     - rob.

------------------------------

Message: 3
Date: Thu, 22 Feb 2018 21:40:52 +0000
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcp failover question
Message-ID: <ff6ba453-313e-464c-a856-cea576b9f...@thehobsons.co.uk>
Content-Type: text/plain; charset=iso-8859-1

Rob Moser <rob.mo...@nau.edu> wrote:

>>> -          Can I setup them behind LB?
> 
>> No. You cannot load balance requests, because it would mean clients randomly 
>> contacting a server that knew nothing about it's lease.
> 
> Well to be fair, most modern load-balancers will have some method of sending 
> the same client persistently to the same back-end server.  But how to achieve 
> that would be a question for the folks who built/run your load-balancer; 
> dhcpd doesn't have anything to do with it.

But what happens if a server goes down ? Presumably the LB will re-route 
requests to a different server - which of course will have no knowledge of what 
the others servers have been doing.

So you either have to have non-overlapping ranges across the servers - in other 
words, the same as just running multiple independent servers and the LB does 
nothing useful for you.
Or the servers have to have knowledge of what the other servers have been doing 
- in other words, like running failover.




------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 112, Issue 12
*******************************************

Reply via email to