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. multi interfaces(vlans) configuration (ahiya)
   2. Re: multi interfaces(vlans) configuration
      (glenn.satch...@uniq.com.au)
   3. RE: multi interfaces(vlans) configuration (Ahiya Zadok)
   4. Re: multi interfaces(vlans) configuration
      (glenn.satch...@uniq.com.au)


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

Message: 1
Date: Wed, 7 Oct 2020 23:57:49 -0500 (CDT)
From: ahiya <ah...@younity.io>
To: dhcp-users@lists.isc.org
Subject: multi interfaces(vlans) configuration
Message-ID: <1602133069722-0.p...@n4.nabble.com>
Content-Type: text/plain; charset=us-ascii

I'm new to isc/kea.I have multi-sites with around 2000-5000 devices per
site.the real issue is that they are spread across 500 different VLANs.I
wanted to know is isc/kea is the right solution for that task.and what is
the right way to implement it?if the only service I need is dhcp4 serving
all these segments, what will be the HW requirements for this task?
Raspberry PI4 with 8G mem will be enough?should I use .conf files or should
I go for the backend server?ill appreciate any feedback.thanks a lot.



--
Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/


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

Message: 2
Date: Thu, 08 Oct 2020 18:53:53 +1100
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: multi interfaces(vlans) configuration
Message-ID: <646c36f50fddc2bfc1ccb077221cc...@uniq.com.au>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi,

The size of the server depends on two things - the number of clients and 
how often they renew their lease.

Eg if they renew once every hour versus once every day then that takes 
24 times as much cpu reources in the work done to renew the leases and 
record the updates.

Secondly a large amount of the lease data is kept in memory, so the 
number of lease affects the memory size.

So, how many sites? You say 500 vlans - which I guess equates to subnets 
- that's what dhcpd configuration needs. And how many devices per subnet 
typically? A subnet doesn't have to be a /24, it can be any size that is 
suitable for that subnet, eg multiple /24 pools, /21 will give 2048 
addresses, /20 will give 4096, or bigger if needed.

Others running large number of clients, say 10-20k can probably offer 
better advice, but I don't think a PI4 with 8GB is not going to have 
enough memory, cpu or storage I/O.

You'll probably want a server with 32 or 64GB memory and SSD or NVME 
disks for high throughput. With that many clients then 10 or 25 Gigabit 
network is probably needed too.

You'll also need to think about what bandwidth you have in your 
back-haul networks back to the central network where the dhcp server is.

However, a PI4 is cheap so you could try one out to see how it goes.

regards,
-glenn

On 2020-10-08 15:57, ahiya wrote:
> I'm new to isc/kea.I have multi-sites with around 2000-5000 devices per
> site.the real issue is that they are spread across 500 different 
> VLANs.I
> wanted to know is isc/kea is the right solution for that task.and what 
> is
> the right way to implement it?if the only service I need is dhcp4 
> serving
> all these segments, what will be the HW requirements for this task?
> Raspberry PI4 with 8G mem will be enough?should I use .conf files or 
> should
> I go for the backend server?ill appreciate any feedback.thanks a lot.
> 
> 
> 
> --
> Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


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

Message: 3
Date: Thu, 8 Oct 2020 11:02:30 +0300
From: Ahiya Zadok <ah...@younity.io>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: RE: multi interfaces(vlans) configuration
Message-ID: <ee325f100e41e440b99f1dc632d90...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Thanks, Glenn

Regarding the number of sites- I plan to have a server per site.
Each site will have around 500 subnets with around 10-15 devices per
subnet.
Does the number of IPs per subnet affect memory even when they are not
assigned?
This is MDUs installation so 24H lease is good enough.


-----Original Message-----
From: dhcp-users <dhcp-users-boun...@lists.isc.org> On Behalf Of
glenn.satch...@uniq.com.au
Sent: Thursday, October 8, 2020 10:54 AM
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: multi interfaces(vlans) configuration

Hi,

The size of the server depends on two things - the number of clients and
how often they renew their lease.

Eg if they renew once every hour versus once every day then that takes
24 times as much cpu reources in the work done to renew the leases and
record the updates.

Secondly a large amount of the lease data is kept in memory, so the number
of lease affects the memory size.

So, how many sites? You say 500 vlans - which I guess equates to subnets
- that's what dhcpd configuration needs. And how many devices per subnet
typically? A subnet doesn't have to be a /24, it can be any size that is
suitable for that subnet, eg multiple /24 pools, /21 will give 2048
addresses, /20 will give 4096, or bigger if needed.

Others running large number of clients, say 10-20k can probably offer
better advice, but I don't think a PI4 with 8GB is not going to have
enough memory, cpu or storage I/O.

You'll probably want a server with 32 or 64GB memory and SSD or NVME disks
for high throughput. With that many clients then 10 or 25 Gigabit network
is probably needed too.

You'll also need to think about what bandwidth you have in your back-haul
networks back to the central network where the dhcp server is.

