<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">For example... would this work?:</span><br></div><div><br></div><div><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">-----------------------------------------------------</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">host 10-24-24-9 {</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"> host-identifier option agent.circuit-id "1.21.1.4/Ethernet9";</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"> fixed-address 10.24.24.9;</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"> server-name "192.168.0.12";</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"> filename "SomeCFG.cfg";</span></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">}</span></p></div><div><p class="p1" style="margin: 0px; font-family: 'Times New Roman', serif;" data-mce-style="margin: 0px; font-family: 'Times New Roman', serif;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">-----------------------------------------------------</span></p><p class="p1" style="margin: 0px; font-family: 'Times New Roman', serif;" data-mce-style="margin: 0px; font-family: 'Times New Roman', serif;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"><br></span></p><p class="p1" style="margin: 0px; font-family: 'Times New Roman', serif;" data-mce-style="margin: 0px; font-family: 'Times New Roman', serif;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">It passes muster as far as dhcpd doesn't complain and will run, but will the client receive the server-name / filename options?</span></p><div><br></div></div><div id="e0348634-667e-4419-a4bb-c159618b4b92"><span name="x" style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;"></span><br></div><div><br></br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"perl-list" <perl-list@network1.net><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Wednesday, January 22, 2014 12:25:11 PM<br><b>Subject: </b>Re: Static IP via Option 82 - methodology<br><div><br></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div>The problem, I am assuming here, seems to be that the initial DISCOVER - OFFER - REQUEST - ACK at some point fails to include the option 82 circuit-id data in the return to the relay agent using the host statement method. I'll break it down simply:</div><div><br></div><div>Working method:</div><div>----------------------------------</div><div><p style="margin: 0px;">class "10-24-24-9" {<br> match if option agent.circuit-id = "1.21.1.4/Ethernet9";<br>}</p><p style="margin: 0px;">subnet 10.24.24.0 netmask 255.255.255.0 {<br> option routers 10.24.24.1;<br> option subnet-mask 255.255.255.0;<br> pool {<br> server-name "192.168.0.12";<br> filename "SomeCFG.cfg";<br> deny dynamic bootp clients;<br> allow members of "10-24-24-9";<br> range 10.24.24.9;<br> }</p><p style="margin: 0px;">}</p></div><div>----------------------------------</div><div><br></div><div>Non-working method:</div><div>----------------------------------</div><div><div><p style="margin: 0px;">subnet 10.24.24.0 netmask 255.255.255.0 {<br> option routers 10.24.24.1;<br> option subnet-mask 255.255.255.0;<br></p><p style="margin: 0px;">}</p></div><p style="margin: 0px;">host 10-24-24-9 {<br> host-identifier option agent.circuit-id "1.21.1.4/Ethernet9";<br> fixed-address 10.24.24.9;<br>}</p></div><div><span>----------------------------------</span></div><div><br></div><div><br></div><div>oh man - i think I just realized why this didn't work. No TFTP file/server available. So now I have new questions as I didn't think about this before.</div><div><br></div><div>Can I put 'server-name "192.168.0.12";' in the subnet {} statement or does that have to be inside a pool {} statement?</div><div><br></div><div>Can I put 'filename "SomeCFG.cfg";' in the host {} declaration as we need different filenames for different hosts?</div><div><br></div><style><!--
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
@font-face
{font-family:"MS Sans Serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Andale Mono";
panose-1:0 0 0 0 0 0 0 0 0 0;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MailQuote, li.MailQuote, div.MailQuote
{mso-style-name:"Mail Quote";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:35.4pt;
margin-bottom:.0001pt;
text-autospace:none;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.p1, li.p1, div.p1
{mso-style-name:p1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.s1
{mso-style-name:s1;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.s2
{mso-style-name:s2;}
span.s3
{mso-style-name:s3;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></div><br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote><div><br></div></div></body></html>