OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: franks on April 30, 2022, 06:05:11 pm

Title: OPNSense with XEN: Performing interface reset on every reboot
Post by: franks on April 30, 2022, 06:05:11 pm
Hello,

I am running OPNSense 21.7.8 with XEN 4.14 (debian) today I installed debian updates and rebootet, now OPNSense is not working anymore:

On every boot, with every interface OPNSense is "reconfiguring the inferface due to feature change":

Code: [Select]
[...]
Configuring DMZ interface. . .xn2: performing interface reset due to feature change
xn2: backend features: feature-sg feature-gso-tcp4
xn2: performing interface reset due to feature change
done.
Configuring WAN interface. . .xn1: performing interface reset due to feature change
xn1: backend features: feature-sg feature-gso-tcp4
xn1: performing interface reset due to feature change
[...]

On every reset of an interface, in my Dom0 the vif-Interface belonging to the resetted interface is going down and never comes up again. So I end up with a running OPNSense and all vifs down with no connectivity.

On the next reboot - same thing.

Needless to say, that the interfaces have not changed in the xen config file at all, I do not understand, why OPNSense detects a change on every reboot.

Code: [Select]
vif = [ 'mac=00:16:3e:22:ac:fe,bridge=intern','mac=00:16:3e:3b:e8:aa,bridge=extern', 'mac=00:16:3e:4a:f8:ce,bridge=dmz' ]

I do not use openvswitch or the like, the vifs are directly added to existing bridges on VM creation.

Any help would be appreciated, my network is down :/

TIA

Frank


Title: Re: OPNSense with XEN: Performing interface reset on every reboot
Post by: franks on April 30, 2022, 07:36:38 pm
Hi,

I did some more digging and found the following:

When I watch the bridge state while booting (bridge link) I can see that when the inferface gets resetted, the attributes change to "NO-CARRIER" and the state to "disabled. On start of the boot, state is forwarding and carrier is found - so this happens exactly, when the interface is resetted.

I tested OPNSense 22.1 - unable to install, because the same thing happens while first boot from Image :(
Installing an running PFSense works :(

Frank
Title: Re: OPNSense with XEN: Performing interface reset on every reboot
Post by: astronaut on June 11, 2022, 10:53:53 pm
Hi,

for cross-reference: I have described something similar for OPNsense 22.1: https://forum.opnsense.org/index.php?topic=28708.msg139623#msg139623 (https://forum.opnsense.org/index.php?topic=28708.msg139623#msg139623)