IP Addressing
IP Addressing
IP Addressing
128.143.137.144
Network prefix and Host number
The network prefix identifies a network and the host number
identifies a specific host (actually, interface on the network).
Solution-3: IP Version 6
Subnetting
Sub netting is the process of taking a single Network address and
creating further smaller Network IDs from it, called Subnets (Sub
Networks).
In the process of sub netting, bits can be borrowed from the host
portion of an IP Address, the borrowed bits are added to the Subnet
Mask of that IP address.
The main goal behind sub netting a given network address is to
create our required number of smaller network IDs and to achieve
our desired number of hosts per subnet ID.
Subnetting a Class C IP Address
The basic Subnetting process starts from below mentioned
questions:
How many subnets are required?
How many hosts per subnet are required?
Compute the effective subnets?
Compute the valid host IP Addresses?
The anatomy of a typical Class C address is:
N.N.N.H with subnet mask 255.255.255.0 or /24
Default number of Network bits=24
Default number of Host bits = 8
Example: An organisation want to setup an IT infrastructure to support 45
system in the office. Network 192.168.10.0/24 is available for allocation, but
the IP address assigning authority want to assign a subnet to this organisation
that will cater its need. Find out how many subnets can be created to support
required number of hosts, calculate the ranges of all the subnets.
Solution:
Step-1: Identify the required number of host bits to support 45 nodes
Host Bits (n) 0 1 2 3 4 5 6 7
Hosts (2^n) 1 2 4 8 16 32 64 128
Note:
1. Network id of the 1st subnet block is 192.168.10.0
2. To calculate the network id of the next block, we need to
calculate the difference between default subnet mask and
calculated subnet mask.
Default SM: 255.255.255.0
Calculated SM: 255.255.255.192
3. Check for the variation in values starting from last
octate.There is a variation in last octate.
4. Find the difference 256-192 = 64
5. Add the result in the octate where variation was found.