When trying to put option code 1 , it shows below error
In my case , I need to use two 3 option codes in DHCP custom option but it shows above error. Is this the limitations of meraki
DHCP Option 1 is used to send the subnet mask. So you can't specify that yourself.
Can you elaborate on which options you want to specify and why?
To add multiple gateways, use option 3 once but with a list of IP addresses:
Like I said, option 2 is subnet mask and is automatically set to the mask of the VLAN for which you're configuring the DHCP options. That's why Meraki doesn't allow you to customize that.
Edit: Also, that second Option 3 shown in your screenshot is actually suboption 3 of Option 43 (all of the MSUCClient ones actually). For Skype 4 Business you need to configure those. More info here:
http://blog.schertz.name/2012/05/understanding-dhcp-option-43/
@BrechtSchamp So I have to use 43 in code in place of 3 in meraki custom option and it will solve my problem..right
Well the way I see it you need to put in option 43 with all of its sub options in the payload (Meraki doesn't have the front-end to specify sub-options so you'll have to manually construct the whole payload).
I haven't done this myself. But out of interest I'm willing to help you construct your option 43 payload. I would need the actual values of all your suboptions to do that though. And seeing as I have no way to really test it, you'd have to be my guinnea pig.
Options in DHCP are defined in RFC 2132, 3046 and 3495. From the screenshot you took of your Microsoft DHCP, it appears the configuration you are trying to copy is non-standard. You need to adhere to the RFC's and not assign your DHCP options according to your preference. Vendor specific options start at 43.
iana.org has a good guide as to the expected option configuration per normal standards.
https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml