Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose a router R1 is directly connected to the following subnets:

If it is running RIPv1, it will advertise:

"i have the network" (implicitly understood by receiving RIPv1 routers as because the protocol is classful)

but suppose we changed the routing protocol to RIPv2 and turned ON auto-summarization. Would it behave in the same way? Would it advertise:

"i have the network" (advertised WITHOUT subnet mask, and implicitly understood by other routers as

OR would it auto-summarize in a non classful way like:

"i have" (advertised as network id and subnet mask pair)

In other words, does turning on auto-summarization in RIPv2 (or other classless routing protocols) cause it to auto-summarize in a classful manner or simply auto-summarize classlessly to the best of its ability?

share|improve this question
up vote 1 down vote accepted

That would depend on the router, but if you do not define a subnet (if the router allows this) than it would be logical to advertise the class. However if you define the subnetmask it will advertise the subnet.

share|improve this answer
That is my understanding as well. It totally depends on the routers firmware. It may even make a difference if you setup these routes straigth in RIPv2 or if you set them up in RIPv1 and then migrate to v2. (v1 may have implicitly stored them as class A which migrates into a /8 in v2 when you upgrade.) This is very implementation depended – Tonny Oct 14 '12 at 21:11
From my experience with cisco routers, you cannot give a layer 3 interface an IP address without giving a subnet mask as well, so assume the router always knows the subnet it is attached to. Then question is: how does the router summarize its attached subnets when RIPv2 auto-summarization is on, classfully or classlessly? (I dont think it should depend on the router since we are referring to the behavior of a standardized routing protocol). – yorble Oct 14 '12 at 21:15
auto-summarize will summarize them classfull IIRC – Lucas Kauffman Oct 14 '12 at 21:24
Classfull would be logical I presume if you upgrade from v1 to v2 and then turn of auto-summary as the OP asks. That would maintain the state of the configuration, so there is no change in behavior of the network as a whole. – Tonny Oct 15 '12 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.