Subnet
Example 1
• We have a big single network having IP Address [Link].
• We want to do subnetting and divide this network into 2
subnets.
• For creating two subnets and to represent their subnet IDs, we
require 1 bit.
• So,
• We borrow one bit from the Host ID part.
• After borrowing one bit, Host ID part remains with only 7 bits.
•If borrowed bit = 0, then it represents the first subnet.
•If borrowed bit = 1, then it represents the second subnet.
• IP Address of the two subnets are-
• 200.1.2.00000000 = [Link]
• 200.1.2.10000000 = [Link]
• For 1st Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 27 = 128
• Total number of hosts that can be configured = 128 – 2 = 126
• Range of IP Addresses = [200.1.2.00000000, 200.1.2.01111111]
= [[Link], [Link]]
• Direct Broadcast Address = 200.1.2.01111111 = [Link]
• Limited Broadcast Address = [Link]
• For 2nd Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 27 = 128
• Total number of hosts that can be configured = 128 – 2 = 126
• Range of IP Addresses = [200.1.2.10000000, 200.1.2.11111111]
= [[Link], [Link]]
• Direct Broadcast Address = 200.1.2.11111111 = [Link]
• Limited Broadcast Address = [Link]
Example
2
• We have a big single
network having IP
Address [Link].
• We want to do
subnetting and divide
this network into 4
subnets
• P Address of the four subnets are-
• 200.1.2.00000000 = [Link]
• 200.1.2.01000000 = [Link]
• 200.1.2.10000000 = [Link]
• 200.1.2.11000000 = [Link]
• For 1st Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 26 = 64
• Total number of hosts that can be configured = 64 – 2 = 62
• Range of IP Addresses = [200.1.2.00000000, 200.1.2.00111111] = [[Link], [Link]]
• Direct Broadcast Address = 200.1.2.00111111 = [Link]
• Limited Broadcast Address = [Link]
• For 2nd Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 26 = 64
• Total number of hosts that can be configured = 64 – 2 = 62
• Range of IP Addresses = [200.1.2.01000000, 200.1.2.01111111] = [[Link],
[Link]]
• Direct Broadcast Address = 200.1.2.01111111 = [Link]
• Limited Broadcast Address = [Link]
• For 3rd Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 26 = 64
• Total number of hosts that can be configured = 64 – 2 = 62
• Range of IP Addresses = [200.1.2.10000000, 200.1.2.10111111] = [[Link], [Link]]
• Direct Broadcast Address = 200.1.2.10111111 = [Link]
• Limited Broadcast Address = [Link]
•
• For 4th Subnet-
•
• IP Address of the subnet = [Link]
• Total number of IP Addresses = 26 = 64
• Total number of hosts that can be configured = 64 – 2 = 62
• Range of IP Addresses = [200.1.2.11000000, 200.1.2.11111111] = [[Link], [Link]]
• Direct Broadcast Address = 200.1.2.11111111 = [Link]
• Limited Broadcast Address = [Link]
Example 3
• We have a big single network having IP Address [Link].
• We want to do subnetting and divide this network into 3
subnets.
• Here, the subnetting will be performed in two steps-
[Link] the given network into 2 subnets
[Link] one of the subnets further into 2 subnets
• Step-02: Dividing One Subnet into 2 Subnets-
•
• We perform the subnetting of one of the subnets further into 2
subnets.
• Consider we want to do subnetting of the 2nd subnet having IP
Address [Link].
•
• For creating two subnets and to represent their subnet IDs, we
require 1 bit.
• So,
• We borrow one more bit from the Host ID part.
• After borrowing one bit, Host ID part remains with only 6 bits.
•
Q. Find out the first and last address of a given network
address.
• [Link]/21