Chapter4 Network Layer
Chapter4 Network Layer
• Hexadecimal Notation:
Classful Addressing
• Network ID
• Host ID
• The class of IP address is used to determine
the bits used for network ID and host ID and
the number of total networks and hosts
possible in that particular class.
• Each ISP or network administrator assigns IP
address to each device that is connected to its
network.
Class A
• IP address belonging to class A are assigned to the
networks that contain a large number of hosts.
• The network ID is 8 bits long.
• The host ID is 24 bits long.
• The higher order bit of the first octet in class A is always
set to 0.
• The remaining 7 bits in first octet are used to determine
network ID.
• The 24 bits of host ID are used to determine the host in
any network.
Class B
• IP address belonging to class B are assigned to the
networks that ranges from medium-sized to large-sized
networks.
• The network ID is 16 bits long.
• The host ID is 16 bits long.
• The higher order bits of the first octet of IP addresses of
class B are always set to 10.
• The remaining 14 bits are used to determine network ID.
• The 16 bits of host ID is used to determine the host in
any network.
Class C
• IP address belonging to class C are assigned to
small-sized networks.
• The network ID is 24 bits long.
• The host ID is 8 bits long.
• The higher order bits of the first octet of IP addresses of
class C are always set to 110.
• The remaining 21 bits are used to determine network ID.
• The 8 bits of host ID is used to determine the host in any
network.
Class D