Operating System - Linux
1820254 Members
2595 Online
109622 Solutions
New Discussion

packet fragmentation check under linux

 
SOLVED
Go to solution
'chris'
Super Advisor

packet fragmentation check under linux

hi

under windows I can check with:

C:\>ping -f -l 1500 IP_address

Pinging xxx.net [X.X.X.X] with 1500 bytes of data:

Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.

Ping statistics for X.X.X.X:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


but how it works under linux ?
1 REPLY 1
Stuart Browne
Honored Contributor
Solution

Re: packet fragmentation check under linux

The equivlant would be something like:

ping -M do -s 1500 IP_address

It's covered in the man page.
One long-haired git at your service...