
(Migrating to Kea from ISC DHCP)
Created: 2020-12-02 Wed 11:31
























wget http://ftp.isc.org/isc/dhcp/4.4.2/dhcp-4.4.2.tar.gz tar xvfz dhcp-4.4.2.tar.gz


configure script will check the running operating system
and will create the build files required to compile KeaMAcd dhcp-4.2.2/ ./configure


configure script returns without error, the KeaMA tool
can be buildcd keama make


keama [ -4 | -6] [ -D ] [ -N ] [ -r {perform|fatal|pass} ] \
[ -l hook-library-path ] [ -i input-file ] [ -o output-file ]


-N will place host reservations in the appropriate
subnet-r pass will pass host names into the Kea DHCP
configuration. Often these host names need to be replaced with
their IP addresses manually../keama -4 -N -r pass -i dhcpd.conf -o kea-dhcp4.conf


{
# dhcpd.conf
/// This configuration declares some subnets but has no interfaces-config
/// Reference Kea #245
"Dhcp4": {
// "statement": {
// "config": {
// "value": "allow",
// "name": "allow-booting",
// "code": 9
// }
// },
"dhcp-ddns": {
"qualifying-suffix": "home.example.com",
"enable-updates": true
},
[...]






permit or deny in
ISC DHCP


















[...]
"client-classes": [
{
"name": "virtualbox",
/// from: match if (substring(hardware, 1, 3)) = 0x080027
"test": "substring(pkt4.mac,0,3) == 0x080027"
},
[...]


[...]
{
"name": "gen#virtualbox#!KNOWN#_AND_#!microsoft-client#",
"test": "(member('virtualbox') or not member('KNOWN')) and not member('microsoft-client')"
},
{
"name": "gen#!KNOWN#_AND_#!virtualbox#!microsoft-client#",
"test": "(not member('KNOWN')) and not member('virtualbox') and not member('microsoft-client')"
}
[...]


flex_id or
flex_option hooks)



























ISC webinars are taking a break until the new year and ISC will announce new webinars early in 2021.




