Hello List
I’m trying
to get the cable modem mac address written to the log file.
The Setup
is simple, the CMTS is forwarding the request from the cpe directly to the dhcpv6 server. So there
is only one relay agent involved
Request from the cablemodem or emta gets relayed to a different (ipv4 only) server.
The
following lines in my conf-file just print "(missing)"
log ( info, concat("Interface-ID: ", pick-first-value((v6relay(32,
option dhcp6.interface-id)), "(missing)")));
log ( info, concat("LLA: ", pick-first-value((v6relay(32,
option dhcp6.client-linklayer-address)), "(missing)")));
adaptet from https://kb.isc.org/article/AA-01096/0/DHCPv6-support-for-relay-options-in-ISC-DHCP-4.3.html
All the
information are there (seen in wireshark ;)). But I’m not sure on how to get
them.
The initial
plan is to create classes based on the cm-mac and based on that give them an address or not.
Furthermore I’d like to get other data from
the relay-agent (CMTS) and do funny stuff with it, like update the firmware if
it is too old
Can anybody
help me out and give me a hint?