To fix intermittent 2.5GbE link drops on an Intel I226-V OPNsense or pfSense firewall, isolate one layer at a time. Start by confirming the igc(4) driver, swapping the cable and far-end port, and testing a forced 1 Gbps link. Next, check for platform updates and review the driver’s power-management defaults. On pfSense, consider the documented flow-control, mbuf, or interrupt tunables after those checks.
The typical symptom is a 2.5GbE port that links, passes traffic, drops briefly, and reconnects, sometimes stepping down to 1 Gbps. On a WAN port it looks like an ISP outage; on a LAN uplink it mimics a switch fault. Treat the sequence below as an ordered diagnostic ladder rather than a bundle of tweaks to apply at once.
Confirm the port uses the igc(4) driver
Before changing any settings, verify which Ethernet controller and FreeBSD driver the appliance actually uses. Run these commands from the firewall shell:
ifconfig -l
pciconf -lv
ifconfig -l lists all available network interfaces on the system (ifconfig(8)). pciconf -lv lists PCI devices with each attached driver name, or none if no driver is attached (pciconf(8)). With -v, pciconf also attempts to load its vendor/device information database to print vendor, device, class, and subclass identification strings (pciconf(8)).
OPNsense is based on FreeBSD, and all FreeBSD drivers are included in the OPNsense kernel (OPNsense hardware documentation). FreeBSD’s igc(4) driver—also documented in Netgate’s pfSense hardware tuning guide—supports the I220-V, I221-V, I225-LM, I225-LMvP(2), I225-V, I225-IT, I225-IT(2), I225-K, I225-K(2), I226-LM, I226-LMvP, I226-V, I226-IT, and I226-K controllers. When interfaces attach as igc0, igc1, and so on, this checklist applies.
If pciconf -lv reports Realtek Ethernet hardware instead, stop and switch guides. FreeBSD’s built-in re(4) covers older Realtek families such as RTL8168 and RTL8111 rather than the 2.5GbE RTL8125, while rge(4) supports the Realtek RTL8125 up to 2.5 Gbps. Realtek 2.5GbE appliances follow a different driver path, and the Intel igc tunables below do not apply.
Next, inspect the current configuration and supported media modes for the affected port:
ifconfig igc0
ifconfig -m igc0
Running ifconfig igc0 displays the interface’s current configuration, while ifconfig -m igc0 prints its capability list and all supported media for that interface (ifconfig(8)). Replace igc0 with the interface name you are troubleshooting.
According to igc(4), autoselect enables speed and duplex auto-negotiation, while 1000baseT and 2500baseT support only full-duplex mode. Both 10baseT/UTP (10 Mbps) and 100baseTX (100 Mbps) also support full duplex and use mediaopt to select half-duplex mode. If a port you expect to run at 2500baseT reports 1000baseT, record that active link speed and check whether it started at 2500baseT or never linked at 2.5 Gbps before changing settings.
Isolate the cable and the far-end port
Physical-layer faults frequently look like driver bugs at 2.5 Gbps. Rule out the cabling path and the far-end port before changing software settings.
- Test with a short, known-good patch cable directly between the firewall and the connected device, bypassing wall runs and patch panels.
- Move the cable to another port on the switch or modem, then to another port on the appliance. Track which port the drops follow so you know whether to investigate the far-end port or the appliance port next.
- Test against a second switch or client port if available. Auto-negotiation mismatches between a 2.5GbE NIC and a specific switch or ISP modem can trigger repeated link resets.
If the drops stop with a short direct cable, inspect the original wall run, patch panel, or cable before tuning the NIC driver.
Test forcing the link to 1000baseT
Testing the port at 1000baseT (1000 Mbps full-duplex instead of 2500baseT at 2500 Mbps per igc(4)) lets you observe whether the drops still happen at 1 Gbps.
Starting with OPNsense 26.7.6, interface settings are integrated into the grid under Interfaces → Assignments (OPNsense 26.7 release notes).
Before saving: Use the Assignments dialog only for interfaces that use neither legacy advanced DHCP nor file-based DHCP. Saving in the dialog removes settings for those modes (OPNsense Interfaces documentation). To preserve them in the 26.7 series, open the legacy /interfaces.php page directly by URL (OPNsense Interfaces documentation).
For interfaces eligible for the Assignments workflow, use the edit button on the target row, adjust Media (speed and duplex), save the dialog, and select Apply on the Assignments page (OPNsense Interfaces documentation). OPNsense advises: “Leave at the default unless the selected value is known to match the connected port” (OPNsense Interfaces documentation).
For a runtime test from the FreeBSD console on either platform, ifconfig(8) sets the media type with media type (ifconfig(8)), using the media names defined in igc(4):
ifconfig igc0 media 1000baseT
To return the port to auto-negotiation, run:
ifconfig igc0 media autoselect
For OPNsense interfaces that use neither legacy advanced DHCP nor file-based DHCP, save in Interfaces → Assignments and select Apply to commit the setting to permanent storage. Pending saved changes that are not applied are held in temporary storage and discarded on reboot (OPNsense Interfaces documentation). Keep local console access ready before changing link settings on a management interface, and match the connected switch or modem port so you do not introduce a link mismatch.
How to use the test result:
- On a WAN connection provisioned at 1 Gbps or less, keeping
1000baseTis a practical workaround if the link stays stable, though you should still check actual WAN throughput after the change. - On a LAN uplink where you need 2.5 Gbps, a steady
1000baseTlink is a useful clue rather than a final diagnosis. Re-check cabling, the peer port, and platform updates before returning toautoselect.
Check igc(4) ASPM and EEE defaults
- PCIe Active State Power Management (ASPM). OPNsense 26.7.2 disabled PCIe ASPM in the
igcdriver to improve stability (OPNsense 26.7 release notes). - Energy Efficient Ethernet (EEE). FreeBSD’s
igc(4)manual documentshw.igc.eee_settingas a loader tunable with a default of1(disabled). Check whether a custom loader setting overrides that default.
Check your OPNsense or pfSense release
Confirm the exact firewall version before chasing kernel tunables, because driver-level fixes land through platform updates.
- On OPNsense: To check for minor updates, open System → Firmware → Status and click Check for updates (OPNsense Updates documentation). Check the series changelog—for example, OPNsense 26.7.2 disabled PCIe ASPM in
igcto improve stability (OPNsense 26.7 release notes). - On pfSense: Record the exact installed release and review Netgate’s release notes and update guidance for applicable
igc(4)fixes.
Back up your configuration before applying any update, then retest the link under normal traffic before concluding that software is ruled out.
Apply FreeBSD driver and network tunables
Reach for kernel tunables only after checking the cable, peer port, link speed, and platform updates. Netgate’s hardware tuning guide documents the igc(4) flow-control, mbuf, TSO, and MSI/MSI-X tunables below for pfSense.
OPNsense also runs on FreeBSD (OPNsense hardware documentation) and manages loader.conf and sysctl.conf tunables under System → Settings → Tunables (OPNsense Settings documentation). OPNsense notes that running sysctl -a on an OPNsense shell lists possible sysctl values, and that additional tunables depend on boot loader capabilities and kernel module support (OPNsense Settings documentation).
Where you enter tunables depends on the platform and tunable type:
- OPNsense: Enter
loader.confandsysctl.conftunables under System → Settings → Tunables after confirming availability on your release withsysctl -awhere applicable (OPNsense Settings documentation). - pfSense: Enter runtime tunables under System → Advanced, on the System Tunables tab (Netgate hardware tuning guide). Place loader tunables in
/boot/loader.conf.local—for example via Diagnostics → Edit File—and reboot. Netgate notes that/boot/loader.conf.localis not backed up inconfig.xml, so keep a separate manual backup (Netgate System Tunables documentation).
Flow control. For pfSense, Netgate documents a per-interface runtime tunable for igc(4) (Netgate hardware tuning guide):
dev.igc.<id>.fc="0"
Replace <id> with the interface number—for example, igc3 uses dev.igc.3 (Netgate hardware tuning guide).
Network memory buffers (mbufs). Netgate warns for pfSense that mbuf exhaustion can cause kernel panics or leave expected interfaces uninitialized, especially on multi-queue NICs. The same guide notes specifically that multi-port Intel igb cards can exhaust mbufs (Netgate hardware tuning guide). On pfSense, Netgate recommends checking netstat -m to verify whether any buffer areas are near exhaustion (Netgate hardware tuning guide):
netstat -m
If mbuf clusters are near exhaustion on pfSense, Netgate recommends raising the cluster limit as a loader tunable and rebooting (Netgate hardware tuning guide):
kern.ipc.nmbclusters="1000000"
Netgate notes that some network interfaces may require raising separate pool limits instead, such as kern.ipc.nmbjumbop, depending on which area netstat -m shows near exhaustion (Netgate hardware tuning guide). On 64-bit pfSense systems with multiple GB of RAM, Netgate calls 1000000 mbuf clusters a safe starting point, consuming about 2.3 GB if fully allocated (Netgate hardware tuning guide). That limit can be lowered on systems with less RAM. OPNsense lists 4 GB RAM as its Reasonable specification and 8 GB RAM as Recommended (OPNsense hardware documentation). If you tune mbuf limits on OPNsense, check sysctl -a and your release’s boot loader support before adding entries under System → Settings → Tunables (OPNsense Settings documentation).
Keep hardware offloads disabled. On pfSense, Hardware TCP Segmentation Offload (TSO) and Hardware Large Receive Offload (LRO) under System → Advanced on the Networking tab default to checked (disabled) (Netgate hardware tuning guide). Netgate notes that nearly all hardware and drivers have issues with these settings, which can lead to throughput issues. The same guide notes that adding net.inet.tcp.tso="0" as a loader tunable is sometimes necessary.
On OPNsense, Hardware TSO and Hardware LRO under Interfaces → Settings are likewise checked (disabled) by default (OPNsense Interface Settings). OPNsense notes that Hardware TSO is incompatible with IPS and broken in some network cards, while enabling Hardware LRO can degrade routing performance or be incompatible with packet forwarding. OPNsense’s Suricata IPS uses Netmap and explicitly requires all hardware offloading features to stay disabled under Interfaces → Settings in IPS mode (OPNsense IPS documentation). If an earlier tweak enabled TSO or LRO, turn them back off.
MSI-X and MSI. For pfSense, Netgate explains that some NICs behave better with MSI-X, MSI, or classic interrupts, and documents disabling MSI-X or MSI via loader tunables with a reboot required (Netgate hardware tuning guide):
hw.pci.enable_msix="0"
hw.pci.enable_msi="0"
On pfSense, disabling only MSI-X nudges the card toward MSI, while disabling both nudges it to regular interrupts (Netgate hardware tuning guide). Treat interrupt changes as a late step and revert them if stability does not improve.
Rule out non-NIC causes
Three non-NIC issues can produce symptoms that resemble an unstable 2.5GbE port.
Thermal throttling. A fanless chassis inside a closed cabinet can throttle under sustained load without dropping carrier. If throughput degrades after several minutes while the link stays up, check temperatures before tuning the NIC.
Power delivery. Inexpensive external power adapters can sag under load and trigger erratic behavior across subsystems. If multiple ports drop or reset at the same time, test with a known-good replacement power supply rated for the appliance.
PPPoE WAN links. A stalling PPPoE WAN is often a queue-distribution bottleneck rather than a physical drop. For pfSense, Netgate explains that multi-queue NICs rely on hashing to assign traffic to queues. That works well for IPv4/IPv6 TCP and UDP traffic, but fails with protocols such as PPPoE and can cause underperformance on multi-core systems (Netgate hardware tuning guide). On pfSense, Netgate recommends trying the if_pppoe backend first (“much faster and more efficient and may eliminate the need for additional tuning”). Alternatively, add net.isr.dispatch=deferred as a system or loader tunable on pfSense (Netgate hardware tuning guide).
When to stop and return the box
If one port still drops link while the others stay stable, keep the results from your short-cable, alternate-device, and software-update tests. Use those results to guide further diagnostics for the affected port.
Share your exact platform release, link logs, and port-to-port comparison with the appliance vendor or platform support. Ask whether an applicable driver fix remains unchecked, and discuss further diagnostics or a return if the port remains unstable.
Order of operations, condensed
- Run
ifconfig -landpciconf -lvto confirmigc(4), not Realtek, then inspect the target port withifconfig igc0andifconfig -m igc0. - Swap the patch cable, move both ends to alternate ports, and test a short direct connection.
- Test forcing
1000baseT(matching the connected peer port) and observe link stability and throughput. In the OPNsense 26.7 series starting with 26.7.6, saving in Assignments removes legacy advanced or file-based DHCP settings. Open/interfaces.phpdirectly for interfaces that use either mode. For other interfaces, save in Assignments and select Apply. - Check whether a custom setting overrides
hw.igc.eee_setting, which defaults to1(disabled). - Check your OPNsense or pfSense release (OPNsense 26.7.2 disables PCIe ASPM in
igc), back up the configuration, and apply applicable updates. - On pfSense, test disabling per-interface flow control with
dev.igc.<id>.fc="0". - Confirm hardware TSO and LRO stay disabled on either platform; on pfSense, check
netstat -mand raisekern.ipc.nmbclustersif mbuf clusters are near exhaustion (or the matching pool limit). - On pfSense, test disabling MSI-X (
hw.pci.enable_msix="0") first. If you also test disabling MSI (hw.pci.enable_msi="0"), keep MSI-X disabled. Reboot after each loader change and revert settings that do not help. - Rule out thermal throttling, power delivery, and PPPoE multi-queue hashing (on pfSense, Netgate recommends trying
if_pppoeornet.isr.dispatch=deferred). - Share the exact release, logs, and port-comparison results with support before concluding a port fault or arranging a return.
Change one variable at a time and give each test enough time to reproduce the fault. A flap that appears twice a day cannot be cleared by a five-minute check.
Once the link is stable, use the N100 throughput and power calculator to explore estimated headroom for the complete appliance and its enabled services.
Evidence and limits. The driver specifications, commands, GUI paths, and tunables in this guide are drawn from FreeBSD 15.1 manual pages, OPNsense 26.7 documentation and release notes, and Netgate pfSense documentation checked on November 26, 2026. No hands-on testing was performed for this guide.