However, a PI4 is cheap so you could try one out to see how it goes.

regards,
-glenn

On 2020-10-08 15:57, ahiya wrote:
> I'm new to isc/kea.I have multi-sites with around 2000-5000 devices
> per site.the real issue is that they are spread across 500 different
> VLANs.I wanted to know is isc/kea is the right solution for that
> task.and what is the right way to implement it?if the only service I
> need is dhcp4 serving all these segments, what will be the HW
> requirements for this task?
> Raspberry PI4 with 8G mem will be enough?should I use .conf files or
> should I go for the backend server?ill appreciate any feedback.thanks
> a lot.
>
>
>
> --
> Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
ISC funds the development of this software with paid support
subscriptions. Contact us at https://www.isc.org/contact/ for more
information.

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


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

Message: 4
Date: Thu, 08 Oct 2020 19:37:33 +1100
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: multi interfaces(vlans) configuration
Message-ID: <083bc0c9465a3759d067876d21631...@uniq.com.au>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi Ahiya

I'm not sure about memory usage per IP. I seem to vaguely remember that 
having configuration with say a /16 subnet and only a few devices used a 
lot more memory than a smaller subnet like a /24 with the same number of 
devices.

With 24 hour lease a PI4 might get by. Based on a quick calculation of 
my lease file, where I have just under 400 bytes per lease, I think 
you'll need about 2MB for your leases file. This will need to be fast 
storage such as an SSD.

As I said before a PI4 is cheap so you could buy one or two to try in 
that size network. To keep your cost down I guess you could deploy more 
than one PI4 at each site and split the subnet between them to create a 
manageable workload if one PI4 wasn't powerful enough.

With that many subnets and sites I would look at a backend server that 
used a database or spreadsheet to hold the data and a script to generate 
all the configuration files and push them out to the individual servers 
and restart the dhcpd service. That's going to make your life a lot 
easier.

regards,
Glenn

On 2020-10-08 19:02, Ahiya Zadok wrote:
> Thanks, Glenn
> 
> Regarding the number of sites- I plan to have a server per site.
> Each site will have around 500 subnets with around 10-15 devices per
> subnet.
> Does the number of IPs per subnet affect memory even when they are not
> assigned?
> This is MDUs installation so 24H lease is good enough.
> 
> 
> -----Original Message-----
> From: dhcp-users <dhcp-users-boun...@lists.isc.org> On Behalf Of
> glenn.satch...@uniq.com.au
> Sent: Thursday, October 8, 2020 10:54 AM
> To: Users of ISC DHCP <dhcp-users@lists.isc.org>
> Subject: Re: multi interfaces(vlans) configuration
> 
> Hi,
> 
> The size of the server depends on two things - the number of clients 
> and
> how often they renew their lease.
> 
> Eg if they renew once every hour versus once every day then that takes
> 24 times as much cpu reources in the work done to renew the leases and
> record the updates.
> 
> Secondly a large amount of the lease data is kept in memory, so the 
> number
> of lease affects the memory size.
> 
> So, how many sites? You say 500 vlans - which I guess equates to 
> subnets
> - that's what dhcpd configuration needs. And how many devices per 
> subnet
> typically? A subnet doesn't have to be a /24, it can be any size that 
> is
> suitable for that subnet, eg multiple /24 pools, /21 will give 2048
> addresses, /20 will give 4096, or bigger if needed.
> 
> Others running large number of clients, say 10-20k can probably offer
> better advice, but I don't think a PI4 with 8GB is not going to have
> enough memory, cpu or storage I/O.
> 
> You'll probably want a server with 32 or 64GB memory and SSD or NVME 
> disks
> for high throughput. With that many clients then 10 or 25 Gigabit 
> network
> is probably needed too.
> 
> You'll also need to think about what bandwidth you have in your 
> back-haul
> networks back to the central network where the dhcp server is.
> 
> However, a PI4 is cheap so you could try one out to see how it goes.
> 
> regards,
> -glenn
> 
> On 2020-10-08 15:57, ahiya wrote:
>> I'm new to isc/kea.I have multi-sites with around 2000-5000 devices
>> per site.the real issue is that they are spread across 500 different
>> VLANs.I wanted to know is isc/kea is the right solution for that
>> task.and what is the right way to implement it?if the only service I
>> need is dhcp4 serving all these segments, what will be the HW
>> requirements for this task?
>> Raspberry PI4 with 8G mem will be enough?should I use .conf files or
>> should I go for the backend server?ill appreciate any feedback.thanks
>> a lot.
>> 
>> 
>> 
>> --
>> Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
>> _______________________________________________
>> ISC funds the development of this software with paid support
>> subscriptions. Contact us at https://www.isc.org/contact/ for more
>> information.
>> 
>> dhcp-users mailing list
>> dhcp-users@lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


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

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

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


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

End of dhcp-users Digest, Vol 144, Issue 1
******************************************

Reply via email to