Adding Nics on PFsense guest Esxi
-
Hello,
I encountered a "bug" or i don't know how to qualify it.
When i add NIC virtual hardware to my Pfsense VM and associate it to a new LAN interface everything is OK.
Then when i reboot the Pfsense the networks cards "vmxX-Y" are mixed. LAN1 nic is on LAN4, LAN5 on LAN3 etc.
i figured out that when i add a new NIC Pfsense rearrange his internal cards based on MAC address.
if you add a mac address that is "inferior" to one or more existant, bingo you have to reallocate every card to every LAN/WAN.
exemple :
before adding a nic :
em0 : 0000000000
vmx1 : 0000000002
vmx2 : 00000000f1after addind a nic
the new nic should be like vmx3 : 0000000010
but in reality after a reboot it looks like that :
em0 : 0000000000
vmx1 : 0000000002
vmx2 : 0000000010
vmx3 : 00000000f1it inverted vmx2 and 3.
I tried different cases on my ESXi host and every time it occurs when you add a NIC with a mac that have a number less greater that the last one.
Tested on Pfsense 2.5 and 2.6 on ESXi 7
Many thanks
-
@iiscsii
it's no bug. it's a nice feature to brighten your day :)anyhow, it's been like this for many many years. best to learn to live with it
-
OK ! What a nice feature XD
Many thanks for your reply