[Kea-users] classless static route option 121

Sonic sonicsmith at gmail.com
Tue Jul 30 21:29:04 UTC 2024


For those running an older release before option 121 was added as a
standard defined option, here's what is working for me:

    "option-def": [
        {
             "name": "classless-static-route",
             "code": 121,
             "type": "uint8",
             "array": true
         }
             ],

       "option-data": [
              {
                "code": 121,
                "data": "24, 192, 168, 77, 172, 27, 12, 254, 24, 192,
168, 88, 172, 27, 12, 254, 24, 192, 168, 111, 172, 27, 12, 254, 24,
192, 168, 222, 172, 27, 12, 254, 0, 172.27.12.1"
              }
            ],

The only example I found when trying to make this work, used a type of
"record" which fixes the number of routes to the exact record
definition. By using just one type of "uint8" and an array one can add
as many routes as desired.

If this is well known knowledge, sorry for the noise.
Chris


More information about the Kea-users mailing list