OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: Tubs on August 12, 2018, 03:31:51 pm

Title: igb NIC - WAN drop and increased PING time
Post by: Tubs on August 12, 2018, 03:31:51 pm
Hello,

With OPNsense 18.7 I still have the issues on WAN port with increased PING time till packets lost and drop of WAN connection. The issue is a know issue related to igb driver or Intel NIC. In my case it is an Intel NIC i211-AT on a Qotom Q335G4. I see the issue only on WAN port that is connected to the cable modem AVM Fritz!Box 6490. On LAN ports connected to a Cisco switch all is fine (I always can reach OPNsense Web interface via these LAN ports). My first supect was the modem. But after this was getting exchanged the issue still is there.

The issue also is reported on pfsense forum and in this old post here
https://forum.opnsense.org/index.php?topic=5511.msg28687#msg28687 (https://forum.opnsense.org/index.php?topic=5511.msg28687#msg28687)

I tried out all recommended tuning parameters, but all without success. I believe I see an improvement but no solution.


/boot/loader.conf.local

Code: [Select]
kern.cam.boot_delay=10000
kern.ipc.nmbclusters=1000000
hw.igb.num_queues=1
legal.intel_ipw.license_ack=1
legal.intel_iwi.license_ack=1
hw.pci.enable_msix=0
hw.igb.enable_msix=0


in optimizatino parameters

Code: [Select]
dev.igb.0.eee_disabled=1
dev.igb.1.eee_disabled=1
dev.igb.2.eee_disabled=1
dev.igb.3.eee_disabled=1


Is there anyboy working on this topic?
Is there already a solution that helps?


Thank you

Title: Re: igb NIC - WAN drop and increased PING time
Post by: marjohn56 on August 12, 2018, 06:23:51 pm
Try putting a passive switch in between the WAN port and the Fritzbox, just as a test. See what happens then.
Title: Re: igb NIC - WAN drop and increased PING time
Post by: Tubs on August 12, 2018, 07:25:54 pm
Try putting a passive switch in between the WAN port and the Fritzbox, just as a test.

This is what I did first as my first suspect was the FritzBox. Similar issues are reported in the net with this device in combination with certain switches or NICs. But no change in combination with OPSsense standard settings I could see. As second test I replaced OPNsense box with an old home router. I did not recognize hanging or los of connection. But this device did not have the chance for ping monitoring. But for me this was the sign to continue searching on OPSsense or on Q335G4 side.


When I now connect the passive switch in between the WAN port as you mentioned I do not see further improvements.


But meanwhile after some time I can confirm that the settings from my first post improved the situation. There still are packets lost. But the duration the issues occurs is shorter and I haven’t observed a complete link disconnection so far.