<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>ISC.ORG Community:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have all the DHCP option data coming
from my DSLAM up through up to my DHCP server as seen below.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Example of dhcpd.log show dhcp option 82
data:<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=1 color=black face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:black;font-weight:bold'><br>
Apr 25 13:57:08 inetdhcp dhcpd: DHCPDISCOVER from 00:90:d0:25:46:a4 via
172.21.61.1 <br>
Apr 25 13:57:08 inetdhcp dhcpd: DHCPOFFER on 172.21.61.10 to 00:90:d0:25:46:a4
via 172.21.61.1 <br>
<span style='background:lime'>Apr 25 13:57:08 inetdhcp dhcpd: Lease for
172.21.61.10 is connected to ADSL Port 1, on VPI/VCI 0/35, VLAN 310 on Switch
172.16.105.2</span> <br>
Apr 25 13:57:08 inetdhcp dhcpd: DHCPREQUEST for 172.21.61.10 (192.168.250.200)
from 00:90:d0:25:46:a4 via 172.21.61.1 <br>
Apr 25 13:57:08 inetdhcp dhcpd: DHCPACK on 172.21.61.10 to 00:90:d0:25:46:a4
via 172.21.61.1</span></font></b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Got this simply by turning on </span></font><b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;background:
lime;font-weight:bold'>“dhcpr enable”</span></font></b><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'> in theDSLAM and then on the VLAN interfaces on the Cisco 7609-S
configuring</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <span style='background:lime'>“</span></span></font><b><font
size=1 face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;background:
lime;font-weight:bold'>ip dhcp relay information trusted”</span></font></b><b><font
size=1 face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;font-weight:
bold'> </span></font></b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>and adding the following
config to the global section of my dhcpd.conf file:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><b><font size=1 color=black face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:black;background:lime;
font-weight:bold'>if exists agent.circuit-id <br>
{ <br>
log (info, concat("Lease for ", binary-to-ascii (10, 8,
".", leased-address), " is connected to ADSL Port ", <br>
binary-to-ascii (10, 8, "", substring(option agent.circuit-id, 0,
1)), ", on VPI/VCI ", <br>
binary-to-ascii (10, 16, "/", substring(option agent.circuit-id, 1,
4)), ", VLAN ", <br>
binary-to-ascii (10, 32, "", substring(option agent.circuit-id, 5,
4)), " on Switch ", <br>
binary-to-ascii (10, 8, ".", substring(option agent.circuit-id, 9,
4)))); <br>
}</span></font></b><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><b><font size=4 color=navy face=Tahoma><span
style='font-size:14.0pt;font-family:Tahoma;color:navy;font-weight:bold'>My
Question is:</span></font></b><b><font size=4 face=Tahoma><span
style='font-size:14.0pt;font-family:Tahoma;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>How do configure ISC.ORG dhcpd.conf file
to assign fixed-address based on the circuit ID information as opposed to the
MAC-ID.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We have been doing the following which
works but is cumbersum as CPE MAC ID change frequently:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'># <st1:place
w:st="on"><st1:PlaceName w:st="on">TEST</st1:PlaceName> <st1:PlaceType w:st="on">PORT</st1:PlaceType></st1:place>
1 <br>
host rgn-172-21-61-10 { <br>
hardware ethernet 00:90:d0:25:46:a4; <br>
fixed-address 172.21.61.10; <br>
} </span></font><b><font size=1 color=black face=Tahoma><span style='font-size:
9.0pt;font-family:Tahoma;color:black;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=1 color=purple face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:purple;font-weight:bold'>And
want I want to do is something like this (note this is not the correct syntax
to configure this properly this but gives you the logic of what I am after:<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=1 color=purple face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:purple;font-weight:bold'><br>
To something like <br>
# <st1:PlaceName w:st="on">TEST</st1:PlaceName> <st1:PlaceType w:st="on">PORT</st1:PlaceType>
1 <br>
host rgn-172-21-61-10 { <br>
agent.circuitID <st1:place w:st="on"><st1:PlaceName w:st="on"><span
  style='background:lime'>ADSL</span></st1:PlaceName><span style='background:
 lime'> <st1:PlaceType w:st="on">Port</st1:PlaceType></span></st1:place><span
style='background:lime'> 1, on VPI/VCI 0/35, VLAN 310 on Switch 172.16.105.2</span>;
<br>
fixed-address 172.21.61.10; <br>
}<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=1 color=black face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:black;font-weight:bold'><o:p> </o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does anyone have ISC.ORG DHCP configured
properly where it is working to assign fixed IP address based on circuit id
information from option 82? If so, I would be very interested in hearing from
your as to how you properly configure this scenario. Most of my research so far
indicates I have to have ISC.ORG 3.x (which I do) and use client class and
subclass but I cannot find working examples of this nor do I know if it is the
correct direction to pursue or not. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I thank you in advance for any assistance
you may be able to offer me.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thank you,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>Ryan Zierden<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>IT Manager<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;font-family:Arial;color:navy'>diversiCOM – MTC<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=DE style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>