Subnetting for Class B network

In this article I describe the Subnetting for Class B network for CCNA in computer networking. The subnetting is also used in subnetting of internetworking at the ISP level. Now the term subnet mask is related to Subnetting Basics for CCNA in computer networking. Subnetting of IP address is most important term in networking. In view of CCNA exam subnetting of IP address in computer networking may be helpful to increase the score. In this article I give a brief discussion about Subnetting Basics for CCNA. So let’s start the topic.

What is subnetting of ip address in Subnetting for Class B network

Subnetting for Class B network in computer networking breaks a big network into small network virtually. These network behave like separate network in inter-networking. When two or more networks connect with each other via a router, it is called inter-networking. What to do within a network where all devices connected with a switch.

We know router works on layer 3 network layer and switches works on layer 2 data link layer. So how to create separate networks in a LAN. Taking borrow the host bits with network bits creates subnetting. Subnetting creates sub-network of a large network. The devices of different sub-networks can not communicate with each other.

Requirement for Subnetting for Class B network.

We know the IP address scheme identifies as Classes of IP address. IP addressing is basic requirement for subnetting. There are two parts of IP addressing when we configure IP address in any device. The first one is IP address and second is subnet mask.

Subnet mask defines the class of IP address. Subnet mask address breaks big network into small networks. Subnetting basics requirements are depend on required network and hosts. How many networks are required to create in a LAN? How many hosts are required in a subnet. These two figures are basic requirement to create subnetting. Next part is calculation to create the subnet mask for each network.

Classes of IP address for subnetting of IP address in computer networking.

IP address are classified by three types ClassfullVLSM and CIDR. Here VLSM stands for Variable Length Subnet Mask. CIDR stands for Classless Inter Domain Routing.

Subnetting created in all three types of IP address. We know the classes of IP address are Class A, B, C, D and E. These class belongs to classfull address system. IP address became classless with VLSM and CIDR. The bits of subnet mask breaks into smaller parts in VLSM and CIDR.

You may also like to read --  IPv6 Link-Local Addresses

Requirement for creating Subnetting for Class B network in computer networking.

We know network ID and host ID are basic need to create a network. Similarly to create subnetting in a network, network ID for each subnet is required.

Second thing is required maximum host in any subnet. These two requirements are for a LAN. In case of WAN the network ID or each network and host ID on each interface of Router required. We need to explain some example to understand the subnetting Basics for CCNA. let’s see the subnetting of Class B network.

Subnetting for Class B network in brief

In this article I will provide a brief description of subnetting for class B network. Keep remember this subnetting is for classfull address system. Before going for subnetting for class B network we recommend to read the previous article of subnetting for class C network. The range of ip address in a class B network is from 128.0.0.0 to 191.255.255.255. The subnet mask is fixed 255.255.0.0 for a classfull class B IP address. In this IP address we have only 16 bits for host. For creating subnetting we have only 16 bits to manipulate. Lets begin the subnetting for class B network. Do not be panic by reading so many mathematical expressions in this article. Once you go through them all terms understood easily.

subnetting for class B network, ccna, ccna tutorials

Denoting the IP address for subnetting

Here we denote the subnet mask by a fix number. We know that subnet mask is or 32 bits. When we assign subnet mask to a host we write full figure like “255.0.0.0”, “255.255.0.0” etc. Actually 1 bits denote the network ID only and remaining 0 bits used for host ID. We can write the subnet mask 255.0.0.0 like /8. the subnet mask 255.255.0.0 as /16 . the subnet mask 255.255.255.0 like /24. Here the number after / shows the on bits for network ID. These numbers known as CIDR.

In class B the subnet is 255.255.0.0 or we can say /16. Here first 16 bits remain on always. We have only remaining 16 bits for creating subnetting. So the subnets will be /17 , /18 , /19 , /20 etc. For each subnet the number of Hosts became less. For /17 subnet we have on 15 bits for hosts. Keep in mind that total number of network and hosts always remains 32.

subnetting for class B network , ccna tutorials, ccna

Factors to know before creating subnetting

You have to know five things before going to subnetting a network.

You may also like to read --  Subnetting Basics for CCNA Exam

