OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] - Lagg0 down at the boot
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] - Lagg0 down at the boot  (Read 4293 times)

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
[SOLVED] - Lagg0 down at the boot
« 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
« Last Edit: September 06, 2017, 08:01:07 am by romain »
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Lagg0 at the boot
« Reply #1 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)
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Lagg0 down at the boot
« Reply #2 on: September 05, 2017, 03:58:37 pm »
Any news / ideas for me ?
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1604
  • Karma: 167
    • View Profile
Re: Lagg0 down at the boot
« Reply #3 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...

Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: Lagg0 down at the boot
« Reply #4 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.
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
[SOLVED] - Lagg0 down at the boot
« Reply #5 on: September 06, 2017, 08:00:55 am »
Good for me thank you :-)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] - Lagg0 down at the boot
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2