The following steps should be performed to identify the maximum packet size that can be sent between devices:

Equipment for testing:

Linux PC 1 and Linux PC 2 (Cisco switches can also be used instead of PCs).

Once the wireless link is connected, make sure that the ping works by sending small packets using the following command:

ping remote_device_ip

MTU-testing1

The example is for 3,500 bytes.

If a ping response is received, change the Linux PC Ethernet interface MTU size with the following command:

ifconfig eth0 mtu 3500
This action may require root privileges (on Ubuntu, use sudo).

In the provided example, the network interface is called eth0. However, it can be named eth1 or any similar name on other machines.

Once the MTU value is changed on both Linux PCs, run the ping command with the attributes -M do to send the packet without any fragmentation because the ping function performs fragmentation by default. The user can run the tcpdump tool on the remote Linux PC. See the screenshot below:

MTU-Testing2