Logging mac address

Scott Baker scott at perturb.org
Fri Jan 8 23:10:12 UTC 2010


On 01/08/2010 03:07 PM, Ben Wiechman wrote:
> I'm sure this is dead simple but I haven't been able to track down the
> solution.
>
> Is the client's mac address accessible in any of the available options?
>
> I am trying to log the pertinent option 82 sub-options along with the
> assigned IP and requesting client's mac address on one line.

Isn't the requesting MAC address already in that packet? The option 
you're looking for is "hardware"

class "ENTONE" {
         match if substring(hardware, 1, 3) = 00:03:e6;
         deny booting;
}

etc...




More information about the dhcp-users mailing list