Difference between revisions of "ISC DHCP Server (non kea)"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) |
Michael.mast (talk | contribs) |
||
Line 9: | Line 9: | ||
option classless-routes 24, 192, 168, 100, 192, 168, 1, 2; | option classless-routes 24, 192, 168, 100, 192, 168, 1, 2; | ||
*24, = Defines this as a /24 subnet | *24, = Defines this as a /24 subnet | ||
− | *192, 168, 100, = Defines the subnet as 192.168.100.0 | + | *192, 168, 100, = Defines the subnet as 192.168.100.0 (we leave off zeros) |
*192, 168, 1, 2 = Defines the gateway | *192, 168, 1, 2 = Defines the gateway | ||
<ref>https://tools.ietf.org/html/rfc3442</ref><ref>https://ercpe.de/blog/pushing-static-routes-with-isc-dhcp-server</ref><ref>https://gauvain.pocentek.net/docs/dhcpd-push-routes/</ref><ref>https://tmgblog.richardhicks.com/2009/01/08/using-dhcp-to-assign-static-routes/</ref><ref>https://forums.freebsd.org/threads/40584/</ref> | <ref>https://tools.ietf.org/html/rfc3442</ref><ref>https://ercpe.de/blog/pushing-static-routes-with-isc-dhcp-server</ref><ref>https://gauvain.pocentek.net/docs/dhcpd-push-routes/</ref><ref>https://tmgblog.richardhicks.com/2009/01/08/using-dhcp-to-assign-static-routes/</ref><ref>https://forums.freebsd.org/threads/40584/</ref> |
Latest revision as of 09:56, 31 March 2017
Various options I have used
Mitel
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 192.168.100.0 (we leave off zeros)
- 192, 168, 1, 2 = Defines the gateway