pfSense English Support > Virtualization installations and techniques

Change Order of Interfaces on VM

(1/3) > >>

FauxShow:
Hello all, I have a pfSense 2.2.1 VM running on ESXi 5.5 U2 that I'm trying to rebuild because it won't vMotion or svMotion when it's turned on. It currently has 2 E1000 and 4 VMXNET3 adapters because it gave issues when I tried to run all six as paravirtualized.

When I start a new VM, even before I install pfSense, the order of the NICs changes if I add more than 4 VMXNET3 adapters. In Linux I could simply go to /etc/udev/rules.d/70-persistent-net.rules and change it to how it's supposed to be, and all of my FreeBSD searching points me towards a /etc/rc.conf or /etc/rc.local file that doesn't exist in pfSense. I've tested with 2.2.1 and 2.2.2, and I'll revisit today with the new 2.2.3 release.

Is there a way I can manually re-order the interfaces in pfSense?

johnpoz:
what does it matter what order they are seen in pfsense?  Are you saying they change on reboot?

I just make sure I know what the macs are in esxi, and then assign them in pfsense on what they are connected to in esxi. 

FauxShow:
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.

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

gjaltemba:
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

Navigation

[0] Message Index

[#] Next page

Go to full version