Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    KEA + JSON code for "option 132" vlan id

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    2 Posts 1 Posters 150 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wolfsden3
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • W Offline
        wolfsden3
        last edited by

        I think I just figured it out.

        Services > DHCP > ServerSettings
        

        Code:

        {
          "option-def": [
            {
              "space": "dhcp4",
              "name": "vlan-id",
              "code": 132,
              "type": "uint32"
            }
          ]
        }
        
        

        Then hop over to the interface, in my case: PHLAN

        {
          "option-data": [
            {
              "name": "vlan-id",
              "data": "10",
              "space": "dhcp4"
            }
          ]
        }
        
        

        Hope this helps someone! I don't have enough permissions apparently to delete my own post LOL.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.