<div dir="ltr"><div><div><div><div><div>Thanks David for Your Reply .<br><br></div>Actually my objective is - when Dhcp discover packet reaches with option 82, Dhcp server should Forward that discover packet to Radius server for authentication , Radius server authenticate the attributes related to option 82 , if authentication successful , then Radius will get back to Dhcp server and then only i will get a IP from Dhcp server.<br><br></div>If you have some suggestion , Please do provide.<br></div>if possible , any Working configuration for the same..<br><br><br></div>Thanks ,<br></div>Radhanath   <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 8, 2015 at 1:33 PM, David Ganor <span dir="ltr"><<a href="mailto:david@oliver-solutions.com" target="_blank">david@oliver-solutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Radhanath,<br>
    <br>
    AFAIK, DHCPv4 option82 is added ONLY by the relay, towards the
    Server, and is automatically replied back by the server.<br>
    What exactly do wish to configure in the server?<br>
    <br>
    Follows an example of logging received option82.circuit-id (sub
    option #1) and option82.remote-id (sub option #2):<br>
    if exists agent.circuit-id {<br>
      log(info, "New client with Opt82!");<br>
      log(info, concat("Opt82.circuit-id=", option agent.circuit-id));<br>
      if exists agent.remote-id {<br>
        log(info, concat("Opt82.remote-id=", option agent.remote-id));<br>
      }<br>
    }<br>
    <br>
    And here is another example, for defining a class by matching
    option82.circuit-id:<br>
    class "special4Radhanath" {<br>
      match if (substring(option
    agent.circuit-id,0,15)="RadhanathMishra");<br>
      log(info, "New special4Radhanath");<br>
    }<br>
    <br>
    <br>
    HTH,<br>
    <pre cols="72">Best regards,
David Ganor

|||||||||||||||||||||||||||||||||||
Cell: +972-54-3090299
Tel: +972-74-7028642
Fax: +972-153-74-7028642

SW developer
<a href="http://www.oliver-solutions.com" target="_blank">www.oliver-solutions.com</a>
|||||||||||||||||||||||||||||||||||
</pre><div><div class="h5">
    <div>On 08/07/2015 06:04, Radhanath Mishra
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hello,<br>
                  <br>
                </div>
                Please help me out and let me know how i can configure
                dhcp option 82 in linux dhcp server ,dhcp  relay agent
                is there in my setup.<br>
                <br>
              </div>
              A working example is much appreciated .<br>
              <br>
              <br>
            </div>
            Please respond at earliest<br>
            <br>
            <br>
            <br>
          </div>
          Thanks,<br>
        </div>
        Radhanath<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
dhcp-users mailing list
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
    </blockquote>
    <br>
    <div>
      <div title="Click to translate"></div>
    </div>
  </div>

<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" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br></div>