2

is there a tool which I could generate TCP traffic with the Don't Fragment flag set? I used iperf, but I cannot find an option for DF.

1

1 Answer 1

4

The Linux command nping has a --df flag for setting the Don't Fragment bit in the flags; it also can generate TCP and UDP traffic, not just ICMP. Will that help?

3
  • On Windows it's ping -f followed by any other flags and the destination hostname or IP address. Feb 5, 2018 at 14:27
  • @ToddWilcox ... I have very little recent experience with Windows: can Windows ping generate TCP traffic?
    – jonathanjo
    Feb 5, 2018 at 14:34
  • Oh, no I don't believe so. I was focused on the not fragmenting. Feb 5, 2018 at 14:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.