On 12 Dec 2012, at 15:37, Philipp Kern <[email protected]> wrote:
> On Tue, Dec 11, 2012 at 04:04:14PM -0600, Brian Hamacher wrote:
>> I am looking for a good way to track my users MAC Addresses. I have a
>> test DHCPv6 server up and running ISC 4.1.1-P1. When I look through my
>> DHCP logs as well as my leases file I do not see the client MAC Address
>> anywhere. Do I need to enable an option to allow this to be logged? I
>> am looking to figure out how I can track what user had what IP Address
>> at any given time. The MAC Address is traditionally how I have done
>> this.
>
> One way would be to poll your routers' ND tables (like fetching ARP tables
> in IPv4). As soon as you use relaying you most certainly won't get a
> useable MAC address from your client, even though it might be possible in
> the same network segment. (The MAC address is not copied from the wire
> into the new relayed packet sent by the router to your server.)
>
> DHCPv6 uses the so-called client identifier extensively and not the MAC
> address anymore. So you cannot do any static assignment based on MAC
> addresses.
Well there is this:
http://tools.ietf.org/html/draft-ietf-dhc-dhcpv6-client-link-layer-addr-opt-03
Not sure of implementations as yet, but three Cisco authors may be a clue.
We simply use a open source package that queries switch/router devices and
builds the IP/MAC/port relationships from that.
Tim
--------------------------------------------------------------------
IETF IPv6 working group mailing list
[email protected]
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------