Subnetting
Subnetting is the process of stealing bits from the HOST part of an IP address in order to divide the larger network into smaller sub-networks called subnets.
An ipv4 is made up of four octets and each octet is of 8 bits. Each bit is either 0 or 1, so an octet is of 2⁸ or 256 values. As we start addressing in network from 0 hence ipv4 address range is from 0.0.0.0 to 255.255.255.255.
To show the subnetting we are going to implement following:

From a large network 192.168.32.0/24 i am going to create three subnets 192.168.32.0/29, 192.168.32.4/30, 198.168.32.0/30 in three systems A, B and C respectively.



System A is 192.168.32.1 , system B is 192.168.32.5 and system C is 192.168.32.2 .
For sending and receiving packet routing table is responsible. To learn more about route table check out https://pshobhitsingh01.medium.com/create-a-setup-so-that-you-can-ping-google-but-not-able-to-ping-facebook-from-same-system-c0bc7f122cab. We are going to create route tables in three systems as follows:

I also created another table in System B as follows:

Finally Output
