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 255.255.0.0. 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 192.168.1.0 with a standard subnet mask of 255.255.255.0 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 192.168.1.1 and end at 192.168.1.126, and the second would start at 192.168.1.129 and end at 192.168.1.254. The subnet mask for both of these networks would be 255.255.255.128. 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 255.255.255.0 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…
Feature
RIP-1
RIP-2
IS-IS
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. :)
Related Articles
- How a Router Routes (lewiryan.github.io/ciscoskills)
- Why Are Routed Protocols Important to Networking? (thinkup.waldenu.edu)
- Configuring RIPv2 (lewiryan.github.io/ciscoskills)
- Configure Static Routing (lewiryan.github.io/ciscoskills)
Comments:
Distance Vector Routing | Cisco Skills -
[...] Classful vs. Classless Routing (lewiryan.github.io/ciscoskills) [...]