OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: romain on September 04, 2017, 07:20:55 am

Title: [SOLVED] - Lagg0 down at the boot
Post by: romain on September 04, 2017, 07:20:55 am
Hello,

I have a strange behavior with my OPNsense box.
I configured a lagg on two network cards. It seems to works great but at every boot, the lagg stay down/inactive. I need to go to Interfaces > Other types > LAGG and edit my lag.
Once validate (without any change), the lagg goes up/active and everything is working again.

I have some CARP VIP address set up on the lagg but I don't find anything why the lagg is not up and running (that I understand) from the boot of the firewall.

Any idea ?

Thank you
Romain
Title: Re: Lagg0 at the boot
Post by: romain on September 04, 2017, 07:41:49 am
Few more information from dmesg:

Code: [Select]
oce0: <Emulex CNA NIC function:///10.0.664.0///> mem 0xdf204000-0xdf207fff,0xdf1e0000-0xdf1fffff,0xdf1c0000-0xdf1dffff irq 22 at device 0.0 on pci4
oce0: Ethernet address: 00:90:fa:9d:29:d8
oce0: link state changed to UP
oce1: <Emulex CNA NIC function:///10.0.664.0///> mem 0xdf200000-0xdf203fff,0xdf1a0000-0xdf1bffff,0xdf180000-0xdf19ffff irq 23 at device 0.1 on pci4
oce1: Ethernet address: 00:90:fa:9d:29:dc
oce1: link state changed to UP
vlan0: changing name to 'lagg0_vlan8'
vlan1: changing name to 'lagg0_vlan11'
lagg0: promiscuous mode enabled
lagg0_vlan8: promiscuous mode enabled
carp: demoted by 240 to 4080 (interface down)
lagg0_vlan11: promiscuous mode enabled
carp: demoted by 240 to 4320 (interface down)
carp: demoted by 240 to 10080 (interface down)
carp: demoted by 240 to 10320 (pfsync bulk start)
oce0: Interface Up
lagg0: IPv6 addresses on oce0 have been removed before adding it as a member to prevent IPv6 address scope violation.
oce0: Interface Up
oce0: promiscuous mode enabled
lagg0: link state changed to UP
carp: 28@lagg0_vlan8: INIT -> BACKUP (initialization complete)
carp: demoted by -240 to 2160 (interface up)
carp: 11@lagg0_vlan11: INIT -> BACKUP (initialization complete)
carp: demoted by -240 to 960 (interface up)
lagg0_vlan2070: link state changed to UP
oce1: Interface Up
lagg0: IPv6 addresses on oce1 have been removed before adding it as a member to prevent IPv6 address scope violation.
oce1: Interface Up
oce1: promiscuous mode enabled
oce1: Interface Down
oce1: Interface Up
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan8: 3
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan8: 3
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan8: 3
carp: 28@lagg0_vlan8: BACKUP -> INIT (hardware interface up)
lagg0_vlan8: promiscuous mode disabled
lagg0_vlan8: promiscuous mode enabled
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan11: 3
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan11: 3
ifa_maintain_loopback_route: deletion failed for interface lagg0_vlan11: 3
carp: 11@lagg0_vlan11: BACKUP -> INIT (hardware interface up)
lagg0_vlan11: promiscuous mode disabled
lagg0_vlan11: promiscuous mode enabled
carp: 11@lagg0_vlan11: INIT -> BACKUP (initialization complete)
carp: demoted by 240 to 240 (pfsync bulk start)
carp: demoted by -240 to 0 (pfsync bulk done)
Title: Re: Lagg0 down at the boot
Post by: romain on September 05, 2017, 03:58:37 pm
Any news / ideas for me ?
Title: Re: Lagg0 down at the boot
Post by: bartjsmit on September 05, 2017, 04:24:30 pm
Have you tried the OS boot delay plugin? It may fix some issues with critical races. What is the PortFast status of the switch ports?

Bart...

Title: Re: Lagg0 down at the boot
Post by: romain on September 06, 2017, 06:53:46 am
I also thought about a STP problem and I deactivate it temporary. Nothing better.

I will try the plugin you are talking about. I don't know it. I will let you know if it's better

Thanks for your answer.
Title: [SOLVED] - Lagg0 down at the boot
Post by: romain on September 06, 2017, 08:00:55 am
Good for me thank you :-)