Subnetting:
Private Addressing:
[Link]/14 /8 [Link] /14 = 11111111.11111100.00000000.00000000
Class A
Subnet Mask = [Link]
No. of Subnet Bits = 6
No. of Subnets = 26 = 64
No. of Host Bits = 18
No. of Hosts per Subnet = 218 = 262144 – 2 = 262142
Total No. of Hosts = No. of Subnets * No. of Hosts per Subnet
64 * 262142 = 16777216
Subnetwork Address [Host Addresses] Broadcast Address
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link]
[Link]
[Link]
[Link]
.
.
.
[Link][[Link] – [Link]] [Link]
Subnetwork Address [Host Addresses] Broadcast Address
[Link]/20 /16 /20 = 11111111.11111111.11110000.00000000
Class B
Subnet Mask = [Link]
No. of Subnet Bits = 4
No. of Subnets = 24 = 16
No. of Host Bits = 12
No. of Hosts per Subnet = 212 = 4096 – 2 = 4094
Total No. of Hosts = No. of Subnets * No. of Hosts per Subnet
16 * 4094 = 65504
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link]
[Link]
[Link]
[Link]
.
.
.
.
[Link][[Link] – [Link]] [Link]
Subnetwork Address [Host Addresses] Broadcast Address
[Link]/27 /27 = 11111111.11111111.11111111.11100000
Class C
Subnet Mask = [Link]
No. of Subnet Bits = 3
No. of Subnets = 23 = 8
No. of Host Bits = 5
No. of Hosts per Subnet = 25 = 32 – 2 = 30
Total No. of Hosts = No. of Subnets * No. of Hosts per Subnet
8 * 30 = 240
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link] [[Link] – [Link]] [Link]
[Link]
[Link]
[Link]
[Link]
[Link] [[Link] – [Link]] [Link]
Subnetwork Address [Host Addresses] Broadcast Address
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
[Link] Subnet Mask = [Link]
[Link] Subnet Mask = [Link]
[Link] Subnet Mask = [Link]
[Link] Subnet Mask = [Link]
.
.
.
[Link] [[Link] – [Link]] [Link] Subnet Mask = [Link]
Subnetwork Address [Host Addresses] Broadcast Address
• A firm or a company has 4 floors, ISP has granted block of address starting from
[Link]/25
• The company or firm has following no of computers on each floor as below:
• 115, 58, 30, 15
• Design the sub blocks for each floor and give slash notation for each sub block.
[Link]/25
192 to 223 – C
Class C
Default Subnet Mask of Class C - /24 (slash notation)
How many bits are subnetted = 25 – 24 = 1
Number of Subnets = 21 = 2
Number of Host Bits = 32 – 25 = 7
Number of hosts per subnet = 27 = 128 – 2 =126
Total number of hosts in both subnets = 2 * 126 = 252
[Link] [[Link] – [Link]] [Link] =for first floor (subnet mask is [Link])
11111111.11111111.11111111.10000000
Subnet Mask = /26
Number of subnet bits = 2
2
Number of subnets = 2 = 4
Number of host bits = 6
6
Number of hosts per subnet = 2 = 64 – 2 =62
[Link] [[Link] – [Link]] [Link] =for second floor (SM is [Link])
Subnet Mask = /27
Number of subnet bits = 3
3
Number of subnets = 2 = 8
Number of host bits = 5
5
Number of hosts per subnet = 2 = 32 – 2 =30
[Link] [[Link] – [Link]] [Link] =for third floor (SM is [Link])
Subnet Mask = /27
Number of subnet bits = 3
3
Number of subnets = 2 = 8
Number of host bits = 5
5
Number of hosts per subnet = 2 = 32 – 2 =30
[Link] [[Link] – [Link]] [Link] =for fourth floor (SM is [Link])