[DHCP] RE: Determining request
Ashley M. Kirchner
ashley at pcraft.com
Tue Jan 5 20:40:52 UTC 2010
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.
More information about the dhcp-users
mailing list