Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Order network cards ESXi mixed up
« previous
next »
Print
Pages: [
1
]
Author
Topic: Order network cards ESXi mixed up (Read 1527 times)
MarcelMerk
Newbie
Posts: 4
Karma: 0
Order network cards ESXi mixed up
«
on:
January 02, 2024, 12:06:24 am »
Hello,
I am having an issue with my setup.
Running the setup in Esxi
VMGuest 2 NICs - OPNsense running fine
Adding 1 NIC - Still ok
Adding another NIC everything stopped working.
After some investigation I found that the order of the NIC is changed. I found the article
https://forum.opnsense.org/index.php?topic=27023.msg145910#msg145910
but can not get that to work
My goal is to setup OPNSense with mulplte vNIC but is seems to keep on reordering my NICs.
Logged
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: Order network cards ESXi mixed up
«
Reply #1 on:
January 02, 2024, 10:53:59 am »
As I remember using VMXnet adapters is causing this error. Try E1000 adapters.
Logged
„The S in IoT stands for Security!“
MarcelMerk
Newbie
Posts: 4
Karma: 0
Re: Order network cards ESXi mixed up
«
Reply #2 on:
January 05, 2024, 09:30:33 pm »
Thanks will try that and let you know
Logged
MarcelMerk
Newbie
Posts: 4
Karma: 0
Re: Order network cards ESXi mixed up
«
Reply #3 on:
January 07, 2024, 08:39:11 pm »
I tried this but have the same results as with the vmxnet cards.
I started adding the NIcs to the config. One by one while machine was running. All was working correctly until I shut down the machine. And boote dit up again. Then all broke.
Seems that all MAC addresses are intact, but I think it might be something with the PCI device numbering.
B
Logged
MarcelMerk
Newbie
Posts: 4
Karma: 0
Re: Order network cards ESXi mixed up
«
Reply #4 on:
January 28, 2024, 10:30:48 pm »
Anybody any thoughts on this ?
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Order network cards ESXi mixed up
«
Reply #5 on:
January 28, 2024, 10:38:01 pm »
Don't change the hardware configuration of a running VM. Create all the virtual network cards you need once and keep the configuration that way. The order will be perfectly stable across reboots. Once you add another device all hell breaks loose.
Known problem. Only fix/workaround *now* to my knowledge is to keep the HW configuration static. And expect to have to adjust settings every other year or so when you really need to add that one more interface.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: Order network cards ESXi mixed up
«
Reply #6 on:
February 04, 2024, 04:57:27 pm »
Another workaround is to build a virtual switch on the ESXi host and connect the OPNsense with a VLAN aware network adapter. In this way you can add the interfaces on the OPNsense side via the GUI.
Or use another hypervisor. OPNsense and ESXi seem to not play nice for this use case.
Logged
„The S in IoT stands for Security!“
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Order network cards ESXi mixed up