Install 2ping by entering the following commands in the terminal:
sudo apt update sudo apt install 2ping
Ping utility to determine directional packet loss
2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and a 2ping client to determine which direction packet loss occurs.