0% found this document useful (0 votes)
84 views2 pages

IPv4 Header Structure and Functionality

The article describes the IPv4 header, explaining the various fields that make it up, such as version, identification, time to live, source and destination addresses, and options.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views2 pages

IPv4 Header Structure and Functionality

The article describes the IPv4 header, explaining the various fields that make it up, such as version, identification, time to live, source and destination addresses, and options.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

434 Chapter 5

32 Bit

Version IHL Type of service Total length

Identification P p Fragment offset

Time to live Protocol Header checksum

Source address

Destination address

Options (0 or more words)

Figure 5.53. The header of IPv4 (Internet Protocol).

In digital speech transmission, speed prevails over accuracy, while in the...


File transfer, error-free transmission is a quality more important than speed.
Originally, the 6-bit field contained (from left to right) a 3-bit field called pre-
cedette(priority) and three indicators, D, T, and R. The precedence field indicated the priority from 0
(normal) to 7 (network control package). The three signaling bits allowed for
host to indicate the interest in the set consisting of delay, capacity of tra-
sport, reliability. In theory, these fields allowed routers to choose, for example,
through a satellite link characterized by high transport capacity and by a
long delay and a leased line characterized by low transport capacity and a delay
In reduced form [NrR - an additional bit has also been defined, C: if set to one, the router
should choose the minimum cost path for the package. The unused bits before the
total length, therefore, are not two but one only]. In practice, current routers often
they completely ignore the campotype or f Service. In the end, IETF threw in the towel and has
slightly bias the field to favor differentiated services. Six bits are used to indicate-
the service class of the package; as we have already seen, these clas-
it includes four queuing priorities, three elimination probabilities, and the sto- classes
[Link] length takes into account all the content of the datagram,
header and data; the maximum length is 65,535 bytes. Today this upper limit is
tolerable, but the gigabit networks of the future might require larger datagrams. The
field identification (identificazione) serves the destination host to determine to
which datagram belongs to the fragment just arrived. All fragments of a data-
grammar contain the same value identification. Right after there is an unused bit, and
then two long fields of 1 bit. DF is the acronym for Don't Fragment, meaning do not fragment.
It represents an order that instructs routers not to fragment the datagram.
but why the destination is not able to put the pieces back together. For example, at the...
a computer, the ROM may ask to receive a memory image between-
sent via a single datagram.
The Strato network 435

By marking the datagram with the DF bit, the transmitter knows that the data will arrive like this.
how they were transmitted, that is in one piece, even if this means imposing on the
datagram to avoid a small packet network placed on the best path, to follow-
but rather a non-optimal path. Any computer must accept fragments with
size of 576 bytes, but it can also accept shorter ones. MF is the acronym for More
Fragments, or rather more fragments. All the fragments, except the last one, have this bit set-
It is essential to know when all the fragments of a datagram have arrived.
Fragment offset indicates the position of the fragment in the datagram.
all fragments except the last in a datagram must be multiples of 8 bytes, which
is the size of the elementary fragment. Since 13 bits are available, there can be
a maximum of 8,192 fragments per datagram, consequently the maximum length of
a datagram is equal to 65,536 bytes, one more than the total length field. The field to live
(time to live) is a counter used to limit the life of a packet. It is assumed
that the count is expressed in seconds, so the maximum duration is 255 sec. The counter-
should be decreased at every jump, or if it remains for a long time acco-
data in a router (in this case, it should be decremented multiple times). In reality,
however, the value reflects only the number of hops. When it reaches zero, the packet is unloaded.
This is a notification packet sent to the source host. This feature prevents the
datagrams spinning forever, an event that could happen in case of dan-
routing table management. When it has assembled a complete datagram, it
strato network needs to know what to do with it. The campoprotocol (protocol) indicates
which transport process is waiting for that data. TCP is one possibility, but there are also
UDP and other solutions. The numbering of protocols is valid globally on the Internet. I
protocol numbers and the other assigned numbers have been listed in the past in the docu-
mento RFC 1700, but today they are contained in an online database that can be downloaded.
to the site [Link]. The header checksum (header checksum) verifies
it's just the header. This checksum helps to detect errors generated by allocations of
defective memory in the router. The algorithm sums all the half words of 16 bits just
arrive, using one’s complement arithmetic, and then take the one’s complement of
result. For the purposes of this algorithm, it is assumed that the header checksum is zero at the
rivo. This algorithm is more robust than a normal sum. Note that header checksum
it must be recalculated at each jump, because at least one field always changes (the field
time to live), but some tricks allow for faster processing. Source address
(source address) edestination address(destination address) indicate the number of
network and the number of hosts; Internet addresses are examined in the next paragraph. The field
options was intended as an escape route to provide for the subsequent versions of pro-
I allow the possibility of including information not present in the original project, to the hopes-
testers of new ideas and designers to avoid assigning header bits
all information used more rarely. The options are of variable length. Each one starts with
a 1-byte code that identifies it; some are followed by an option length field (length-
option length) of 1 byte that precedes one or more bytes of data. The options field is filled
with multiples of four bytes. Originally, five options were defined, listed in Figure
5.54; subsequently, new ones have been added.

You might also like