OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • APU4C4 interface flapping
« previous next »
  • Print
Pages: [1]

Author Topic: APU4C4 interface flapping  (Read 331 times)

s.vanrossem

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
APU4C4 interface flapping
« on: August 11, 2024, 09:31:04 pm »
Hi guys,

I'm experiencing interface flapping since FreeBSD 13.0, I think OPNsense 22.1, so this isn't really related to the latest upgrade. I've found a custom way to avoid these issues but didn't find the time to post a topic about it.

Since FreeBSD 13.0, the `igb` driver was merged into the iflib framework, see https://man.freebsd.org/cgi/man.cgi?query=igb&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE&arch=default&format=html and https://reviews.freebsd.org/D8299
I'm using a PC engines APU4C4 (see https://www.pcengines.ch/apu4c4.htm which is shipped with a I211-AT Intel Network Adapter.

When I'm running default (no tunables), the interfaces start flapping, very annoying...

dmesg is flooded with interface up-down error messages
Code: [Select]
igb1: link state changed to DOWN
igb1_vlanX: link state changed to DOWN
igb1: link state changed to UP
igb1_vlanX: link state changed to UP
igb1: link state changed to DOWN
igb1_vlanX: link state changed to DOWN
igb1: link state changed to UP
igb1_vlanX: link state changed to UP

Code: [Select]
dev.igb.3.iflib.driver_version: 2.5.19-fbsd
dev.igb.2.iflib.driver_version: 2.5.19-fbsd
dev.igb.1.iflib.driver_version: 2.5.19-fbsd
dev.igb.0.iflib.driver_version: 2.5.19-fbsd

Code: [Select]
$ dmidecode -s bios-version
v4.19.0.1

The problem solved when using Intel's official `igb` driver...
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: 78
    • View Profile
Re: APU4C4 interface flapping
« Reply #1 on: August 11, 2024, 10:55:06 pm »
I've been running a few APUs for years using that NIC with the official FreeBSD drivers in OPNsense and never had an issue.

That flapping could be caused by the upstream device connected to the APU, the port negotiation might occasionally fail, in which case you can force the OPNsense interfaces to run at 1Gbps full duplex
Logged

s.vanrossem

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: APU4C4 interface flapping
« Reply #2 on: August 12, 2024, 07:05:33 am »
Quote from: newsense on August 11, 2024, 10:55:06 pm
I've been running a few APUs for years using that NIC with the official FreeBSD drivers in OPNsense and never had an issue.

That flapping could be caused by the upstream device connected to the APU, the port negotiation might occasionally fail, in which case you can force the OPNsense interfaces to run at 1Gbps full duplex

I didn't have issues before. I'll try forcing that setting on upstream.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • APU4C4 interface flapping
 

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