OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: stanthewizzard on May 23, 2022, 11:31:29 AM

Title: OPNsense on ESXI - MAC mismatch at reboot
Post by: stanthewizzard on May 23, 2022, 11:31:29 AM
Hello

On ESXI 7.0.3 (latest) with OPNsense ( 22.1.7_1)

I have 4 network adapters (vmx0 to vmx3)
Everything is fine

After reboot
all the vmx have mac mismatches.
vmx0 for ex wich is LAN is SYNC
vmx1 wicj is WAN is LAN

etc

Does someone has a clue why ?

thanks
Title: Re: OPNsense on ESXI - MAC mismatch at reboot
Post by: johndchch on May 23, 2022, 10:47:24 PM
Quote from: stanthewizzard on May 23, 2022, 11:31:29 AM
Hello

On ESXI 7.0.3 (latest) with OPNsense ( 22.1.7_1)

I have 4 network adapters (vmx0 to vmx3)
Everything is fine

After reboot
all the vmx have mac mismatches.
vmx0 for ex wich is LAN is SYNC
vmx1 wicj is WAN is LAN

etc

Does someone has a clue why ?

thanks

works fine for me here ( same esxi and opnsense release )

do you have separate vswitch/portgroup defined for each of lan/wan?

only a single physical adapter assigned to each vswitch?

also, on each vswitch did you change the default security settings to ALLOW promiscuous mode/mac address changes/forged transmits - with the port group set to inherit the settings from the vswitch?





Title: Re: OPNsense on ESXI - MAC mismatch at reboot
Post by: Patrick M. Hausen on May 23, 2022, 10:52:00 PM
Known problem. This might be helpful: https://forum.opnsense.org/index.php?topic=27023
Title: Re: OPNsense on ESXI - MAC mismatch at reboot
Post by: zbig on May 24, 2022, 11:42:55 AM
Also (or alternatively), leave the Interfaces / [if_name] / MAC address fields empty in OPNsense and use the vSphere's features to bind static MACs to IFs if needed. If you use both, the two of them clash when FreeBSD decides to shuffle IF names around.
Title: Re: OPNsense on ESXI - MAC mismatch at reboot
Post by: stanthewizzard on May 25, 2022, 01:55:40 PM
Thanks for the link

This is a huge bug !
no correction is planned ?

Thanks again
Title: Re: OPNsense on ESXI - MAC mismatch at reboot
Post by: stanthewizzard on May 25, 2022, 04:18:33 PM
@pmhausen

HUGE thanks to you
The thread you pointed me at just saved me

Thank you thank you thank you ;D