Option 61 issue
aligator638 last edited by
I have a machine dual booting windows and linux, one of the requirement is to obtain different ip addresses on each OS, I have been trying with luck so far.
So the documentation is at the following link:
The string data type specifies either an NVT ASCII string enclosed in double quotes, or a series of octets specified in hexadecimal, separated by colons. For example: option dhcp-client-identifier "CLIENT-FOO"; or option dhcp-client-identifier 43:4c:49:45:54:2d:46:4f:4f;
Note when a mac is specified there are no quote, in pfsense I could not find any way to obtain unquoted mac addresses in dhcpd.conf.
Now windows ALWAYS sends dhcp-client-identifier as a mac address (without quotes so 01:xx:xx:xx:xx:xx:xx), in linux you have the option to send a mac or some text.
So the option in pfsense cannot be used with windows clients and can only be used with the text option under linux.
One way out of this would be:
- be verbatim so no quote or quotes in the field.
- store in the xml as a quoted string and add a check box in the UI for "is a mac" and unquote in dhcpd.conf.
I think an issue and bug fix should be opened.
JKnott last edited by
Perhaps you could use a static address for one OS.