1. The number of subnets required. How many networks you want to create. In a subnet mask the masked bits are use to know the subnets. For example in a class B address for /17 mask we have 1 bit on and remaining 15 bits are available for hosts. Here number of subnets is 21=2. It means if we use first bit of host we can create 2 subnets. Similarly for a /18 mask we have 2 bits masked. For /18 we have 22=4 subnets.

2. The numbers of hosts in each subnet. In above para you know the valid subnets by using the masked bits. Similarly to know the numbers of hosts in each subnet can be calculated by using hosts bits. For example for a /17 mask we have only 15 bits for hosts. So here the numbers of hosts ID is 215=32768. we have to leave 2 ID for network ID and broadcast ID. So in a /17 mask 26-2= 32766 hosts per subnet are available.

3. The numbers of valid subnets known as block size. A simple formula is used to get the valid subnets or block size is 256-subnet mask= valid subnets. For a mask /17 the decimal value is “255.255.128.0”. Here the block size will be 256-128=128. So the block size of a /17 mask is 128.

4. The number of valid hosts in each subnet. The simple formula to know the valid host in a subnet is Block size-2= valid hosts. In a 32768 block size the valid hosts are only 32766 in each subnet. Remaining 2 ID will be used for subnet ID and Broadcast ID.

subnetting for class B network , ccna tutorials, ccna

5. The broadcast address or each subnet. The last address in each subnet will be broadcast address. For a /17 mask the first broadcast address is 127.255.

The important thing to keep in mind for subnetting for class B network

Subnetting for class B network is very similer to subnetting for class C network. The last octate of each subnet remain 0 for subnet ID and 255 for Broadcast ID. Only third octate will change for each subnet.

Subnetting of Class B /17 network

It is clear that a /17 mask provides remaining 15 bits for host ID and first bit is reserved for network. Out of 15 bits last octate bits remain unchanged. The third octate of /17 is like 10000000 the subnet mask looks like 255.255.128.0. Calculate the five terms discussed above for /17 masked network. Number of subnets are 21=2.

You may also like to read --  HTTPS Hypertext Transfer Protocol Secure

It means there will be only two subnets created by class B /17 mask. Number of hosts per subnet are 215-2=32766 . The valid subnets or block size is 256-128=128. The valid subnet Id are 0.0 and 128.0 here. The broadcast ID for each subnet is the last ID of subnet. Here for first block the broadcast ID is 127.255 and for second block broadcast ID is 255.255. conclusion for /17 mask subnetting is that /17 subnet have two blocks.


Block 1 or subnet 1 Block 2 or subnet 2
Subnet ID 0.0 128.0
First host ID 1.1 129.1
Last host ID 127.254 255.254
Broadcast ID 127.255 255.255

Subnetting of Class B /18 network

It is clear that a /18 mask provides remaining 14 bits for host ID and first 2 bits are reserved for network. The third octate of /18 is like 11000000 the subnet mask looks like 255.255.192.0. The calculation for /18 masked network. Number of subnets are 22=4. It means there will be only 4 subnets created by /18 mask. Number of hosts per subnet are 214-2=16384.

The valid subnets or block size is 256-192=64. The valid subnet Id are 0.0,64.0,128.0 and 192.0 here. The broadcast ID for each subnet is the last ID of subnet. Here for first block the broadcast ID is 63.255 and for second block broadcast ID is 127.255 for last block 255.255. conclusion for /18 mask subnetting is that /18 subnet have four blocks.


Block 1 or subnet 1 Block 2 or subnet 2 Block 3 or subnet 3 Block 4 or subnet 4
Subnet ID 0.0 64.0 128.0 192.0
First host ID 0.1 64.1 128.1 192.1
Last host ID 63.254 127.254 191.254 255.254
Broadcast ID 63.255 127.255 191.255 255.255

Similarly you can calculate remaining /19, /20, /21, /22…../30 etc mask subnetting.

What about subnetting for a /31 mask.

It is not possible to use a /31 mask for subnetting because the valid for a /31 mask is 21-2=0. remaining you can understand if we have not a valid host number what we do in that subnet.

In this article I describe the Subnetting of Class B network for CCNA exam. I hope you found this article helpful related to subnetting of class B network. For any query or suggestion on this article contact us or drop a comment below. Your suggestions are always welcome by us.

Share this article in your social circle :)
,

Leave a Reply

Your email address will not be published. Required fields are marked *