THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Syntax for SLP-directory-agent DHCP option

Techie
Posts: 9
5858     1

Dear Infoblox community,

 

We are preparing to migrate from ISC DHCP and Bind to Infoblox and I am trying to figure out how to apply the two SLP options. They are multi-variable options with a boolean followed by IP addresses or text strings.

 

ISC DHCP happily accepts this syntax:

option slp-da true 10.239.8.28 10.239.8.26;
option slp-scope true "DEFAULT";

 

Infoblox has the two options defined as follows:

"code": 78,
"name": "slp-directory-agent",
"space": "DHCP",
"type": "boolean array of ip-address"

 

and

 

"code": 79,
"name": "slp-service-scope",
"space": "DHCP",
"type": "boolean-text"

 

How do I enter the desired values into Infoblox for these two DHCP options? The Infoblox GUI does not accept any combination of boolean followed by IP address or string that I can think of.

 

Thanks

Re: Syntax for SLP-directory-agent DHCP option

Moderator
Moderator
Posts: 315
5858     1

It just wants a space between them.  In the GUI:

 

slp.png

 

In REST:

 

       "options": [
            {
                "name": "slp-directory-agent", 
                "num": 78, 
                "value": "true 1.2.3.4", 
                "vendor_class": "DHCP"
            }, 
            {
                "name": "slp-service-scope", 
                "num": 79, 
                "value": "true cheeseburger", 
                "vendor_class": "DHCP"
            }
        ]

 

Re: Syntax for SLP-directory-agent DHCP option

Techie
Posts: 9
5858     1

Thanks MRichard,

 

Unfortunately I'm still having difficulties with slp-directory-agent. slp-service-scope is accepted happily, I think slp-directory-agent does not like multiple IP addresses.

 

The IPv4 network DHCP Options dialogue box has this error message:

Invalid value 'true 10.239.8.28 10.239.8.26' for option slp-directory-agent.

 

I could not get the screenshot to upload. Sorry :-(

Re: Syntax for SLP-directory-agent DHCP option

Techie
Posts: 9
5858     1

Re: Syntax for SLP-directory-agent DHCP option

Moderator
Moderator
Posts: 315
5858     1

Use a comma between IP addresses.

Re: Syntax for SLP-directory-agent DHCP option

Techie
Posts: 9
5859     1

Thanks very much! That's sorted it for me.

I don't know how I managed to miss that.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You