<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello</p>
    <p>I'm trying ro built a classes for exact a MAC Address of a CPE.
      The CPE is running behind a cablemodem.<br>
    </p>
    <p>I'm trying different ways but it doesn't work resp. it doesn't
      match.<br>
    </p>
    <p>My Code:<br>
      "client-classes": [<br>
              {<br>
                 "name": "PlayoutServer144",<br>
                 "test": "<i>substring(pkt4.mac, 0, 6) </i>==
      '0x00d0550b6076'",<br>
                 "option-data": [<br>
                      { "name": "TVMotion_140", "code": 140,
      "data":"10.239.135.144"},<br>
                      { "name": "TVMotion_166", "code": 166,
      "data":"10.239.135.144"}<br>
                 ]<br>
      <br>
              }<br>
    </p>
    <p>Maybe I could us the option82? The remote-ID here is the MAC of
      the Cablemodem. Actualy I don't now how to use this Option82, I'm
      new in kea.<br>
    </p>
    <p>This is the DHCPDUMP of the CPE:</p>
    <p><font size="-2">---------------------------------------------------------------------------<br>
        <br>
          TIME: 2018-06-30 14:58:25.050<br>
            IP: 77.245.177.50 (f8:72:ea:24:9c:a3) > 217.194.48.106
        (0:50:56:9b:7d:76)<br>
            OP: 1 (BOOTPREQUEST)<br>
         HTYPE: 1 (Ethernet)<br>
          HLEN: 6<br>
          HOPS: 1<br>
           XID: 5551589f<br>
          SECS: 10<br>
         FLAGS: 0<br>
        CIADDR: 0.0.0.0<br>
        YIADDR: 0.0.0.0<br>
        SIADDR: 0.0.0.0<br>
        GIADDR: 10.236.251.1<br>
        CHADDR: 00:d0:55:0b:60:76:00:00:00:00:00:00:00:00:00:00<br>
         SNAME: .<br>
         FNAME: .<br>
        OPTION:  53 (  1) DHCP message type         1 (DHCPDISCOVER)<br>
        OPTION:  57 (  2) Maximum DHCP message size 548<br>
        OPTION:  51 (  4) IP address leasetime      -1 ()<br>
        OPTION:  55 ( 24) Parameter Request List      1 (Subnet mask)<br>
                                                      3 (Routers)<br>
                                                      6 (DNS server)<br>
                                                     12 (Host name)<br>
                                                     15 (Domainname)<br>
                                                     17 (Root path)<br>
                                                     23 (Default IP TTL)<br>
                                                     28 (Broadcast
        address)<br>
                                                     29 (Perform mask
        discovery)<br>
                                                     31 (Perform router
        discovery)<br>
                                                     33 (Static route)<br>
                                                     40 (NIS domain)<br>
                                                     41 (NIS servers)<br>
                                                     42 (NTP servers)<br>
                                                    140 (???)<br>
                                                    141 (???)<br>
                                                    142 (???)<br>
                                                    145 (???)<br>
                                                    146 (???)<br>
                                                    160 (???)<br>
                                                    166 (???)<br>
                                                    170 (???)<br>
                                                    171 (???)<br>
                                                    172 (???)<br>
        <br>
        OPTION:  60 (  6) Vendor class identifier   UFI511<br>
        OPTION:  61 (  7) Client-identifier         01:00:d0:55:0b:60:76<br>
        OPTION:  82 ( 38) Relay Agent Information<br>
                          Circuit-ID   
6e:6f:64:65:2d:39:38:5f:53:70:61:72:65:20:64:6f:63:73:69:73:20:30:2f:31:2f:30:2f:30<br>
                          Remote-ID     58:23:8c:cc:5f:db<br>
---------------------------------------------------------------------------<br>
      </font></p>
    <p>Regards and thank you in advanced</p>
    <p>Walter<br>
    </p>
  </body>
</html>