ProByte.org Linux tutorials

How to fix: After updating from Ubuntu 20.04 to Ubuntu 22.04 I experienced a lot of packet loss

After the upgrade I witnessed 64% packet loss, which is insane.


ping 192.168.101

Pinging 192.168.101 with 32 bytes of data:
Reply from 192.168.101: bytes=32 time<1ms TTL=63
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.101: bytes=32 time<1ms TTL=63
Reply from 192.168.101: bytes=32 time<1ms TTL=63
Request timed out.
Reply from 192.168.101: bytes=32 time<1ms TTL=63
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.101: bytes=32 time<1ms TTL=63
Reply from 192.168.101: bytes=32 time<1ms TTL=63

Ping statistics for 192.168.101:
Packets: Sent = 17, Received = 6, Lost = 11 (64% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

 

To fix this issue  I have found that installing package netfilter-persistent will resolve this.

 apt update && apt install netfilter-persistent




And then reboot your server

 reboot 

Leave a Reply

Your email address will not be published. Required fields are marked *