All About IP Addressing part – 02

What is subnetting?

subnetting is a technique to break up a large network into smaller networks by sacrificing bit Host ID on the subnet mask to be used as a new Network ID.


IP address with a subnet mask default is defined as a class C which means that IP address without subnetting a network address has only one fruit with 254 IP addresses that can be made ( /

Now we will divide the existing network into several the subnetwork using subnetting techniques by replacing a few bits of Host IDs that exist on the subnet mask with the number 1.

Before subnetting:

IP address:
Subnet Mask in Binary: 11111111.11111111.11111111.00000000
Subnet Mask in Decimal:

After Subnetting Being:

IP address:
Subnet Mask in Binary: 11111111.11111111.11111111.11000000
Subnet Mask in Decimal:

1. Determining the number of subnets (Sub Network) has formed. use the formula 2^n-2 where n is the number of 1 bits in the host ID that has been modified (11000000), the importance of the 2^n-2=2. so the IP 2 subnets obtained after subnetting new.

2. Determine the Number of Hosts of subnets, use the formula 2^h-2, h is the number 0 on the host ID bits (11000000), then on to 2^h-2=62, so there are 62 hosts persubnet. or in other words from two groups of the subnetworks, each the subnetwork can accommodate 62 computers with different IP addresses.

3. Determining Block subnet and IP address ranges Block subnet is obtained by subtracting 256 (2^8) with the numbers behind the subnet mask that has been modified, 256-192=64, then total the number of these reductions to the same subnet behind the numbers in order to get 64+64=128, 128+64=192. so the IP address that is applied to two new the subnetwork is 64: / 192 168 127, the first subnet / 192 168 191, the second subnet

4. Determining the IP Address that can be used. From the range of IP addresses on each subnet above are not everything can be used as a Host IP address:

Sub-network 1.

Subnet address:
The first Host Address:
Last Host Address:
Broadcast Address:

Sub-network 2.

Subnet address:
The first host address:
Last Host Address:
Broadcast Address:

Reason why we do subnetting..???

=>Reduce the density of traffic data: a LAN with 254 hosts will be more dense data traffic compared to a LAN with 64 hosts.

=>More the number of hosts, will be less of a chance each host in accessing data in a network which means reducing the performance of the network itself.

=>Simplification of managers: a remote network, the large number of computers that must connect will be made easier to manage when the network itself rather than have to be one big network.

All About IP Addressing part – 01

If you are reading this which means you are already know something about IP address in networking and now you are seeking something more. In below i’m going to explain everything I know about Ip address and I’ll explain all these in simple and easy to understand way which begin with basic level.

What is IP address?

In our regular world how our home address works? that’s the exact way Ip address works in networking world. If we have to send letter or parcel to  someone in far away we have to know his or her address to send it. like that in network world we use IP address to do same job as home address. In home address also contain particular structure. First we put name, then house number, then street address like this.. like that in IP addressing we use unique structure to make things works.

There are few IP address protocoles such as IPv4, IPv6. most commonly we use IPv4 and we are here first explain about it and latter we can go for IPv6. No matter what protocol is there are always 2 parts of it,
1. Host id
2. Network id

IP address = Network id + Host id

Host id is id of a device that other devices can connect to for access to resources. Host act like service provider. A network id is a id of device that are connected together to access and share resources provided by hosts. Both host and network devises can be any device such as computers, routers, switches or may be a printer.