Hello,
I`m still lacking the information of the currently IP utilization of ours customer and I`ve to know how to do that.
What the community suggest?
Is the IPDR recommended? What software to use (commercial option)?
What about SNMP? The problem here is to do something from the beggining and I don`t have a way to do that.
Is that anything else?
Hi,
Not sure if I understood what you need.
do you mean IP utilization in terms of occupation of the IP blocks or do you want to track the IP X customer X time for legal issues? Or other?
In these two particular cases, I will suggest the DHCP as the data source. It can be done with IPDR, but I think it is easier to capture the data on DHCP. For the second case, you will need to enable the DHCP Option 82 on the CMTS.
Regards,
MS
I need that for legal issues.
If I could do that in the DHCP, how could I track the CPE address?
If some customer get IP from a bridge cable modem, who has different MAC address, how could attach that to the MAC CM?
Could you share some of that configuration?
It is a single line on most CMTSs.
This is the command line for Cisco, but every CMTS I know has a similar command.
ip dhcp relay information option
"Enables the CMTS to insert DHCP relay information (DHCP option 82) in relayed DHCP packets. This allows the DHCP server to store accurate information
about which CPE devices are using which cable modems. "
Translation: During the CPE DCHP Discover, there will be an extra Option (82) on the DHCP packet, containing the MAC address of the associated cable modem. You just need to grab it on the DHCP.
Hope it helps.
Regards,
MS
Nice, got that.
Another thing, do you know something to save this log into a SQL base?
Do you know some easy feature?
Well,
that´s depending on the SQL platform. Mysql and MariaDB have a nice feature called "Load Infile". If your DHCP server can generate logs with distinction between fields (a separator character), then you can use it to do a bulk load whithout a single line of code.
I´m pretty sure other SQL platforms have similar features.
Regards,
MS
Got that!
I successfully got that on running.
A problem remains on option agent.remote-id, some ARRIS TG862 are being logged into the dhcpd.lease file as binary instead ascii.
Like this :
option agent.remote-id "DX)MgT";
Others are just fine.
Is there something missing in these configuration files of that cable?