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

    Consistent network device numbering

    Scheduled Pinned Locked Moved Hardware
    3 Posts 3 Posters 1.9k 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.
    • D
      dhatz
      last edited by

      I wonder, does pfsense offer a way to ensure consistent network device naming? What happens if your router has four Ethernet ports (em0-em3) and the 2nd one dies, wouldn't the subsequent ones get different device names? Is it possible that a network adapter might get renamed based on which was polled first during bootup?

      In Linux, a system administrator can use the Ethernet hardware address (MAC address) of a network device to
      assign a specific network interface name to a network port. Apparently FreeBSD offers something related with /boot/device.hints

      Recently RedHat has introduced "Consistent Network Device Naming" in Fedora 15.

      Related info:
      http://freebsd.1045724.n5.nabble.com/Devices-numbering-Was-Re-Switch-from-legacy-ata-4-to-CAM-based-ATA-td4331412.html
      http://en.wikipedia.org/wiki/Consistent_Network_Device_Naming
      http://domsch.com/blog/?p=455

      It would be a nice feature for a future release.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        There isn't currently a way to do that in pfSense, but some ideas have been kicked around before.

        It is possible to rename interfaces in FreeBSD and IIRC they can be matched up by MAC address, but there hasn't been a good usable solution made up that I'm aware of.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          pf123user
          last edited by

          Not sure what hardware you are using but I just went through this a few weeks ago.

          I found that on my Dell P490 hardware has an order that it scans - and Dell also that my BIOS versions change this order. This helps for DR/Recovery purposes however it does not help if I want to upgrade a single NIC to a Quad NIC that's in the first scanned slot…

          I've found that the backup/restore functionality is a bit difficult because of this - change one thing and you are SOL and its been easier for me to start over... but my firewall rules are generally VERY simple.

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