Skip to content

nielsek/split-scope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

split-scope

Split IPv{4,6} subnets into multiple DHCP ranges.

Input: .csv

Output: isc-dhcpd config files

CSV format: (look in samples)

Column A - network - eg 10.1.0.0 or 10.1.0.0/24
Column B - netmask - eg 255.255.255.0 or
Column C - statics - eg 31
Column D - dhcpware/splitpercent - eg dhcpd/60,kea/30,dhcpd/10 (split between 3 hosts 60%,30%,10%)
Column E - gateway - eg 10.1.0.1
Column F - leasetime - eg 10800
Column G - pool options - eg failover peer "rf";
Column H - subnet options - eg option domain-name-servers 10.0.224.10, 10.0.225.10; class "pxe" { match if ( (substring(option vendor-class-identifier, 0, 9) = "PXEClient") or (substring(option vendor-class-identifier, 0, 9) = "Etherboot") ); filename "pxelinux.0"; };

About

Split subnets into multiple DHCP ranges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages