i like to use mac from header if one in request differs

Pavel Paprok ppaprok at applet.cz
Tue Sep 19 14:06:07 UTC 2006


hi,

is there a way to offer ip addresses for clients based on mac
in packet (here 00:12:0e:34:e3:62) instead mac contained
in request (here 00:12:0e:34:e3:61)? override it in config?

i would like assigning based in source mac of packet instead
on mac in request in very rare case when they differs..
almost all client hw devices in our network have a same
mac in request as in source of packet but not all of them,
esspecialy appears some wireless adapters like this from
example below, which is from my real live...

thanks,
pavel


14:55:05.909719 00:12:0e:34:e3:62 > 00:0e:0c:b1:9d:bb, ethertype IPv4 
(0x0800), length 590: (tos 0x0, ttl  64, id 31846, offset 0, flags [DF], 
proto:
UDP (17), length: 576) a.b.247.81.bootpc > a.b.247.1.bootps: [udp sum ok] 
BOOTP/DHCP, Request from 00:12:0e:34:e3:61, length: 548, xid:0x2d6f6
eae, flags: [Broadcast] (0x8000)
          Client IP: a.b.247.81
          Client Ethernet Address: 00:12:0e:34:e3:61
          Vendor-rfc1048:
            DHCP:REQUEST
            CID:[ether]00:12:0e:34:e3:61
            VC:"udhcp 0.9.9-pre"
            PR:SM+DG+NS+HN+DN+BR




More information about the dhcp-users mailing list