Link Layer ( 2 ) |
|
|
Ethernet v2.0 MAC header : |
Address fields : |
|
Each MAC frame contains two address fields : |
Address designation : |
|
A MAC sublayer address is one of two types : |
![]() |
| I/ G = 0 |
Individual address |
| I/ G = 1 |
Group address |
| U/ L = 0 |
Globally administered address |
| U/ L = 1 |
Locally administered address |
| Preamble |
7 Bytes |
| Start Frame Delimiter |
Start Frame Delimiter is 1 octet long and is the sequence 10101011 binary. |
| Destination address |
The destination address field specifies the station(s) for which the frame is intended. It may be an individual or multicast ( including broadcast ) address. |
| Source address |
The source address field specifies the station sending the frame. The source address field is not interpreted by the CSMA/ CD MAC sublayer. |
| Ethernet Length / Type Field |
Internet protocol, e.g. IPv4 = 0800H |
| MAC Client Data |
The data consist of : |
| Frame Check Sequence |
4 Bytes |
Network Layer ( 3 ) |
|
|
IPv4 header : |
|
For more detailed information about the IPv4 header, |
![]() |
| Version |
This field indicates the format of the IP header. |
| IHL |
The internet header length is the length of the IP header counted in double words ( 32 bit units ), and thus points to the beginning of the data area. The minimum value for a correct header is 5 ( = 20 bytes ). |
| Type of service bit 0 : Reserved bit 1 : Reserved bit 2 : R ( Reliability ) bit 3 : T ( Throughput ) bit 4 : D ( Delay ) bit 5 - 7 : PRECEDENCE |
The Type of Service provides an indication of the abstract parameters of the
quality of service desired. These parameters are to be used to guide the selection of the actual service parameters
when transmitting a datagram through a particular network. Several networks offer service precedence, which somehow
treats high precedence traffic as more important than other traffic ( generally by accepting only traffic above a
certain precedence at time of high load ). The major choice is a three way tradeoff between low-delay,
high-reliability, and high-throughput. |
| Total length |
Total Length is the length of the datagram, measured in octets, including internet header and data. |
| Identification |
An identifying value assigned by the sender to aid in assembling the fragments of a datagram. |
Flags |
Various control flags |
| Fragment offset |
This field indicates where in the datagram this fragment belongs. The fragment offset is measured in units of 8 octets ( 64 bits ). The first fragment has offset zero. |
| Time to live |
This field indicates the maximum time the datagram is allowed to remain in the internet system. If this field contains the value zero, then the datagram must be destroyed. This field is modified in internet header processing. The time is measured in units of seconds, but since every module that processes a datagram must decrease the TTL by at least one even if it process the datagram in less than a second. |
| Protocol |
This field indicates the next level protocol used in the data portion of the internet datagram. ( e. g. Transmission Control Protocol = 6 ). |
| Header checksum |
A checksum on the header only. Since some header fields change ( e.g., time to live ), this is recomputed and verified at each point that the internet header is processed. |
| Source address |
Identifies the IP address from which the frame is initiated. ( sender ) |
| Destination address |
IP address for which the frame is intended. ( receiver ) |
| Options ( variable ) |
The option field is variable in length. |
| Padding ( variabel ) |
The field is variable in length. |
Version : |
| 0 | reserved | ||
| 1 - 3 | unassigned | ||
| 4 | IPv4 | Internet Protocol version 4 | [ RFC 791 ] |
| 5 | ST | ST Datagram Mode | [ RFC 1190 ] |
| 6 | IPv6 | Internet Protocol version 6 | [ RFC 1752 ] |
| 7 | TP/ IX | TP/ IX : The Next Internet | [ RFC 1475 ] |
| 8 | PIP | The P Internet Protocol | [ RFC 1621 ] |
| 9 | TUBA | TUBA | [ RFC 1347 ] |
| 10 - 14 | unassigned | ||
| 15 | reserved |
Transport Layer ( 4 ) : |
|
|
TCP header : |
|
For more detailed information about the TCP header, |
![]() |
| Source port |
Identifies the port from which the frame is initiated. |
| Destination port |
Destination port for which the frame is intended. |
| Sequence number |
The sequence number of the first data octet in this segment ( except when SYN is present ). If SYN is present the sequence number is the initial sequence number ( ISN ) and the first data octet is ISN + 1. |
| Acknowledgment number |
If the ACK control bit is set this field contains the value of the next sequence number the sender of the segment is expecting to receive. Once a connection is established this is always sent. |
| Data offset |
The number of double words ( 32 bit units ) in the TCP Header. This indicates where the data begins. The TCP header ( even one including options ) is an integral number of 32 bits long. |
| Reserved |
Reserved for future use. Must be zero. |
| Control bits |
URG : Urgent pointer field significant |
| Window |
The number of data octets beginning with the one indicated in the acknowledgment field which the sender of this segment is willing to accept. |
| Checksum |
The checksum field is the 16 bit one's complement of the one's complement sum of all 16 bit words in the header and text. If a segment contains an odd number of header and text octets to be checksummed, the last octet is padded on the right with zeros to form a 16 bit word for checksum purposes. The pad is not transmitted as part of the segment. While computing the checksum, the checksum field itself is replaced with zeros. |
| Urgent pointer |
This field communicates the current value of the urgent pointer as a positive offset from the sequence number in this segment. The urgent pointer points to the sequence number of the octet following the urgent data. This field is only be interpreted in segments with the URG control bit set. |
| Options ( variable ) |
The option field is variable in length. |
| Padding ( variable ) |
The field is variable in length. |
| User data |
Data frame will be displayed hexa-decimal. |
UDP header : |
|
For more detailed information about the UDP header, |
![]() |
| Source port |
Identifies the port from which the frame is initiated. |
| Destination port |
Destination port for which the frame is intended. |
| Length |
Is the length of the datagram, measured in octets, including this header and data. This means the minimum value of the length is eight. |
| Checksum |
Checksum is the 16-bit one's complement of the one's complement sum of a pseudo header of information from the IP header, the UDP header, and the data, padded with zero octets at the end ( if necessary ) to make a multiple of two octets. |
| User data |
Data octets will be displayed hexa-decimal and as ASCII characters. |
|
Wuerzburger Ring 39, D 91056 Erlangen |
LIAN 98 Protocol Router, Simulator and Analyzer © Copyright 2001, 2006 by MAYOR GmbH. All Rights reserved. |