<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY><!-- Converted from text/plain format -->
<P><FONT size=2><FONT face=Verdana>Hi Glenn,<BR>Excerpt from the dhcpd man page
under "DEFINING NEW OPTIONS"<BR><EM><STRONG>
ARRAYS<BR><BR> Options can
contain arrays of any of the above types except for
the<BR> text and data string types, which
aren't currently supported in arrays.<BR> An
example of an array definition is as
follows:<BR><BR> option kerberos-servers
code 200 = array of ip-address;<BR> option
kerberos-servers 10.20.10.1, 10.20.11.1;</STRONG></EM><BR><BR>I have added the
option as below in red to an already existing dhcpd.conf file.<BR><BR>subnet
192.168.1.0 netmask 255.255.255.0 {<BR>default-lease-time
86400;<BR>max-lease-time 86400;<BR>range 192.168.1.64 192.168.1.253;<BR>option
routers 192.168.1.254;<BR>option domain-name-servers 192.168.1.254;<BR>option
domain-name "domain_not_set.invalid";<BR><FONT color=#ff0000><STRONG><EM>option
OPTION_6RD code 201 = array of integer 8;<BR>Option OPTION_6RD
201,24,28,64,192,168,1,100,32,01,18,52,0,0,0,0,0,0,0,0,0,0,0,0;<BR></EM></STRONG></FONT>}</FONT></FONT></P>
<DIV><FONT size=2><FONT face=Verdana>Below is the error I
get</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>/etc/dhcpd.conf line 8: option
definitions may not be scoped.<BR>option OPTION_RD code<BR>^<BR>/etc/dhcpd.conf
line 9: unknown option dhcp.OPTION_RD<BR>option OPTION_RD
200,<BR>^<BR>Configuration file errors encountered --
exiting</STRONG><BR></FONT><FONT face=Verdana><FONT size=2></FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2>FYI : Link for the draft RFC which has a
mention of OPTION_6RD option<BR></FONT></FONT><A
href="http://tools.ietf.org/html/draft-ietf-softwire-ipv6-6rd-01"><FONT
face=Verdana
size=2>http://tools.ietf.org/html/draft-ietf-softwire-ipv6-6rd-01</FONT></A><BR><BR><FONT
size=2><FONT face=Verdana>Regards,<BR>Shashi</FONT><BR><BR><BR><BR>-----Original
Message-----<BR>From: dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org
[</FONT><A
href="mailto:dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org"><FONT
size=2>mailto:dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org</FONT></A><FONT
size=2>] On Behalf Of Glenn Satchell<BR>Sent: Friday, May 07, 2010 11:22
AM<BR>To: Users of ISC DHCP<BR>Subject: Re: Unable to add IPv6 option to dhcp
config file<BR><BR>Hi Shashi<BR><BR>Have you looked at the section "DEFINING NEW
OPTIONS" in the dhcp-options man page? This explains the format and syntax for
user defined or customised options.<BR><BR>Can you post the code you have tried
and whatever the definition is in the RFC? Someone here may be able to correct
it for you.<BR><BR>regards,<BR>-glenn<BR><BR>On 05/07/10 15:19, ShashidharReddy
Polepalli-JDXW34 wrote:<BR>> The draft and IANA appears to have not assigned
option code.<BR>> I have tried to add my own option code number in couple of
ways. It<BR>> either says unrecognized option or option not scoped.<BR>>
Would it be possible to define your own option number , name and<BR>> define
your own organized array as per draft RFC?<BR>> Regards,<BR>>
Shashi<BR>><BR>>
----------------------------------------------------------------------<BR>>
--<BR>> *From:*
dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org<BR>> [</FONT><A
href="mailto:dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org"><FONT
size=2>mailto:dhcp-users-bounces+shashidhar=motorola.com@lists.isc.org</FONT></A><FONT
size=2>] *On<BR>> Behalf Of *Patrik Lahti<BR>> *Sent:* Thursday, May 06,
2010 8:01 PM<BR>> *To:* Users of ISC DHCP<BR>> *Subject:* Re: Unable to
add IPv6 option to dhcp config file<BR>><BR>> What are you trying to put
into dhcpd.conf exactly?<BR>><BR>> Could the problem be that it's a draft
and IANA hasn't assigned an<BR>> option code for OPTION_6RD?<BR>><BR>>
/P<BR>><BR>> On 06/05/10 08:36 AM, ShashidharReddy Polepalli-JDXW34
wrote:<BR>>> Hi,<BR>>> Im unable to add OPTION_6RD to the dhcpd.conf
file as mentioned in<BR>>> the </FONT><A
href="http://tools.ietf.org/html/draft-ietf-softwire-ipv6-6rd-01"><FONT
size=2>http://tools.ietf.org/html/draft-ietf-softwire-ipv6-6rd-01</FONT></A><BR><FONT
size=2>>> Would appreciate quick response in this regard.<BR>>>
Thanks,<BR>>>
Shashi<BR>>><BR>_______________________________________________<BR>dhcp-users
mailing list<BR>dhcp-users@lists.isc.org<BR></FONT><A
href="https://lists.isc.org/mailman/listinfo/dhcp-users"><FONT
size=2>https://lists.isc.org/mailman/listinfo/dhcp-users</FONT></A><BR></DIV></BODY></HTML>