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

    Should mac address be case sensitive?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 14.4k Views
    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.
    • R
      rhouk
      last edited by

      Hello,

      I am on 2.3.1-RELEASE-p1 of pfsense.

      I have been attempting to set a static dhcp entry for a new computer on our network and have "Deny Unknown Clients" enabled on the network.  I was unable to get pfsense to grant an IP address to the new computer.  Windows had reported the mac in all caps and I had entered it that way without thinking.  After attempting to get an IP using a live Linux USB, I looked again at the mac address and saw that Linux was reporting the letters of the mac in lower case.  Since I didn't have anything to lose I made the change in pfsense's dhcp server page to the mac address and then the machine was immediately granted an IP.

      Should mac addresses be case sensitive since they just represent hex digits?

      Thanks,

      Ron

      1 Reply Last reply Reply Quote 0
      • E
        ericit
        last edited by

        I think that's just a Unix thing, even though FreeBSD isn't technically Unix. It just treats upper case letters as a different character from its lower case counterparts. So, my theory is that it was just an oversight and that it shouldn't be case sensitive but I may be wrong.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          In theory, no a MAC address shouldn't be case-sensitive. Many things are case-sensitive in *nix OSes though. dhcpd apparently requires them in all lower case to match.

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