[DHCP] RE: Determining request

Randall C Grimshaw rgrimsha at syr.edu
Tue Jan 5 21:03:06 UTC 2010


With this information I am going to join with Matt in suggesting the use of vlans to define a separate subnet.

Randy

-----Original Message-----
From: dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org [mailto:dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org] On Behalf Of Ashley M. Kirchner
Sent: Tuesday, January 05, 2010 3:41 PM
To: Users of ISC DHCP
Subject: Re: [DHCP] RE: Determining request

Randall C Grimshaw wrote:
> You will need to provide more information about the access point. Does it provide proxy functionality. Perhaps option 82 information could be included in the forwarded requests and used to ID the AP.
    Those access points are LinkSys WAP54G - we have two of them.

    Here's a class/group section from our dhcpd.conf file (there are 
several, one for each department):

    --------------------
    ##
    ## Customer Service: 61 - 70
    ##
    class "customer_service" {
        match pick-first-value (option dhcp-client-identifier, hardware);
    }

    group {
        ddns-hostname = pick (option host-name, 
concat("dhcp-",binary-to-ascii(16,8,"-",substring(hardware,1,6))));
        use-host-decl-names on;
        host docucolor_pc       { hardware ethernet 00:11:11:04:DA:69;
                                  ddns-hostname cs_docucolor_pc; }
        host bistro_mac         { hardware ethernet 00:07:93:53:FE:58;
                                  ddns-hostname bistro_mac; }
    }

    subclass "customer_service" 1:00:11:11:04:DA:69;
    subclass "customer_service" 1:00:07:93:53:FE:58;

    ##
    ## Wireless: 161 - 180
    ##
    class "wireless" {
        match pick-first-value (option dhcp-client-identifier, hardware);
    }
    group {
        ddns-hostname = pick (option host-name, 
concat("dhcp-",binary-to-ascii(16,8,"-",substring(hardware,1,6))));
        use-host-decl-names on;
        host wireless_front     { hardware ethernet 00:1A:70:34:56:6C;
                                  ddns-hostname front-wireless; }
        host wireless_rear      { hardware ethernet 00:18:F9:32:91:AE;
                                  ddns-hostname rear-wireless; }
    }
    subclass "wireless" 1:00:1A:70:34:56:6C;
    subclass "wireless" 1:00:18:F9:32:91:AE;

    ... other class/group definitions ...


    subnet 192.168.11.0 netmask 255.255.255.0 {
        # Customer Service Group
        pool {
                allow members of "customer_service";
                deny unknown-clients;
                range 192.168.11.61 192.168.11.70;
        }
        # Wireless Group
        pool {
                allow members of "wireless";
                allow unknown-clients;
                range 192.168.11.161 192.168.11.180;
        }
    ... more pool definitions ...
    }
    --------------------


-- 
W | It's not a bug - it's an undocumented feature.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / Websmith             .     800.441.3873 x130
  Photo Craft Imaging                       .          2901 55th Street
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80301, U.S.A. 

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list