Internet _ Protocol
Internet _ Protocol
globally.
IP is unreliable.
(IPv6).
IPv4 was the first version of Internet Protocol used to take into
account Internet traffic and there are just over 4 billion IPv4
much larger address pool than IPv4. It was deployed in 1999 and
should meet the world’s IP addressing needs well into the future.
this, the addressing scheme is very important. Since each end system
the address contains both an ID for the network and an ID for the
IP Addressing Class
IP Addresses - Class A
• 32-bit global internet address
• Class A
— All 0 reserved
— All allocated
IP Addresses - Class B
• Start 10
• All allocated
IP Addresses - Class C
• Used for large number of networks and each network has less
256 hosts
• Start 110
IP Addresses - Class D
used when multicasting is required, such as when a datagram
IP Addresses -Class E
These addresses are reserved for future use.
In the IP address, if the host address bits are all zeros, the IP
address represents the network address. If the host address bits are
now slowly being deployed. This field ensures that the correct
words. All fields except IP options and padding have fixed length.
20 bytes.
Service type (8 bits): These bits specify how the datagram has to be
handled by systems. The 4th, 5th, and 6th bits are called D, T, and R
will be honored. Note that these bits are to set the quality of service
datagram.
indication.
indication.
subtracting the header length from the value of this field. The
a LAN that can handle only 1526 bytes in one frame for instance. In
such a case, the datagram has to be fragmented and sent over the
network. The minimum datagram size that every host and router
Fragment.
Bit 2 (MF i.e., “more fragments”): This bit specifies whether the
Fragment offset (13 bits): Specifies the offset of the fragment in the
traffic, this field is very useful. This field contains the number of
by 1, and either the packet reaches the destination before the field
becomes 0 or, if it reaches 0 earlier, it is discarded. The default hop
Header checksum (16 bits): The 16-bit checksum field is used for
Source IP address (32 bits): This field contains the IP address of the
When the record route option is set, each router adds its IP address
in the options field and then forwards it. When the source route
option is set and the IP addresses of all the hops are mentioned in
the options field, the datagram takes only that route. The source
route option provides a way for the sender to dictate the path