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

    Resetting MAC address to NIC real address.

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.7k 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.
    • N
      Napsterbater
      last edited by

      I had a pfSense box where I spoofed the MAC, well I removed the MAC from the field thinking it would go back to the real NICs MAC, rebooted, still spoofed, since I didnt need the config on this box anymore I factory reset pfSense, to my dismay it is still showing to spoofed MAC.

      How from shell can I clear this spoofed MAC, or must pfSense be completely reloaded?

      1 Reply Last reply Reply Quote 0
      • D
        DGordon
        last edited by

        @Napsterbater

        I searched using my favorite search engine - duckduckgo - and found some possibilities for you.

        http://www.cyberciti.biz/faq/how-do-i-find-out-the-mac-address-of-my-linux-or-freebsd-system/
        https://en.wikibooks.org/wiki/Changing_Your_MAC_Address/FreeBSD
        http://www.tech-faq.com/how-to-change-a-mac-address.html

        Hope they provide the info you need.

        Note you may have to open the box and read the label of the NIC to get it's factory MAC.

        1 Reply Last reply Reply Quote 0
        • N
          Napsterbater
          last edited by

          I could find how to Set the MAC, I never found how to delete the set mac to let it revert to default.

          I reloaded pfSense, still had the spoofed MAC.

          Apparently even in the BIOS Network boot screen for the NIC it was showing the spoofed MAC.

          I ended up having to pull the CMOS battery to get it to revert..

          Not sure how setting the MAC in pfsense caused it to effect even the NICs network boot rom.

          1 Reply Last reply Reply Quote 0
          • D
            DGordon
            last edited by

            Glad you got it fixed, and sorry the ideas didn't help.

            My thoughts are then that pfSense may need a MAC address in the setting, and if there isn't one, it uses the last known MAC, maybe by inputting  another MAC, spoofed or real, it may change.

            1 Reply Last reply Reply Quote 0
            • KBrownConsultingK
              KBrownConsulting
              last edited by

              Sorry for reviving an old post but I just ran into this same issue on my newly purchased SG-4860 running 2.3.4-RELEASE-p1

              This doesn't seem very intuitive & seems like it could potentially cause some unexpected & problematic behavior if someone deletes a LAGG & then tries to use the ports individually without being aware of this "functionality".

              The reason being, when you assign interfaces to a LAGG, they all are given the same MAC. The potential problem (and definitely unexpected behavior) is that after removing the interfaces from the LAGG they all retain the same shared MAC!

              In the attached screenshot you'll notice that igb4 & igb5 have the same MAC. That's because they were assigned to the same LAGG at one point & then removed. This was definitely not expected behavior & took me a while to figure out why it had happened since I had never manually set a spoofed MAC on the interfaces directly.

              Is this behavior really functioning as intended?

              Interfaces.jpg
              Interfaces.jpg_thumb

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