Example config with option 82

Scott Baker bakers at web-ster.com
Mon Jun 16 16:18:37 UTC 2008


Corley, Kenneth L (Kenny) wrote:
> Does anyone have a basic dhcpd config that includes option 82 that they 
> can share?  I am running 3.0.5.

All we use option 82 for is to prevent one circuit from getting more than 
one IP address:

class "DSL" {
    spawn with option agent.remote-id;
    lease limit 1;
}

shared-network foobar {
    subnet 1.2.3.4 netmask 255.255.254.0 {
       authoritative;
       option routers 1.2.3.4;
       option subnet-mask 255.255.254.0;

       #default-lease-time 3600;
       #max-lease-time 3600;
       #min-lease-time 3600;

       pool {
          allow members of "DSL";

          range 1.2.3.4 1.2.3.99;
       }
    }
}


-- 
Scott Baker - Canby Telcom
RHCE - System Administrator - 503.266.8253


More information about the dhcp-users mailing list