Configuration for option 121

David W. Hankins David_Hankins at isc.org
Fri Jul 28 15:59:35 UTC 2006


On Thu, Jul 27, 2006 at 08:33:34PM -0500, Eric Helm wrote:
> 1.1.1.1/32 to 5.5.5.1
> 2.2.2.0/24 to 5.5.5.1
> 3.3.3.0/24 to 5.5.5.1
> 
> Does anyone have a good example of how to setup the dhcpd.conf file for
> this requirement?

The easiest way I can think of:

	option classless-routes code 121 = array of uint8;

	option classless-routes 32, 1,1,1,1, 5,5,5,1,
				24, 2,2,2,   5,5,5,1,
				24, 3,3,3,   5,5,5,1;

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


More information about the dhcp-users mailing list