Navigation

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

    Option 61 issue

    DHCP and DNS
    2
    2
    235
    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.
    • A
      aligator638 last edited by

      Hi,

      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:
      https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options

      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:

      1. be verbatim so no quote or quotes in the field.
      2. 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.

      Eric

      JKnott 1 Reply Last reply Reply Quote 0
      • JKnott
        JKnott @aligator638 last edited by

        @aligator638

        Perhaps you could use a static address for one OS.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • First post
          Last post