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

    When new network card added, interface names shifted

    Scheduled Pinned Locked Moved Hardware
    3 Posts 2 Posters 318 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.
    • L
      lajblt
      last edited by lajblt

      Hello,

      I have pfSense system on Supermicro miniATX board. Everything goes fine. But after adding another network card to PCIe slot, installation was completely broken due to interface names shift.

      Before:
      WAN - igb0
      LAN - igb1
      OPT1 - igb2
      OPT2 - igb3

      After:
      (new dual interface card)
      OPT3 - igb0
      OPT4 - igb1
      (old mainboard)
      WAN - igb2
      LAN - igb3
      OPT1 - igb4
      OPT2 - igb5

      If new network card use the same driver (igb) as old one, interface names change. If new network card use different driver (eg. Realtek - rl), nothing happens and system is running fine. Is it bug or feature? ☺

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by stephenw10

        The interfaces are named in the order they are discovered when scanning the PCI device tree at boot.
        If you add more interfaces that use the same driver those may be discovered first offsetting the existing interfaces as you discovered. It's the expected behaviour, there's nothing we can do to change that.

        Steve

        1 Reply Last reply Reply Quote 0
        • L
          lajblt
          last edited by

          OK, thanks for reply.

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