<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi<div class=""><br class=""></div><div class="">We are experiencing a problem with matching the agent.remote-id in a DOCSIS environment. The CMTS inserts the CM MAC in the agent.remote-id, this id is then used in subclasses on the server. I was debugging an issue where the class matching did not work -   when inspecting the lease file, I found that the agent.remote-id is stored as string ("DNm+SP“) and not as a MAC address as expected.</div><div class=""><br class=""></div><div class="">I analyzed the MAC address and all values are in the range between 0 and 127: </div><div class=""><br class=""></div><div class="">44 -> 68   -> D</div><div class="">4e -> 78   -> N</div><div class="">6d -> 109 -> m</div><div class="">2b -> 43   -> +</div><div class="">53 -> 83   -> S</div><div class="">50 -> 80   -> P</div><div class=""><br class=""></div><div class="">As a proof, I added a new subclass entry using the string and got a match when I restarted the device. </div><div class=""><br class=""></div><div class="">MAC addresses  seem to be converted to their ascii representation if they contain only printable ascii values. I suspect that it has something to do the the „isascii“ and „isdigit“ checks in common/options.c, beginning in line 1828.</div><div class=""><br class=""></div><div class="">I have tested agains 4.3.4 and 4.3.6P1 - both show the same behavior. I believe  that we had a similar issue with "<span style="font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-style: inherit; font-variant-caps: inherit; white-space: inherit; color: rgb(36, 39, 41); font-size: 13px; orphans: 2; widows: 2; background-color: rgb(239, 240, 241);" class="">hardware ethernet <MAC></span>“, but this was years ago and I’ m not sure. I was searching  the bug reports and the mailing list but were not able to find anything similar - so any hints or advises are welcome !</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">Andre</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>