Creating fragmentation using sockets (on ethernet)



Hello,

Packets which are bigger than 1500 (which is the default MTU for
ethernet) should cause
fragmentation (assuming that the machine supports it).

I want to test fragmentation issues on some system.

- Can anybody give some advice/pointers for creating a small "c"
programs using sockets API
which will cause fragmentation ?

Regards,
Ian
.



Relevant Pages

  • Re: Creating fragmentation using sockets (on ethernet)
    ... I don't have any experience with Jumbo ... fragmentation. ... Some Ethernet cards allow Ethernet Jumbo frames which are bigger than ...
    (comp.os.linux.development.system)
  • Re: Disable ipv4 fragmentation
    ... I'd like to disable the fragmentation of the ipv4 introduce. ... Which means, oversized packets ... fit the smallest MTU on the whole path. ... You are probably talking about gigabit ethernet. ...
    (Debian-User)
  • Re: change mtu
    ... Setting the MTU of DSL-Connections to a value of 1452 will keep the ... Ethernet allows a payload size of 1500 bytes, ... of an IP packet that can be transmitted without fragmentation is 1500. ...
    (Ubuntu)
  • Re: Creating fragmentation using sockets (on ethernet)
    ... fragmentation. ... programs using sockets API ... You must be asking about IP fragmentation since ethernet doesn't have ... send datagrams larger than 1500 bytes (well, technically, anything above ...
    (comp.os.linux.development.system)
  • Re: Creating fragmentation using sockets (on ethernet)
    ... I want to test fragmentation issues on some system. ... You must be asking about IP fragmentation since ethernet doesn't have ... The easiest way to generate fragmented IP packets is to use UDP to send ... send datagrams larger than 1500 bytes (well, technically, anything above ...
    (comp.os.linux.development.system)