Help with selecting subnets from relay

Robert Fisher rfisher at sitestar.net
Fri Mar 10 04:21:37 UTC 2006


---------------------------------- dhcpd.conf --------------------------

authoritative;
option domain-name		"sitestar.net";
option domain-name-servers	63.166.99.37, 205.160.234.10;
option time-offset		-18000; #EST	
default-lease-time		21600;
min-lease-time			21600;
max-lease-time			21600;
ddns-update-style		none;

# Local subnet
subnet 63.166.99.32 netmask 255.255.255.224 {
	option routers		63.166.99.33;
	option subnet-mask	255.255.255.224;
	range 63.166.99.52 63.166.99.62;
}

# CPE Subnet
subnet 65.172.248.0 netmask 255.255.252.0 {
	option routers			65.172.248.1;
	option subnet-mask		255.255.252.0;
	range 65.172.248.2 65.172.251.253;
}

# CM Subnet
subnet 10.1.0.0 netmask 255.255.252.0 {

	deny				unknown-clients;
	boot-unknown-clients		off;

	option routers			10.1.0.1;
	option subnet-mask		255.255.252.0;
	range dynamic-bootp 		10.1.0.2 10.1.3.254;

	option time-servers		63.166.99.37;
	option log-servers		63.166.99.37;
	option tftp-server-name		"63.166.99.37";
	filename			"cos_upg.cfg";
}

group cable {

	# This group is purely to pass the deny unknown-clients from
	# the CM subnet.  The list is polled from a database then
	# the server is restarted.  Someday, if I ever find a way
	# to remove host entries with OMAPI this might change, but
	# I doubt I'll overcome the inertia of laziness.

	#  Sample host entry for a cable modem.
	#  host XXXXX-YYY { hardware ethernet AA:BB:CC:DD:EE:FF; }

}


More information about the dhcp-users mailing list