[geeks] IP Packet Fragmentation

Mike Meredith very at zonky.org
Mon Mar 3 15:56:26 CST 2008


On Mon, 3 Mar 2008 16:32:34 -0500, James Fogg wrote:
> > Does anyone know of any handy means to force fragmented packets in a
> > test environment?  I have some software on a ARM board that is
> crashing,
> > and it was suggested to me that I explore if this is why.
> 
> 
> Set your frame size or MTU really small.
> 
> Or better yet, place two routers in your test with a crossover serial
> or Ethernet link and whack your MTU on that link.

You may also want to consider a tool like hping3 (or hping2) ...
allowing you to hand craft packets. It'll probably look too low-level
at first, but with a certain class of problems that's just right.


-- 
Mike Meredith (http://zonky.org/)
 "Why are we hiding from the police, daddy?"
 "Because we use emacs, son, and they use vi."



More information about the geeks mailing list