<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Patrick,<br></blockquote><div><br></div><div> Here's i want to accomplish:</div>
<div><br></div><div> 1. Check if Option 61 value is in the class entry (ex. client-circuitid_class), If YES, then check if Circuit-id is is the available, if no Circuit-id please assign IP address from IP Pool.</div><div>
<br></div><div> 2. If both Option 61 and Circuit-iD are present, compared it to the class entry (e.g client-circuitid_class). If matches the entry, please assign IP address from IP Pool.</div><div><br></div><div> 3. Option 61 is not defined (null) but Circuit-id is available and can be found in the class entry (e.g client-circuitid_class), please assign IP address from IP pool.</div>
<div><br></div><div>I hope this pseudocode helps.</div><div><br></div><div>Best Regards,<br>Lyndon</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 2<br>
Date: Tue, 18 Mar 2014 09:22:02 +0000<br>
From: Patrick Trapp <<a href="mailto:ptrapp@nex-tech.com">ptrapp@nex-tech.com</a>><br>
To: Users of ISC DHCP <<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br>
Subject: RE: Matching client DHCP request against Option 61 and Option<br>
82 (circuit id)<br>
Message-ID:<br>
<<a href="mailto:1D507D610594D14F86D40D77C17E9E6619E957A3@EXCHANGEDSB.ruralnex.com">1D507D610594D14F86D40D77C17E9E6619E957A3@EXCHANGEDSB.ruralnex.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Off the top of my head, I'm not remembering what Option 61 is, but I have a fair bit of practice with match statements. Have you worked it out yet? Do you have an obfuscated example of what you are trying to accomplish in pseudocode to get the conversation started?<br>
<br>
Something like<br>
<br>
If Option 82 is "circuit-id-1", do something 1. If Option 82 is "circuit-id-1" and Option 61 is present, do something 2. If Option 82 is "circuit-id-2" and Option 61 is "option-61-first", do something 3.<br>
<br>
More detail is better, especially if you have worked out part of the config and we don't have to sweat that part. I'm at GMT-6, so I'm not sure how well our schedules will mesh (it's rather early for me as I type this) but if that's not a deterrent, let's see what we can do.<br>
<br>
Patrick<br>
<br>
________________________________<br>
From: dhcp-users-bounces+ptrapp=<a href="mailto:nex-tech.com@lists.isc.org">nex-tech.com@lists.isc.org</a> [dhcp-users-bounces+ptrapp=<a href="mailto:nex-tech.com@lists.isc.org">nex-tech.com@lists.isc.org</a>] on behalf of lyndon villas [<a href="mailto:sox316@gmail.com">sox316@gmail.com</a>]<br>
Sent: Monday, March 17, 2014 10:27 PM<br>
To: <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
Subject: Matching client DHCP request against Option 61 and Option 82 (circuit id)<br>
<br>
Hi All,<br>
<br>
I'm trying to configure my DHCP server to match client request against Option 61 and Option 82 circuit-id. Client request may also contain on Option 61. I'm not a programming geek, your help in creating a match statement is much appreciated.<br>
<br>
Thanks in advance.<br>
<br>
--<br>
Regards,<br>
<br>
Sox 316<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.isc.org/pipermail/dhcp-users/attachments/20140318/d07230f7/attachment-0001.html" target="_blank">https://lists.isc.org/pipermail/dhcp-users/attachments/20140318/d07230f7/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
End of dhcp-users Digest, Vol 65, Issue 11<br>
******************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br><br>Lyndon A. Villas
</div></div>