Question

Frank Bulk frnkblk at iname.com
Mon Oct 6 21:18:46 UTC 2008


Option 122 was defined by Cable Labs.  Here's something I wrote up before:

http://archives.devshed.com/forums/networking-100/how-to-add-suboptions-for-
option-122-in-dhcp-server-2239468.html

Frank

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
Of Glenn Satchell
Sent: Saturday, October 04, 2008 10:35 AM
To: dhcp-users at isc.org
Subject: Re: Question


>
> I'm running V3.1.0 and am wondering why the following does not work.
>
> option option-122 01:04:ff:ff:ff:ff;
>
>
> Randy Epstein
> Manager, Marketing Technical Operations
>
> epsteir at cisco.com
> Phone :(770)236-3985
> Mobile :(770)329-0067

That syntax is from version 2.0.

In v3.0 and later there are user defined option names, so you need
to define your option name and the parameters it takes.  See man
dhcp-options and look for the section titled "DEFINING NEW OPTIONS". In
this case you want something like:

# define the option, usually near the top of the file
option some-name-i-like code 122 = string;
# or
option option-122 code 122 = string;

# now fill in the value
option some-name-i-like = 01:04:ff:ff:ff:ff;
# or
option option-122 = 01:04:ff:ff:ff:ff;

regards,
-glenn





More information about the dhcp-users mailing list