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

    Change Order of Interfaces on VM

    Scheduled Pinned Locked Moved Virtualization
    13 Posts 7 Posters 6.6k 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.
    • F
      FauxShow
      last edited by

      I started with 3 and then 4 NICs and they are in the correct order, but when I add a 5th it changes the order of them to something like 1-5-4-2-3 and it re-orders them again when I add a 6th. Changing the port-groups does fix it, but will I need to change it all again if I ever need a 7th? Plus I have VLAN interfaces that all need to be changed to bind to a different interface, so it becomes a slightly confusing and very time consuming process. I'd rather just change how the OS sees them so I can keep the same config.

      I haven't done enough testing to see if it's a random order, but if it is that would also create a problem since I'm trying to setup a second firewall and sync the two.

      brb; gotta reboot my pfsense

      1 Reply Last reply Reply Quote 0
      • F
        FauxShow
        last edited by

        Also, the order is persistent through reboot, but does change if I add another NIC.

        brb; gotta reboot my pfsense

        1 Reply Last reply Reply Quote 0
        • G
          gjaltemba
          last edited by

          It is a pain. Especially when management nic is not on vmnic0. I just note the mac address of my nics and the vSwitch that they are assigned to before shutdown and configure network as needed.

          Article on how nic order is determined
          http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2091560

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Isn't that article how your physical nics are seen by esxi, not how virtual nics would be seen to pfsense.

            so your adding new physical nics to your esxi host?

            I can add some more virtual nics to my pfsense setup and see if I can duplicate what your seeing..  But I don't recall pfsense seeing anything change when I have added them in the past.. I cam currently using e1000 vs vmx3 because the vmx3 don't report speed correctly nor does the duplex report correctly when using cdp or lldp via the lavdp package.  So was seeing logs on my switch about duplex mismatch.  Went back to the e1000 and speed and duplex is reported correctly.

            But I am using esxi 6, so not going to be a apples to apples test.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • G
              gjaltemba
              last edited by

              Yes. Adding physical has impact. Same on esxi 6. VMs settings remain but the adapter of the network connection may be impacted by the re-order.

              1 Reply Last reply Reply Quote 0
              • F
                FauxShow
                last edited by

                I'm just adding virtual network cards to the VM; the hosts are blades so their hardware is reasonably fixed.

                brb; gotta reboot my pfsense

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  Well when I get home I will add a bunch of e1000 and vmx3 and see what what happens with the interfaces in pfsense.. Currently mine are numbered 5 through 8 because 1 to 4 where removed, they where the vmx3 interfaces.

                  I would do it remotely but dont want to maybe take my network down - I use the access remotely ;)

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • A
                    agrant
                    last edited by

                    I'm having this exact same issue. If more then 3 VMX3 interfaces are added in pfsense the WAN and/or other interfaces will not respond to traffic. As soon as the interfaces are removed or you switch to E1000 interfaces the issue does not persist.

                    There appears to be an open bug in FreeBSD for this issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198406

                    I hope this helps anyone else that comes searching for information on this problem.

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • 2
                      21hertz
                      last edited by

                      Still seems to be a problem. Just tried to virtualize a machine and it seems like all the VMX interfaces (8 of them) are randomized…

                      Will try e1000 instead now.

                      pfSense user for 8+ years on network with 5k+ active users.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mohsh86
                        last edited by

                        still a problem with ESXi 6.5 & pfSense 4.4 it is really annoying for a setup like we have:
                        Server with 6 ports that are teamed, each virtual interface belongs to a portgroup with a different vlan to route internally, adding another portgroup/interface messes up the order, doesn't matter if intel or VM interface is added.

                        1 Reply Last reply Reply Quote 0
                        • G
                          giankso
                          last edited by

                          Hi, same problem today NOT WITH VMWARE, but using KVM and virtio... guess the problem is bigger than expected and impacting way more systems

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