Skip to content
Sahithyan's S3
1
Sahithyan's S3 — Data Communication and Networking

IP Addressing

If a router, or a PC has multiple interfaces, each interface will have its own IP address.

Various methods are used to divide IP networks into subnets.

A method of dividing an IP network into subnets where each subnet is of equal size and uses the same subnet mask. All subnets have the same host capacity.

Easier for network planning. But sometimes less efficient.

Allows a network to be divided into subnets of different sizes, each with its own subnet mask. Enables more efficient use of IP address space.

Managed by carefully planning the network, starting with the largest required subnets and working down to the smallest, ensuring that address ranges do not overlap.

An obsolete method. Network and host part of the IP address are divided based on fixed classes.

ClassStarting BitsAddress RangeNetwork BitsHost BitsNo. of NetworksHosts per Network
A01.0.0.0126.255.255.255 82412816,777,214
B10128.0.0.0191.255.255.255161616,38465,534
C110192.0.0.0223.255.255.2552482,097,152254
D1110224.0.0.0239.255.255.255Multicasting
E1111240.0.0.0255.255.255.255Experimental

Short for Classless Inter-Domain Routing. A method of allocating IP addresses that allows for more efficient use of IP addresses.

IP address is divided into 2 parts:

  • subnet part: same for all devices in the subnet
  • host part: different for each host

192.168.12.0/24

Here the ending 24 defines the length of subnet part.