02-06-2018 09:20 AM - edited 03-03-2019 08:43 AM
This is my first post, I have searched and attempted to find the answer to this and could not, therefore, the post...
It is my understanding that RIPv2 advertises the interface assigned IP addresses, as if they were classfull.
According to RFC 1918:
A = 10.0.0.0 /8 ,
B = 172.16.0.0 /12
C = 192.168.0.0 /16
I seek clarification on the subject of the last class and RIPv2 advertising it. An address of 192.168.1.1/24 would be treated as if it were 192.168.x.x/16, would it not?
I ask because I have seen MANY individuals writing as if the 192.168.x.x is a /24 address range AND a class C and have even encountered the problem on practice tests ( which I believe are in error, according to the rules).
Quite simply, according to RIPv2, is an interface with ip address 192.168.1.1/24 advertised, based on it being a /24 or /16 network?
EXAMPLE:
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.0.0
Router(config-router)#network 172.31.0.0
Router(config)# Int G1/0
Router(config-int)#ip address 10.2.1.1 255.255.255.0
Router(config)# Int G1/1
Router(config-int)#ip address 192.168.1.1 255.255.255.0
Router(config)# Int G1/2
Router(config-int)#ip address 172.16.2.1 255.255.255.0
In this example, interfaces G1/0 and G1/1 would get advertised and not G1/2, correct?
I hope my wording is comprehend-able as my immediate family think I speak gibberish, or gibrii'... :)
I thank you in advance for responses that shed light on this subject.
Roberhas
Solved! Go to Solution.
02-06-2018 11:02 AM
02-06-2018 09:45 AM
In short, no. When the RFC1918 range of 192.168.0.0/16 is specified, that's just shorthand for saying "all addresses in this range (192.168.0.0-192.168.255.255," but that range is entirely within the classful Class C space, and that's how other systems will generally interpret any given part of it in the absence of other specific mask information for the specific /24 classful network within that /16 address block.
In particular, with routing, while you can specify a network range of a supernetted CIDR block (and people often do), if you do not provide a mask, the traditional classful treatment will generally be default behavior.
In your example, Gi1/1 and Gi1/2 would not be matched, because those network statements are interpreted classfully unless you provide mask information along with them, and so all of 10.0.0.0/8 is matched, but your network statement specifies 192.168.0.0 (with an implied /24) while your Gi1/1 interface is in a different classful network (192.168.1.0/24). Similarly, your Gi1/2 interface is in the subnet 172.16.2.0/24 with no matching major network specified - since your network statement is for 172.31.0.0 (as an implied /16).
Basically, any time you are specifying a network for an address, you need to assume things will treat it classfully unless you override that by providing supernet or VLSM mask info.
In practice, RIPv2 advertisements generally include the actual configured mask of the interface, as described in RFC 2543.
02-06-2018 10:07 AM
I am studying for my first time taking the ICND1 and your answer has a lot to interpret. I have read it several times and am trying to determine what all it is saying.
I thank you for your response and will go look to RFC 2543 for further clarification.
In a practice test with a similar question to the example I provided, it stated that ONLY the 10. network would be advertised and I thought that the 192. should be also... Is that incorrect?
Thanks,
Roberthas
02-06-2018 11:02 AM
02-06-2018 12:14 PM
Thank you very much! I clearly understand that description and am now inspired to go find out what the term "supernet mask" means and its uses....
Thanks,
Roberthas
02-07-2018 05:31 AM
02-07-2018 05:48 AM
VERY east to understand! I thank you!. I have never thought of the term "subnet" having a relational value to it that would later be joined with "supernet". It is very easy to comprehend and I do recall seeing something to the effect of supernet, (or an abbreviated version of the statement) in the practice test questions at times.
I have been taking various practice tests for ICDN1 for almost 2 weeks now and am ready to go do it for real anytime now.
I thank you for the sharing of easy to understand information!
Thanks,
Roberthas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide