This package creates packets from the command line. Here are some examples. A fragmented igmp packet: ( echo -en '\002\000' ; for X in `seq 1 20` ; do echo -n 'PacketData' ; done ) | makeip 192.168.0.1 192.168.0.253 -i - -p 2 -s mf -v | makeeth -d 00:60:1D:23:C5:41 -i - -s 00:00:F8:05:92:0D -v | sendeth -d eth0 -i - -v A packet with identical source and destination addresses: echo -n PacketDataPacketData | makeudp 4 -i - -pd 192.168.0.253 -ps 192.168.0.253 -s 1111 -v | makeip 192.168.0.253 192.168.0.253 -p 17 -i - | sendpacket 192.168.0.253 -v The "4" after udp is supposed to be the destination port, but it appears there's a bug there and "4" input comes out to be 1024 output.