PfSense KeaDHCP Option 43 für Unifi

In dem globalen DHCP (Custom Options) Tab einfügen:

{
  "option-def": [
    {
      "name": "unifi",
      "code": 1,
      "space": "vendor-encapsulated-options-space",
      "type": "binary",
      "array": false
    }
  ]
}

Dann im entsprechenden Subnetz Tab (Custom Options):

{
  "option-data": [
    {
      "name": "vendor-encapsulated-options",
      "always-send": true
    },
    {
      "name": "unifi",
      "space": "vendor-encapsulated-options-space",
      "csv-format": false,
      "data": "0xc0a80010"
    }
  ]
}

In diesem Beispiel ist die mitgeteilte IP = 192.168.0.16

IP's konvertieren geht hiermit ganz gut: Browserling IP-to-HEX