Professional Documents
Culture Documents
G
G
B B
2
Internet
C
a. An actual internet
b. An internet
seen by TCP/P
To TCP/P, the same internet
TCP/P considers all interconnectedappears quite differently (see again Figure
siders all of the hosts to be connectedphysical networks to be one huge network. It24.1),
con
to this larger logical
individual physical networks. network rather than to their
Applications
Application
IGMP CMP
Network IP
Datagram
ARPRARP|
Data link
Physical
Protocols defincd by
the underlying networks
Frame
(
Bits
datagram
Figure 24.3 IP
20-65536 bytes
20-60 bytes
Header Data
Source IP address
Destination IP address
Option
Flags. The bits in the flags-field deal with fragmentation (the datagram can or can
not be fragmented; can be the first, middle, or last fragnent; etc.).
Fragmentation offset. The fragmentation offset is a pointer that shows the offset
of the data in the original datagram (if it is
fragmented).
ne to live, The time-to-live field defines the number of hops a datagram can
travel before it is discarded. The source host, when it creates the datagram, sets this
field to an initial value.
Then, as the datagram travels through the Internet, router
by Touter, each router decrements
the this value by 1. If this value becomes 0 before
datdatagram
agramfrom back and forth forever between routers.
a reaches its final destination, the datagram is discarded. This prevents
going
Prot o
ated in col. The protocol field defines which upper-layer protocol data are encapsu-
the datagram(TCP, UDP, ICMP, etc.).
Header checksum. This is a16-bit field usedto check the integrity of the header.
notthe rest of the
Source address. Thepacket.source address field is afour-byte (32-bit) Internet address. It
idDestentifiineats itheon address.
original source
of the datagram.
The destination address field is afour-byte (32-bit) Internet
address. It tidentifies the final destination of the datagram.
fiOpteldsiothatns. The options field gives mormanagement,
e functionality to the IP datagram. It can carry
control routing, timing, and alignment.