<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hi list<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I’m using a Cisco 7201 with the
capability of inserting option 82 data in dhcp requests.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I want to use the suboption 6
(subscriber-id) which is possible in the IOS release we use. My problem is how
to use this on my dhcp server (dhcpd 3.0.4). I’m pretty sure that I need
to define my own option (82) but I can find no similar examples which makes it
pretty difficult. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Below is an example of the dhcp discover
packet.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Option: (t=82,l=26) Agent Information
Option<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     Option: (82) Agent Information Option<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     Length: 26<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     Value: 020E030C00005CF3E691000004B6000C0608313030353837...<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     Agent Remote ID:
030C00005CF3E691000004B6000C<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>     Subscriber ID: 3130303538373832<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>End Option<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>0000   02 0e 03 0c 00 00 5c f3 e6 91 00 00
04 b6 00 0c  ......\.........<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>0010   06 08 31 30 30 35 38 37 38 32                    ..10058782<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I want to use the string “10058782”
from the option 82 suboption 6 (subscriber-id) which we have set on the interface
on the 7201 router.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Hope that anybody can point me in the right
direction.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Kind Regards<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Kristian S<o:p></o:p></span></p>

</div>

</body>

</html>