Hi Everyone,
I have implemented a network that is similar to this post
http://marc.info/?l=dhcp-users&m=117197611012164&w=2
and this one
http://marc.info/?l=dhcp-hackers&m=118314734327638&w=2
I already posted on the dhcp-hackers ML but I thought of posting here as well.
And I read the replies, unfortunately it's true that it is possible.
The MAC of the packet from the PC is changed by the MAC of bridge.
I checked this by ARP on the DHCP server side and it changes.
The CHADDR field of the dhcp packet is different from the ARP reply.
I think there's no way I can use the dhcpd.conf to get that MAC.
I browsed the man pages of dhcpd, dhcp-options and dhcp-eval
and looks like a dead end.
Someone at the first post above mentioned an option 82, but for now I am assuming its not supported.
I'm open to changing the dhcpd code, but I'm just wondering if its possible to get the MAC Address inside the dhcp code or conf.
I saw a function in common/dhcp.h called get_hw_addr
also a struct hardware inside the struct packet.
I'm just wondering what data are these two getting and if its possible to use these to address my problem.
Cheers Everyone!
Vincent Arniego
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080205/56fe42ae/attachment.html>