Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Subneting

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Class A Subnets

In Class A, only the first octet is used as Network identifier and rest of three octets are used to be
assigned to Hosts (i.e. 16777214 Hosts per Network). To make more subnet in Class A, bits from
Host part are borrowed and the subnet mask is changed accordingly.
For example, if one MSB (Most Significant Bit) is borrowed from host bits of second octet and
added to Network address, it creates two Subnets (21=2) with (223-2) 8388606 Hosts per Subnet.
The Subnet mask is changed accordingly to reflect subnetting. Given below is a list of all possible
combination of Class A subnets −

1
By Zigiju N.
Class B Subnets
By default, using Classful Networking, 14 bits are used as Network bits providing (214) 16384
Networks and (216-2) 65534 Hosts. Class B IP Addresses can be subnetted the same way as Class
A addresses, by borrowing bits from Host bits. Below is given all possible combination of Class
B subnetting

Class C Subnets
Class C IP addresses are normally assigned to a very small size network because it can only have
254 hosts in a network. Given below is a list of all possible combination of subnetted Class B IP
address

2
By Zigiju N.
1. Find the network ID, First host ID, Last host ID and Broadcast address for
the IP Address: 192.168.100.154 with mask 255.255.255.224

2. Find the network ID, First host ID, Last host ID and Broadcast address for
the IP Address: 172.16.0.0 with mask 255.255.254.0

3
By Zigiju N.
3. Subnet the Class C IP Address 195.1.1.0 So that you have 10 subnets each
with a maximum 12 hosts on each subnet. List the Address on host 1 on
subnet 0,1,2,3,10
Current mask= 255.255.255.0
Bits needs for 10 subnets =4 =24 =16 possible subnets
Bits needs for 12 hosts = 4 = 24 = 16-2=14 possible hosts.
So our mask in binary =11110000= 240 decimal
Final Mask =255.255.255.240

4. Subnet the Class C IP Address 205.11.2.0 so that you have 30 subnets.


 What is the subnet mask for the maximum number of hosts?
 How many hosts can each subnet have?
 What is the IP address of host 3 on subnet 2 ?
Current mask= 255.255.255.0
Bits needs for 30 subnets =5 =25 =32 possible subnets
Bits left for hosts = 3 = 23 = 8-2=6 possible hosts.
So our mask in binary =11111000= 248 decimal
Final Mask =255.255.255.248
Address of host 3 on subnet 2 is
subnet 2 =00010000 host 3 =000000011
Add the two together =00010011=19
therefore IP address of host 3 on subnet 2 =205.11.2.19
5. Subnet the Class C IP Address 195.1.1.0 So that you have at least 2 subnets
each subnet must have room for 48 hosts .
 What are the two possible subnet masks?
Current mask= 255.255.255.0
Bits needs for 48 hosts = 6 = 26 = 64-2=62 possible hosts.
Bits needs for 2 subnets =1 =21 =2 possible subnets
Total of 7 bits needed so therefore we can use either 1 bit or 2 bits for the subnet. So
we could have
1 bit subnet 7 bits hosts or 2 bits subnet 6 bit host
4
By Zigiju N.
masks are 10000000 and 11000000 =128 decimal and 192 decimal.
Final possible masks are:
255.255.255.128 and 255.255.255.192
6. Given the subnet Mask 255.255.255.192.
 What is the host address and subnet of the following IP address
197.1.2.67.
192 in binary =11000000 gives 4 possible subnets of (showing 2 most significant
bits):
00,01,10,11
67 in binary =01000011
So Applying Mask:

5
By Zigiju N.

You might also like