Using class to match iPhones, Wiis etc

Chuck Anderson cra at WPI.EDU
Fri May 8 14:09:26 UTC 2009


On Fri, May 08, 2009 at 08:48:14AM -0500, Peter Laws wrote:
> Randall C Grimshaw wrote:
>>
>> http://www.packetfence.org/dhcp_fingerprints.conf
>>
>> I will make a guess that it might be possible to set a QOS (cos) (dscp) priority on the dhcp traffic. Have you asked Cisco?
>>
>> Classifying the clients in DHCP isn't going to solve a load issue at the firewall.
>
> Not directly, but if we can give the hosts that sit in one place (i.e.  
> laptops) longer leases, it cuts down traffic that has to pass through.

Even better than matching on MAC address or Parameter Request List is 
to use the Vendor Class Identifier, that's what it's there for.  E.g., 
for HP printers:

class "Class-HP-JetDirect" {
        match if option vendor-class-identifier = "Hewlett-Packard JetDirect";

        filename "hp-printer.cfg";
        next-server w.x.y.z;
        option hp-tftp-configuration-file "hp-printer.cfg";
        option hp-tftp-server w.x.y.z;
}



More information about the dhcp-users mailing list