OPNsense 21.10.2-amd64 lost packet randomly

Started by Georges, February 03, 2022, 07:32:37 PM

Previous topic - Next topic
February 03, 2022, 07:32:37 PM Last Edit: February 03, 2022, 07:34:24 PM by Georges
Hello,

This is my DECISO Appliance

Versions    OPNsense 21.10.2-amd64
FreeBSD 12.1-RELEASE-p21-HBSD
OpenSSL 1.1.1l 24 Aug 2021
Updates    Click to check for updates.
CPU type    AMD GX-420MC SOC (4 cores)
I got 8Go RAM.

Since the 21.10.2 i got some strange issue.
Some packet drop. This is random.
I test using my old ISP box and no drop.
When testing speedtest i found something strange. During download no problem. But since i go to upload mode, sometimes i got the test block for secs, a pic of Opnsense CPU and then the test continue sometime increase sometime reduce do 0 Mega and error.
Exemple using the speedtest cli on the Appliance :

   Speedtest by Ookla

     Server: ISP
        ISP: ISP
    Latency:     1.70 ms   (0.32 ms jitter)
   Download: FAILED
[error] Cannot open socket: Timeout occurred in connect.

And other test is

   Speedtest by Ookla

     Server: ISP
        ISP: ISP
    Latency:     1.70 ms   (0.07 ms jitter)
   Download:   935.26 Mbps (data used: 422.5 MB)
     Upload:   601.08 Mbps (data used: 271.5 MB)
Packet Loss:     0.0%

I test from the speedtest on my Computer, same behavior.

Is anyone got this lost packet and drop issue?

I didn't activate IDS and Zenarmor for the test.

Thank you for your time :)

Can we structure this report a little more:

> Some packet drop. This is random.

Do you measure by ping, or is this just under high load? Do you see transmit errors for that interface in the overview / dashboard widget? Which NIC are you using for it? What was your version before 21.10.2 that would work flawlessly?

One common cause of this problem is as trivial as a bad network cable that you use when connecting the additional box but don't use when you remove it. Stranger things have happened.


Cheers,
Franco

Hi Franco,

Thank you to answer me.

For the basic test i'm doing just a ping 8.8.8.8  for around 100 request.
Not during speedtest, no load.

This is my interface connect to the internet
igb1@pci0:3:0:0:        class=0x020000 card=0x00008086 chip=0x157b8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'I210 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

My deciso is in RJ45 cat6a into brocade CAT6A into RJ45 into https://www.fs.com/fr/products/101477.html into the ISP ONT and fiber.
I think i upgrade 2 or 3 versions. Maybe i can found this in the logs?
I can't test directly now, maybe the problem is the brocade. I will test tonight or this weekend. (I have rebuild all my Server Rack, sounds like a match with the start of the drop)
I will answer once i test it. Thank you for the tips.

Just test it now and no drop for 200 requests.