<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    Hi<br>
    <br>
    I happened to think: could that option be put into the class
    definition? Or could the class definition be put into a group with
    the option statement?<br>
    <br>
    <div class="moz-cite-prefix">On 18/10/12 8:53, Simon Hobson wrote:<br>
    </div>
    <blockquote cite="mid:p06240800cca556ce85ed@simon.thehobsons.co.uk"
      type="cite">Joao E Pereira Jr wrote:
      <br>
      <br>
      <blockquote type="cite">My organization has only one DHCP server
        that provides configuration for
        <br>
        clients in all subnets and every subnet gateway is able to do
        dhcp relay. In
        <br>
        some subnets there are access points that look for a wireless
        switch
        <br>
        controller using the value of option 43 of reply packet.
        Currently it have two
        <br>
        controllers and I need to include option 43 only for the access
        points
        <br>
        assigning the value based on the subnet.
        <br>
        <br>
        Subclassing allow me to include option 43 only for the access
        points, but I
        <br>
        haven't found a way to assign the value based on subnet so far.
        I' ve tryed
        <br>
        conditional behavior as showed in dhcp-eval. All access points
        end up reaching
        <br>
        the same controller or got no option 43 at all. Is this scenario
        feasible?
        <br>
      </blockquote>
      <br>
      Does it matter if a few devices get Option43 that aren't access
      points ? If not, then just define the option at the subnet level
      and each device will get the right value automatically. Devices
      should only be sent the option if they ask for it.
      <br>
      <br>
      Alternatively, how are you addressing the access points -
      dynamically or statically ? And if dynamically, how much spare
      address space do you have ?
      <br>
      One option would be to have a separate pool for the access points,
      and make that available only to them by the same class &
      subclass you have now. Then add the option in the pool scope.
      <br>
      <br>
      Otherwise, you'll end up with a big if ... elseif ... elseif ...
      statment checking the GI Address field for the subnet and setting
      the option accordingly - messy.
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"
</pre>
  </body>
</html>