Professional Documents
Culture Documents
05 Handout 1
05 Handout 1
Host-to-Host Communications
I. IP Packet
• Header - contains information about the packet
• Payload - contains the upper-layer information
A. IP Header:
a. Version Field – It is a 4-bit field that identifies the IP version being used. It
specifies the format of the IP header.
b. Internet Header Length (IHL) Field – It is a 4-bit field containing the length
of the IP header in 32-bit increments. Also, it used to specify how long the IP
header is in 32-bit words which is the minimum value for this field is 5.
c. Types of Service (ToS) Field – The 8-bit ToS uses 3 bits, it specifies the
quality of service that will be used.
d. Total Length Field – It specifies the length of the IP packet that includes the
IP header and the user data. The length field is 2 bytes, so the maximum size
of an IP packet is 216 – 1 or 65,535 bytes.
e. Identification Field – It used to identify the packet as belonging to a
datagram that has been fragmented.
f. Flag Field – It used in specifying how the fragmentation of packets is
handled.
g. Fragment Offset – It is used to indicate the offset count of the fragment from
the start of the original packet.
h. Time-To-Live (TTL) Field – The TTL field is primarily set to a number and
decremented by every router that is passed through. When TTL reaches 0,
the packet is castoff.
i. Protocol Field – In the layered protocol model, the layer that regulates which
application the data is from or which application the data is for is indicated
using the Protocol field. This field does not identify the application but
identifies a protocol that sits above the IP layer that is used for application
identification. Numeric values are based on RFC 1700: Assigned Numbers.
j. Header Checksum Field – A value calculated based on the contents of the
IP header. It is used to determine if any error have been introduced during
transmission.
k. Source and Destination Address Field – Source IP Address is 32-bit IP
address of the sender while Destination IP Address is 32-bit IP address of
the intended recipient.
l. Options and Padding Field – It is a field that varies in length from 0 to a
multiple of 32-bits. If the option values are not a multiple of 32-bits, 0s are
added or padded to ensure this field contains a multiple of 32 bits.
B. Packet Flow Control – It describes how hosts handle packets that are received
from other hosts.
Chauhan, S., & Soni, P. (2016). Computer network. New Delhi, India: University Science Press, an Imprint of Laxmi Publications, Pvt.
Ltd.
Comer, D. (2014). The Internetworking. Internetworking with TCP/IP (Vol.1). Boston, Massachusettes: Pearson.
Parkhurst, W. R. (2004), Internet Addressing and Routing First Step. In Cisco Press. Retrieved from
http://www.ciscopress.com/articles/article.asp?p=348253&seqNum=4
Peterson, L., & Davie, B. (2012). Computer networks: A systems approach. Amsterdam: Morgan Kaufmann.
Wang, P.C. (2010). IP packet forwarding research progress. New York: Nova Science Publishers, Inc.