OPNsense Forum

English Forums => General Discussion => Topic started by: bimbar on July 13, 2026, 06:35:44 PM

Title: Can interfaces switch on reboot or possibly opnsense update?
Post by: bimbar on July 13, 2026, 06:35:44 PM
That is a bit of a weird question - we are hosted on ovhcloud, and after the latest update to 26.1.7_1 the interfaces vtnet0 (LAN) and vtnet1 (WAN) have switched places. So to fix, I had to reassign the interfaces, vtnet0 is now WAN and vtnet1 is now LAN, and everything works again.

Can this happen at all? If so, how to prevent it?
Title: Re: Can interfaces switch on reboot or possibly opnsense update?
Post by: sopex on July 13, 2026, 07:19:21 PM
It's a combination of the virtualized host you are using and the way FreeBSD assigns interfaces.

Make sure "Prevent interface removal" is ticked on all your interfaces.

Also, we are at 26.1.11 now :)
Title: Re: Can interfaces switch on reboot or possibly opnsense update?
Post by: nero355 on July 13, 2026, 11:19:30 PM
Quote from: bimbar on July 13, 2026, 06:35:44 PMThat is a bit of a weird question - we are hosted on ovhcloud, and after the latest update to 26.1.7_1 the interfaces vtnet0 (LAN) and vtnet1 (WAN) have switched places. So to fix, I had to reassign the interfaces, vtnet0 is now WAN and vtnet1 is now LAN, and everything works again.
Your VM heard that I think it's more logical to have it the way it is now and decided to switch the interfaces! LOL! ^_^