Subnetting for Class C network

In this article I describe the Subnetting for Class C 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 C network

Subnetting for Class C 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 C 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 Prefix Lengths and Subnetting

Requirement for creating Subnetting for Class C 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 C network.

In this article I will provide a brief description of subnetting for class C network. Keep remember this subnetting is for classfull address system. Remember the range of IP address in a class C network. It is from 192.0.0.0 to 223.255.255.255. the subnet mask is fixed 255.255.255.0 for a classfull class C IP address. In this IP address we have only 8 bits for host. For creating subnetting we have only 8 bits to manipulate. Lets begin the subnetting for class c 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 c network, ccna tutorials, ccna

Denoting the IP address for subnetting

Here we denote the subnet mask by a fix number. We know that subnet mask is of 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 C the subnet is 255.255.255.0 or we can say /24. Here first 24 bits remain on always. We have only remaining 8 bits for creating subnetting. So the subnets will be /25 , /26 , /27 , /28 etc. For each subnet the number of Hosts became less. For /25 subnet we have on 7 bits for hosts. Keep in mind that total number of network and hosts always remains 32.

subnetting for class c 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 --  RIP Routing Information Protocol

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 C address for /26 mask we have 2 bits on and remaining 6 bits are available for hosts. Here number of subnets is 22=4. It means if we use first two bits of host we can create 4 subnets. Similarly for a /27 mask we have 3 bits masked. For /27 we have 23=8 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 /26 mask we have only 6 bits for hosts. So here the numbers of hosts ID is 26=64. we have to leave 2 ID for network ID and broadcast ID. So in a /26 mask 26-2=62 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. 256-subnet mask= valid subnets. For a mask /28 the decimal value is “255.255.255.240”. Here the block size will be 256-240=16. So the block size of a /28 mask is 16. It means there are 16 subnets in a /28 mask.

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 4 block size the valid hosts are only 2 in each subnet. Remaining 2 ID will be used for subnet ID and Broadcast ID.

subnetting for class c network, ccna tutorials, ccna

5. The broadcast address or each subnet. The last address in each subnet will be broadcast address. For example for a /30 mask we have only 22=4 valid host ID. The last Host ID will be used for broadcast ID in this subnet. For example for a block size of 4 the valid host are 1,2 because 0 is the subnet ID and 3 is the broadcast ID. Another example for a 64 block we have 0 to 63 Host ID in first block. So here the broadcast ID for first block will be 63. in next block the broadcast ID is 127 and so on.

You may also like to read --  Trace route command

Subnetting of Class C /25 network

It is clear that a /25 mask provides remaining 7 bits for host ID and first bit is reserved for network. The last octate of /27 is like 10000000 the subnet mask looks like 255.255.255.128. Calculate the five terms discussed above for /27 masked network. Number of subnets are 21=2. It means there will be only two subnets created by /27 mask. Number of hosts per subnet are 27-2=126. The valid subnets or block size is 256-128=128. The valid subnet Id are 0 to 128 here. The broadcast ID for each subnet is the last ID of subnet. Here for first block the broadcast ID is 127 and for second block broadcast ID is 255. conclusion for /25 mask subnetting is that /25 subnet have two blocks.


Block 1 or subnet 1 Block 2 or subnet 2
Subnet ID 0 128
First host ID 1 129
Last host ID 126 254
Broadcast ID 127 255

Subnetting of Class C /26 network

It is clear that a /26 mask provides remaining 6 bits for host ID and first 2 bits are reserved for network. The last octate of /26 is like 11000000 the subnet mask looks like 255.255.255.192. The calculation for /26 masked network. Number of subnets are 22=4. It means there will be only 4 subnets created by /26 mask. Number of hosts per subnet are 26-2=62. The valid subnets or block size is 256-192=64. The valid subnet Id are 0,64,128 and 192 here. The broadcast ID for each subnet is the last ID of subnet. Here for first block the broadcast ID is 63 and for second block broadcast ID is 127. conclusion for /26 mask subnetting is that /26 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 64 128 192
First
host ID
1 65 129 193
Last
host ID
62 126 190 254
Broad cast
ID
63 127 191 255
Similarly you can calculate remaining /27, /28, /29, /30 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 for Class C network. I hope you understood well and found helpful this article. For any query or suggestion you may drop a comment below or contact us. Your suggestions are always welcome by us.

Share this article in your social circle :)
,

1 thought on “Subnetting for Class C network

  1. Great post. I was checking constantly this blog and I am impressed! Very helpful info particularly the last part 🙂 I care for such info a lot. I was seeking this particular information for a long time. Thank you and best of luck.

Leave a Reply

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