how to load balance static hosts requests ?

Rick fddi at comcast.net
Wed Jul 7 20:32:59 UTC 2021


Hello,

in my setup I do have two dhcp servers configured in a failover pool.
The DHCP requests are managed by the two servers and automatically load 
balanced using "split 128".

Here is my failover config on the primary:

failover peer "dhcpd-peer" {
      primary;
      address 192.168.122.201;
      port 647;
      peer address 192.168.122.202;
      peer port 847;
      max-response-delay 60;
      max-unacked-updates 10;
      mclt 1800;
      split 128;
      load balance max seconds 3;
}

similar configuration on the secondary and here is the defined pool:

subnet 192.168.122.0 netmask 255.255.255.0 {
         option domain-name-servers 172.21.32.31, 172.21.32.32;
         option routers 192.168.122.1;
         pool {
                 failover peer "dhcpd-peer";
                 range 192.168.122.2 192.168.122.20;
         }
}

Even though this works well for the range in the failover pool, most of 
my dhcp entries are static host fixed-address entries pushed into OMAPI 
via a custom script or with foreman. And while the load balancing works 
very well for the range in the pool, there is no load balancing for most 
of my dhcp requests because they are all static host entries. I 
understand this is the normal behavior.

But how can I do if I want to implement a load balanced feature for my 
static defined host entries as is it already for the dynamic pool ?

How can the static hosts DHCP requests be load balanced ?

Thank you

Rick









More information about the dhcp-users mailing list