[Kea-users] use of option 82, relay4[1].hex

agiimaa.b agiimaa.b at unitel.mn
Thu May 23 07:41:32 UTC 2019


Hello All,

i'm trying to configure Kea 1.5 to tie clients to their locations (because customers shouldn't move their equipment to any other location).

 My sample configuration is below:

   "client-classes": [
  {
      "name": "opt82",
      "test": "relay4.[1].hex == 485754435096C50A",
  }
  ],

  "subnet4": [
    {
        "pools": [
            {
              "pool":  "192.168.0.3 - 192.168.0.200",
              "client-class": "opt82"
           }


And returning error is:
DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': expression: [relay4[1].hex == 485754435096C50A] error: <string>:1.18-29: Invalid value in 485754435096. Allowed range: 0..4294967295 at (/usr/local/etc/kea/kea-dhcp4.conf: 15:11)

Question is:
    * how can i express the switch's circuit-id?
        http://202.70.45.7/tmp/opt82.png

[http://202.70.45.7/tmp/opt82.png]

    * any other suggestion on solution?

Any reply would be appreciated,
Thank you

The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.

-------------------------------------------------------------------------------------------------------------------------------------

Энэхүү и-мэйл болон хавсралт дахь мэдээлэл нь тодорхой хүнд хаяглагдсан бөгөөд нууцлалтай мэдээлэл агуулж байж болзошгүй тул бусдад дамжуулах, олон нийтэд тараах, өөр бусад зорилгоор ашиглахыг хориглоно. Хэрэв та уг и-мэйлийг санамсаргүй байдлаар хүлээн авсан бол и-мэйл илгээгчид мэдэгдэж, хуулбар баримт үлдээлгүй устгана уу.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190523/4132b121/attachment.htm>


More information about the Kea-users mailing list