ISC DHCP Server (non kea)

From Michael's Information Zone
Jump to navigation Jump to search

Various options I have used


Classless static routes

This one was interesting in how the data was formatted. You first specify the subnet, then the destination, then the router. In the examples below we describe the option as "classless-routes", but I like the "rfc3442-classless-static-routes" description better as it better defines the "standard". In the global options define the classless route option

option classless-routes code 121 = array of unsigned integer 8;

Then in the subnet options set your classless route

option classless-routes 24, 192, 168, 100, 192, 168, 1, 2;
  • 24, = Defines this as a /24 subnet
  • 192, 168, 100, = Defines the subnet as (we leave off zeros)
  • 192, 168, 1, 2 = Defines the gateway