Question

Glenn Satchell Glenn.Satchell at uniq.com.au
Sat Oct 4 15:34:36 UTC 2008


>X-IronPort-AV: E=Sophos;i="4.33,358,1220227200";  
d="gif'147?scan'147,208,217,147";a="23191002"
>Content-class: urn:content-classes:message
>Subject: Question
>Date: Fri, 3 Oct 2008 15:50:37 -0400
>X-MS-Has-Attach: yes
>X-MS-TNEF-Correlator: 
>Thread-Topic: Question
>From: "Epstein, Randy" <EpsteiR at cisco.com>
>To: <dhcp-users at isc.org>
>X-OriginalArrivalTime: 03 Oct 2008 19:50:38.0427 (UTC) 
FILETIME=[4F18A2B0:01C92591]
>X-ST-MF-Message-Resent: 10/3/2008 15:50
>Authentication-Results: rtp-dkim-2; header.From=EpsteiR at cisco.com; dkim=pass ( 
sig from cisco.com/rtpdkim2001 verified; ); 
>X-archive-position: 7169
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: EpsteiR at cisco.com
>List-software: Ecartis version 1.0.0
>X-List-ID: <dhcp-users.isc.org>
>X-list: dhcp-users
>
> 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