The first chapter gives a short overview of how to establish a RAW ethernet communication between two Linux hosts.
IP networking is using four layers:
Normaly applications are placed above the TCP/UDP layer. Thus, communication between two programs is going two times through all the layers. On the sender side from TCP/ UDP down to the physical layer, on the receiver side from the physical layer up to the TCP/ UDP layer. The actual data transmission is carried out by the physical layer.
However, it is also possible for two programs to communicate on the ethernet layer. In this case the IP and the TCP/UDP layer are not used and as a result an increased data transmission rate is to be expected. It is one purpose of this document to show exact performance figures.