Wednesday, June 15, 2016

Utilizing Kea hook points for modern IP addressing (DHCP)

Kea is a new high performance, open source project for DHCP IPv4 and IPv6 addressing.
"No restart required unless physical interfaces change"

Facebook Kea DHCP servers all answer on one IP address
Facebook proposed using Ke dbase to also store Kea config to provide hitless config with no restart


Kea has hook points where you can add your own logic to parse incoming DHCP packets and modify them as you like right before they leave the server network interface. These hook points have given Kea traction in modern provisioning of large datacenters.

Despite Kea’s relatively young age, Facebook has leveraged the hooks feature extensively to customize Kea to meet their production requirements. Easily extensible hooks can lead an organization to re-think how it might best address and provision its networks.

Hook points include: packet received, subnet selected, lease renewed, lease released, and ready to respond.

Using hooks, it is possible to control the assignment of options and even addresses from your own separate provisioning system. Hooks allow the developer to edit information such as the lease parameters (time to renew), the subnet, address or options to be delivered.

https://www.nanog.org/sites/default/files/Winstead_Utilizing_Kea_Hook.pdf

No comments:

Post a Comment