Classful vs. Classless Routing

Before the internet and general networking become popular into what it is now, there were and still are routing protocols that only do classful routing. What is classful routing? When I was talking about Dynamic Routing earlier (See the post Dynamic Routing Protocols) I mentioned there was a difference between classful routing and classless routing. So in today’s post let’s focus on these two but important topics when using routing protocols.

Let’s first talk about classful routing, which is sometimes called a classful network. If you are using a classful routing protocol then all of your networks are in different classes and are separated by a router. Remember that the useable IPv4 address ranges are dived into classes. Class A 1-126, Class B 128-191, and Class C 192-223. So when we talk about a classful routing protocol it will only look at the IP address class and not the subnet mask. This is the problem; if you are using a classful routing protocol you cannot change the subnet mask in any of these networks. You have to use the default subnet mask, so an example is if you have a 172.16.X.X network the default subnet mask is a /16 or So in short you can’t have different size networks when using the same IP address class and a classful routing protocol. Remember
that classful routing does not support subnet information, and therefore lacking support for VLSM (variable length subnet masks).

With classless routing if you took a guess that it supports VLSM and different size networks within the same IP address class then you’re catching on 😉 Because that is exactly what a classless routing protocol does, so for example we are using a class C address of with a standard subnet mask of or a /24. With a classless routing protocol you can split this network even more instead of having 254 usable hosts in one network; we could have 126 usable hosts with two networks. The ranges for the first network would start at and end at, and the second would start at and end at The subnet mask for both of these networks would be With a classful routing protocol it would only look at the class of the address in this case a class “C” and not look at the subnet mask and apply a default subnet mask of causing these addresses to be in the same network which in reality their not.

What Routing Protocol uses Classful and Classless Routing? Take a guess…

Classless No Yes Yes Yes Yes
Supports VLSM No Yes Yes Yes Yes
Send Subnet Mask No Yes Yes Yes Yes

That’s my summary for classful and classless routing protocols, I wouldn’t say nobody uses a classful routing protocol there’s always someone but they are different and will cause connection problems if set up incorrectly. Like always I hope this information was informative and you can always find more information at Cisco or even a search of RFC 1519 and RFC 1817. Have an idea of the next topic either ICND1 or ICND2 let me know. 🙂


One thought on “Classful vs. Classless Routing

Comments are closed.