9
9
IP as a Routed Protocol
IP accepts whatever data is passed down to it from the upper layers and forwards the data in
the form of IP Packets.
Packets are delivered from the source to the destination using IP address
Packet Propagation
IP Address
IP address is for the INTERFACE of a host. Multiple interfaces mean multiple IP addresses, i.e.,
routers.
IP Address
IP Address Class A : Address begins with bit 0. It has 8 bit network number (range 0.0.0.0-to-
127.255.255.255), 24 bit host number.
Class B : Address begins with bits 10. It has 16 bit network number (range 128.0.0.0-
to191.255.255.255), 16 bit host number.
Class C : Address begins with bits 110. It has 24 bit network number (range 192.0.0.0-
to223.255.255.255), 8 bit host number.
Internet Protocol
Subnet Mask
Internet Protocol
Remaining bits identify host/interface Number of subnet bits is called subnet mask, e.g.
Subnet IP Address range is 192.168.2.0 – 192.168.2.255 or Mask = 255.255.255.0 Subnet IP
Address range is 192.168.2.0 – 192.168.2.15 or Mask = 255.255.255.240
IPAddress and Subnet Mask define the Subnet For Example IP address 172.31.1.0 and Subnet
Mask of 255.255.240.0 means that the subnet address ranges from 172.31.0.0 to 172.31.15.255
The first Address is the Network Address and the last Address is the Broadcast Address. They are
reserved and cannot be assigned to any node.
The Gateway Address is the Address of the router where the packet should be sent in case the
destination host does not belong to the same subnet Internet Protocol
IP Configuration of an Interface
ARP
ARP (Address Resolution Protocol) is used in Ethernet Networks to find the MAC address of a
node given its IP address.
Source node (say 192.168.2.32) sends broadcast message (ARP Request) on its subnet asking
``Who is 192.168.2.33’’.
All computers on subnet receive this request Destination responds (ARP Reply) since it has
192.168.2.33 Provides its MAC address in response
Internet Protocol
IPv6
Internet Protocol Version 4 is the most popular protocol in use today, although there are some
questions about its capability to serve the Internet community much longer.
IPv4 was finished in the 1970s and has started to show its age.
The main issue surrounding IPv4 is addressing—or, the lack of addressing—because many
experts believe that we are nearly out of the four billion addresses available in IPv4.
Although this seems like a very large number of addresses, multiple large blocks are given to
government agencies and large organizations.
Internet Protocol
The IPv6 addresses are being distributed and are supposed to be used based on geographical
location.