# Classful vs Classless Routing Protocols

**URL:** https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875
**Category:** Lessons Discussion
**Created:** [December 20, 2016, 10:23pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875 "2016-12-20T22:23:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [December 20, 2016, 10:23pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/1 "2016-12-20T22:23:08Z")

</div>

This topic is to discuss the following lesson:

> **[Classful vs Classless Routing Protocols](https://networklessons.com/ip-routing/classful-vs-classless-routing-protocols)**
>
> Routing protocols can be classful or classless. In this lesson, I explain the differences between them and their (dis)advantages.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [August 3, 2013, 1:14pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/2 "2013-08-03T13:14:43Z")

</div>

Very clear and easy to understand thank you.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [September 19, 2013, 7:35am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/3 "2013-09-19T07:35:03Z")

</div>

Crystal clear. You have explained it very nicely.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [September 26, 2013, 10:37pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/4 "2013-09-26T22:37:29Z")

</div>

Agree with the comments above. Clear definition. Thanks.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [October 3, 2013, 6:04am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/5 "2013-10-03T06:04:22Z")

</div>

Thanks…

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [October 3, 2013, 1:57pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/6 "2013-10-03T13:57:24Z")

</div>

Great explanation. Cheers dude

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [March 15, 2014, 7:20am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/7 "2014-03-15T07:20:44Z")

</div>

great help !!! thanks 🙂

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [June 28, 2014, 11:07am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/8 "2014-06-28T11:07:46Z")

</div>

Hi Rene,

i have configured rip version 2, i could not see the advertisement of “172.16.2.0 subnet with a subnet mask” and 172.16.1.0 subnet with a subnet mask.

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [July 2, 2014, 5:24pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/9 "2014-07-02T17:24:52Z")

</div>

Configure “no auto-summary” under router RIP. By default RIP version 2 behaves classfull.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [September 6, 2014, 11:04am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/10 "2014-09-06T11:04:48Z")

</div>

Hi Rene,  
In what scenarios we can use classful and classless routing protocols?  
Is it beneficial to use RIPv1 in small networks??

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [September 11, 2014, 10:31am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/11 "2014-09-11T10:31:29Z")

</div>

Hi Sham Rao,

There is no good reason to use a classful routing protocol nowadays. Keep in mind that some of these concepts are really old. The RFC for RIP for example is from 1988…

We didn’t have things like VLSM back then 🙂

Rene

---

<div class="post-metadata">

### Author: ![sandeepsridhar10](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/eb9ed0/32.png) [@sandeepsridhar10](https://forum.networklessons.com/u/sandeepsridhar10)
#### Post date: [October 10, 2014, 12:37pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/12 "2014-10-10T12:37:46Z")

</div>

So simple and beautifully explained. Thanks Rene.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [October 19, 2014, 1:16pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/13 "2014-10-19T13:16:12Z")

</div>

Very simple and easy to understand..Thank you

---

<div class="post-metadata">

### Author: ![chris.m.chavez](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@chris.m.chavez](https://forum.networklessons.com/u/chris.m.chavez)
#### Post date: [July 19, 2015, 11:14am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/14 "2015-07-19T11:14:59Z")

</div>

Rene,

Since you mentioned in the video that RIP is no longer on the CCNA exam, is there anywhere else that classful routing might come up in the exam?

Thanks again, and nicely done,

Chris

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [July 19, 2015, 12:09pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/15 "2015-07-19T12:09:02Z")

</div>

Hi Chris,

Yes there is, EIGRP also supports classful and classless routing.

Rene

---

<div class="post-metadata">

### Author: ![francescorocco77](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/f/5f9b8f/32.png) [@francescorocco77](https://forum.networklessons.com/u/francescorocco77)
#### Post date: [April 12, 2016, 10:38pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/16 "2016-04-12T22:38:52Z")

</div>

If I remember well, the same thing if we put 172.17.1.0/24 and 172.17.2.0/24 insteadof 192.168… Because 172.17 … Is another major network… Right??

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [April 17, 2016, 10:05pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/17 "2016-04-17T22:05:20Z")

</div>

Hi Francesco,

Those two networks are from the class B range so yes, they would be summarized to 172.17.0.0/16.

192.168.X.0/24 is no problem btw…this is a class C network.

Rene

---

<div class="post-metadata">

### Author: ![Sameer603](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@Sameer603](https://forum.networklessons.com/u/Sameer603)
#### Post date: [March 11, 2018, 8:48am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/18 "2018-03-11T08:48:31Z")

</div>

Hi Rene ,

Is “Discontiguous Network” issue is due mainly classfull routing lookup ? , because it will do look up only classfull manner , like router has to do a look up for destination network 10.11.1.0 /24 , as the 1st octate is belongs to class A range it wont check further the the mask part , if network not existing it will drop it ?

Can you guide on “Discontiguous Network” and its solution aprroach .

Regards,  
Sameer.

---

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [March 12, 2018, 1:38pm UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/19 "2018-03-12T13:38:45Z")

</div>

Hello Sameer

For the explanation, I will use the subnets used in the lesson.

The problem with classful networks is that if there is a destination of 172.16.1.0/24 this will be installed in the routing table as 172.16.0.0/16 since 172.16.X.X is a class B network. This works fine as long as all destinations of 172.16.0.0/16 are to be routed via the same interface.

However, if you have a case such as this, discontiguous networks with classful routing presents a problem:

 ![image](https://cdn-forum.networklessons.com/uploads/default/original/1X/535fc38fd51b128a70433f665e2b261549025637.jpg)  
Assuming a classful routing protocol is being used, R3 will inform R2 that it has a destination to 172.16.2.0/24 and R2 will put the following into its routing table:

**to reach 172.16.0.0/16, route via Fa0/1 with a next hop IP of 192.168.23.3**

But R1 also sends a routing update to R2 stating that it has a route to 172.16.1.0/24 so R2 will put the following into its routing table:

**to reach 172.16.0.0/16, route via Fa0/0 with a next hop IP of 192.168.12.1**

During the next routing updates, R3 and R1 will alternately inform R2 that they have routes to these destinations, while all the time R2 is installing the classful network into the routing table, causing incorrect routing to occur.

So, this is why discontiguous networks can cause problems with classful routing.

In order to solve such issues, there are two solutions:

1. The first involves adjusting your addressing scheme so that networks are not discontiguous, that is, all class A networks can be reached via a single interface, and similarly for class B and class C. This is not always possible and can be somewhat restrictive.
2. The ideal solution, and the one that is considered best practice, is to use a classless routing protocol so that you can define specific subnets within classful networks and route in a classless manner.

The second choice should **always** be the selected solution in all modern IP networks.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

### Author: ![Sameer603](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@Sameer603](https://forum.networklessons.com/u/Sameer603)
#### Post date: [March 13, 2018, 6:03am UTC](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875/20 "2018-03-13T06:03:54Z")

</div>

Thank you Laz!!  
Regards,  
Sameer.

[Next page](https://forum.networklessons.com/t/classful-vs-classless-routing-protocols/875.md?page=2)
