- Version:
- 0100 (4) (4 bits) - identifies the
version of the
IP protocol
|
- Header Length:
- number of 32-bit words in the
header.
|
-
Type of Service (a.k.a: Differentiated Services):
- specify a preference for
how the datagram would be
handled
(a kind of priority indicator)
|
Comment:
- This field is now defined by
RFC 2474 for
Differentiated services (DiffServ) and
- by RFC 3168
for Explicit Congestion Notification
(ECN)
|
- Total Length:
- number of bytes
of the entire IP datagram, in bytes (16 bits)
|
Comments:
- The smallest IP packet
with no data
(only the IP header) is
20 bytes long
- The largest IP packet has
65,535 (216 - 1) bytes
(total length)
|
- Identification:
- This field is used in the
fragmentation operation
(See next webpage)
|
- Flags:
- The flags is
a three-bit field used to
control or identify fragments.
(See next webpage)
|
Comment:
- Bit 1:
Reserved; must be zero (meaning: can't find
a use for the bit yet :-))
- Bit 2:
Don't Fragment (DF)
- Bit 3:
More Fragments (MF)
(explained below)
|
- Fragment Offset:
- Time To Live (TTL):
- Used to limits the range of the packet
|
How the TTL field is
used:
- Each router
that routes an IP packet will
decrement the
TTL
field by one.
- When the TTL field
becomes zero,
the IP packet is
discarded.
- This feature will
stop
an IP packet
from looping forever !!!
|
|
- Protocol:
- Specifies the
Transport layer protocol (= type of message)
that is carried in the data portion
of the IP datagram.
|
Common "protocol" values:
More details, see:
click here
- Header Checksum:
Comment"
Note:
- Because the TTL field
is decremented (changed)
by the router, the
checksum must be
recomputed each time by the
router.
|
- Source and Destination address:
- IP address
of the
source and destination
|
- Options:
- Extra fields --- such as
additional header fields
|
(Not of interest to this course,
will not discuss further)
|