Auto Summarization

new2netnew2net Member Posts: 81 ■■□□□□□□□□
Hey... confused about auto summary...

If RIPv2 is a Classless Routing protocol.. that means that in addition to the network number, it also sends the subnet mask.... so why then is the no auto-summary still required. The fact that it sends the subnet mask along with the network number should achieve the same goal as the no auto-summary command... shouldn't it?

I am looking at the ICND1 Official Guide 2nd Edition by Odom (on page 440), and he does not use the no auto summary command.... however, even though he does not use no auto summary, there is no auto-summarization happening... I don't get how this is happening...

For those with the book... can you please have a look? This is driving me insane.


Thank you...
«1

Comments

  • jovan88jovan88 Member Posts: 393
    i think autosummary was put in RIPv2 and EIGRP to annoy the crap out of everyone.

    With autosummary on, it will send the subnet mask of the classful boundary.. With autosummary off it will send the real subnet mask.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    K... I think I get it..

    But what i dont understand is.... In the example from the book, he does not use the no auto-summary command, yet the routing tables are not summarized at the classfull boundaries...

    He has 3 routers (R1, R2, and R3)... R1 connects to R2, R2 connects to R3, and R3 connects back to R1 (the topology looks like a triangle).

    Also, each router has a network of its Fa0/0 interface

    This is what confuses me... The links between all routers, and the networks off each Fa0/0 interface use 10.0.0.0, but subnetted to fit each network

    The routing table does not display a summarized network... instead it lists the subnets (10.1.2.0/24, and 10.1.3.0/24 ect). This was achieved without using no auto-summary...

    I dont get what I am missing here... Ive read through this like 8 times now..

    Since the no auto-summary command was not used, why doesnt R2 tell everyone "hey I know about 10.0.0.0/8" and why doesnt R1 and R3 do the same? It seems as though they are telling each other specifically what subnet they know about, instead of saying "i know about 10.0.0.0/8." This would totally make sense if he used the no auto-summary command... but since he hasn't I am getting so messed up. If he had used a Class C addres throughout the diagram I would undestand how this happened as well... but I dont get it since subnetted Class A was used.

    See what i mean..?

    Here is a picture of the topology...

    Example of where I am confused: Why doesn't Seville Router tell Albuquerque "i know about 10.0.0.0/8?" Instead it tells Albuquerque "hey I know about 10.1.3.0/24" and it does this even though no auto-summary has not been given.
    RIP.jpg 86.5K
  • trackittrackit Member Posts: 224
    this configuration has to use no auto-summary, otherwise it wouldnt work. I guess the book author just didnt mention that he used the command.

    EDIT: You know what? just through 3 routers together in your lab, put the same networks in and enable RIPv2 and see what happens ;)
  • EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    Auto-summary occurs at the major network boundary.In your example there is no Major network boundary as all links share the same major network 10.x.x.x.
    If a router had a link with 11.x.x.x, and auto-summary was enabled all the 10x.x.x networks would be advertised out the 11.x.x.x link as 10.0.0.0/8.

    10.1.1.1 is a class A address its major net number is 10.x.x.x
    172.168.1.1 is a class B address with major network 172.168.x.x
    etc..
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • trackittrackit Member Posts: 224
    ahh ok, thanks EdTheLad, never heard about that before :) but it makes sense.
  • penguinkingpenguinking Member Posts: 80 ■■□□□□□□□□
    EdTheLad wrote: »
    Auto-summary occurs at the major network boundary.In your example there is no Major network boundary as all links share the same major network 10.x.x.x.
    If a router had a link with 11.x.x.x, and auto-summary was enabled all the 10x.x.x networks would be advertised out the 11.x.x.x link as 10.0.0.0/8.

    10.1.1.1 is a class A address its major net number is 10.x.x.x
    172.168.1.1 is a class B address with major network 172.168.x.x
    etc..

    172.16.x.x, but yeah.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    EdTheLad wrote: »
    Auto-summary occurs at the major network boundary.In your example there is no Major network boundary as all links share the same major network 10.x.x.x.

    Thanks EdTheLad...!
    So if all the links are using the same major netwok, doesn't that still mean that there is a boundary? What I am trying to say is... Why doesn't each link advertise 10.0.0.0/8 since we do not have no auto-summary on? It's not clicking yet... Could you please expand on this a little? To me, each link should say "hey i know about 10.0.0.0/8" since auto summarization is in use by default, but it appears (by looking at the routing table in the book based on the example), that each link is saying "i know about 10.1.3.0/24 ect" or "i know about 10.1.128.0/24" ect ect ect, when it should be saying "hey i know about 10.0.0.0/8
    EdTheLad wrote: »
    If a router had a link with 11.x.x.x, and auto-summary was enabled all the 10x.x.x networks would be advertised out the 11.x.x.x link as 10.0.0.0/8.

    Ohh I see how that works! That makes sense!

    Thanks so much for the help so far, really appreciate all your responses... this has been driving me so crazy..
  • billscott92787billscott92787 Member Posts: 933
    new2net wrote: »
    Thanks EdTheLad...!
    So if all the links are using the same major netwok, doesn't that still mean that there is a boundary? What I am trying to say is... Why doesn't each link advertise 10.0.0.0/8 since we do not have no auto-summary on? It's not clicking yet... Could you please expand on this a little? To me, each link should say "hey i know about 10.0.0.0/8" since auto summarization is in use by default, but it appears (by looking at the routing table in the book based on the example), that each link is saying "i know about 10.1.3.0/24 ect" or "i know about 10.1.128.0/24" ect ect ect, when it should be saying "hey i know about 10.0.0.0/8



    Ohh I see how that works! That makes sense!

    Thanks so much for the help so far, really appreciate all your responses... this has been driving me so crazy..






    No, there wouldn't be a boundary. Think of it as an example with a boundary router. This is a case where there is one major network, which then connects to another major network. See the example that I created for you.


    Here is the routing table of the boundary Router:


    10.0.0.0/10 is subnetted, 2 subnets
    C 10.64.0.0 is directly connected, Serial1/0
    C 10.128.0.0 is directly connected, Serial1/1
    11.0.0.0/10 is subnetted, 1 subnets
    C 11.64.0.0 is directly connected, Serial1/2

    All routers are connected, there are no RIP routes because they are all directly connected. See how They give you the /10 address ----> 255.192.0.0


    Here is the routing table of R1:



    10.0.0.0/10 is subnetted, 2 subnets
    C 10.64.0.0 is directly connected, Serial0/0
    R 10.128.0.0 [120/1] via 10.64.0.1, 00:00:10, Serial0/0
    R 11.0.0.0/8 [120/1] via 10.64.0.1, 00:00:10, Serial0/0


    Here is the routing table of R2:


    10.0.0.0/10 is subnetted, 2 subnets
    R 10.64.0.0 [120/1] via 10.128.0.1, 00:00:00, Serial0/0
    C 10.128.0.0 is directly connected, Serial0/0
    R 11.0.0.0/8 [120/1] via 10.128.0.1, 00:00:00, Serial0/0



    Here is the routing table of RemoteNetwork router:

    R 10.0.0.0/8 [120/1] via 11.64.0.1, 00:00:03, Serial0/0
    11.0.0.0/10 is subnetted, 1 subnets
    C 11.64.0.0 is directly connected, Serial0/0



    As you can see here the RIPv2 route to the 10.0.0.0 network is summarized down to 10.0.0.0/8. Since RIPv2 defaults to auto summary, you can see the fact that it sends this update:

    RIP: sending v2 update to 224.0.0.9 via Serial1/2 (11.64.0.1)
    RIP: build update entries
    10.0.0.0/8 via 0.0.0.0, metric 1, tag

    See how it summerized the routes by the classful mask? I'm sure it has something to do with the fact of being able to send and receive RIPv1 updates, even though you have turned RIPv2 on, for all routers to only send and receive RIPv2 updates.


    Now if we disable auto summary on all the routers we get the following:




    Look at the RIP update that the Remote Network now receives from the Boundary Router:

    IP: s=11.64.0.1 (Serial0/0), d=224.0.0.9 len 0, rcvd 2RIP: received v2 update from 11.64.0.1 on Serial0/0
    10.64.0.0/10 via 0.0.0.0 in 1 hops
    10.128.0.0/10 via 0.0.0.0 in 1 hop

    Where as before it was just sending the update 10.0.0.0/8. I hope this help you understand what happens with it.

    It is a pain in the crack, but if you visit this cisco page: Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release 12.2 - RIP Commands [Cisco IOS Software Releases 12.2 Mainline] - Cisco Systems you will see that there explanation is basically that auto summarization is used to limit the amount of routes in the routing table. Thereby making the routing table smaller, which in turn, allows the routing process to be performed faster.


    Hope this helps ya.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    No, there wouldn't be a boundary. Think of it as an example with a boundary router. This is a case where there is one major network, which then connects to another major network. See the example that I created for you.

    Thanks so much for that. I still have one question regarding your example...

    Let us say that we connected R1 directly to R2 in your example, and gave that link the address 10.192.0.0/10 (so it looks like a triangle similar to the Odom example)

    With auto-smmary turned off, would R1 tell the Boundary Router "hey I know about 10.0.0.0/8" (when referring to the link between R1 and R2) or would R1 tell the Boundary Router "hey i know about 10.192.0.0/10" (again, when referring to the link between R1 and R2)

    If auto-summary is turned off, i think that R1 would tell the boundary router "i know of 10.0.0.0/8 which is between R1 and R2"... but I have a feeling that is not the case... and I really dont understand why this isn't the case since we are not using auto summary. If we had used auto-summary I would totally get it.


    I ran the same lab you made... I attached a picture of the topology.

    Here is the routing table on the Boundary Router:

    Gateway of last resort is not set

    10.0.0.0/10 is subnetted, 3 subnets
    C 10.64.0.0 is directly connected, Serial0/3/0
    C 10.128.0.0 is directly connected, Serial0/1/0
    R 10.192.0.0 [120/1] via 10.64.0.2, 00:00:22, Serial0/3/0
    [120/1] via 10.128.0.2, 00:00:00, Serial0/1/0
    11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    R 11.0.0.0/8 [120/3] via 10.128.0.2, 00:00:22, Serial0/1/0
    C 11.64.0.0/10 is directly connected, Serial0/0/0


    The only commands I did on each router was:
    router rip
    version 2
    network [classfull network number]


    I do not understand why Boundary Router has this line:
    R 10.192.0.0 [120/1] via 10.64.0.2, 00:00:22, Serial0/3/0
    [120/1] via 10.128.0.2, 00:00:00, Serial0/1/0

    It seems to me that both R1 and R2 are telling Boundary Router "hey i know of 10.192.0.0/10"... but since auto-summary is in effect, why are they not telling Boundary Router "hey i know of 10.0.0.0/8. I dont understand why they are not summarizing this update.

    Sorry if i repeated myself, I am trying to be detailed as possible.
  • kryollakryolla Member Posts: 785
    auto summarization happens on the router that has both networks for example

    10.x/24 fa0/0
    R1 ---- fa1/0 11.x/24

    R1 will summarize the 10.network into /8 install a null route (EIGRP) and advertise it out fa1/0. It will also do the same thing for 11. network and summarize it to/8 install a null route (EIGRP) and advertise out fa0/0.

    In your example R1 and R2 has all its interfaces in 10. network so it will not auto summarize. The auto summary command has no affect on R1 and R2 so you can turn it on or off and it wont do anything
    Studying for CCIE and drinking Home Brew
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    kryolla wrote: »
    auto summarization happens on the router that has both networks for example

    10.x/24 fa0/0
    R1 ---- fa1/0 11.x/24

    R1 will summarize the 10.network into /8 install a null route (EIGRP) and advertise it out fa1/0. It will also do the same thing for 11. network and summarize it to/8 install a null route (EIGRP) and advertise out fa0/0.

    In your example R1 and R2 has all its interfaces in 10. network so it will not auto summarize. The auto summary command has no affect on R1 and R2 so you can turn it on or off and it wont do anything


    So auto-summarization (even though it is on by default) will not occur if a router has all interfaces using the same major network with the same mask? Example: A router has S0/0/0 with 172.16.1.0/24 and S0/1/0 with 172.16.2.0/24 and Fa0/0 with 172.16.3.0/24. Auto summarization will not occur here?
  • NeekoNeeko Member Posts: 170
    Edit - ignore me, was talking about RIPv1!
  • kryollakryolla Member Posts: 785
    Neeko wrote: »
    Yes, the specifics of this are outlined here: Behavior of RIP and IGRP When Sending and Receiving Updates - Cisco Systems

    I too stumbled across what you have realised and went mad for a while trying to figure it out, this link helped me a lot. The routers do checks; the sending router checks the subnet being advertised against its sending interface and the receiving router checks the subnet being advertised against the interface it was received on. If the subnet is part of the same major network and has the same mask as both interfaces involved in a particular update then both routers deal with the subnet in it's entirety.

    Basically the network you have posted a picture of is contiguous, meaning subnets of the same major network are directly connected and using the same subnet masks. If the masks were different or there was a different classful network involved (causing the classful boundary to be crossed) then you would see auto summarization. As it is though the contiguous setup and same length masks allows for full updates since the routers can use their interfaces to correctly assume the full subnet mask.

    Edit: to be clear, this will only be the case for advertised subnets that fall into the category of same major network and same subnet mask. So each 10 network in the diagram will be advertised as the full subnet and installed in each routing table as the full subnet due to the logic outlined in the link I have copied in. But lets say for example in the diagram from the book Seville had a subnet connected to it on the 50.100.25.0 /24 network. Seville would advertise this subnet out of all links enabled for routing, and for example when sending out of its interface on the 10.1.130.0 /24 network, it will see the 50.100.25.0 /24 subnet is on a different major network to 10.1.130.0 /24 so automatically summarize it to 50.0.0.0 /8.

    Furthermore, if you had a subnet connected to Seville let's say... 10.2.1.0 /29, the router would apply the same logic by checking if it is on the same major network which it is. Then it would check if it has the same length mask, which it does not so it would be summarized to 10.0.0.0 /8. Lab it up to see.

    In writing that I've just realised there is a typo in that book on the network between Seville and Albuquerque, the subnet has an extra 1 making it 10.1.1.130.0 /24. The author has his own IP scheme lol.

    Your link is for RIPv1 and auto summarization is v2 and EIGRP
    Studying for CCIE and drinking Home Brew
  • kryollakryolla Member Posts: 785
    new2net wrote: »
    So auto-summarization (even though it is on by default) will not occur if a router has all interfaces using the same major network with the same mask? Example: A router has S0/0/0 with 172.16.1.0/24 and S0/1/0 with 172.16.2.0/24 and Fa0/0 with 172.16.3.0/24. Auto summarization will not occur here?

    That is correct, it will only happen when you cross a major network boundary regardless of your subnet mask so you have a subnet of 172.16.x.x and when it crosses another boundary that does not have 172.16 it will summarize it to 172.16.0.0/16
    Studying for CCIE and drinking Home Brew
  • NeekoNeeko Member Posts: 170
    kryolla wrote: »
    Your link is for RIPv1 and auto summarization is v2 and EIGRP

    Ummm.. good point lol.

    Is the same logic applied though? In that unless the subnet being advertised is on the same major network and has the same mask, it will be summarized?
  • kryollakryolla Member Posts: 785
    Neeko wrote: »
    Ummm.. good point lol.

    Is the same logic applied though?

    No RIPv1 doesnt send a mask with the updates so the link you provided explain how a router running RIPv1 chooses to send and accept rip routes with v2 and auto summarization you can have a subnet mask of varying lengths as long as it is still part of the major network i.e 172.16.15.x /30 then a /28 then a /24 then 172.16.16 /30 etc anything in 172.16.0.0 - 172.16.255.255 it will not summarize until you cross the major network like 172.17 or 172.18 hope this makes sense
    Studying for CCIE and drinking Home Brew
  • NeekoNeeko Member Posts: 170
    Yeah that makes sense, basically routers running RIPv2 with auto-summarization on will check the classful network, where as routers running RIPv1 will check the classful network and then the mask due to no mask being sent.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    Neeko wrote: »
    Edit - ignore me, was talking about RIPv1!


    Oh man... All the stuff I read in your post and the link you gave me made so much sense!!!! I got so happy for a bit there after I understood it all... now I just wanna... die
    kryolla wrote: »
    v2 and auto summarization you can have a subnet mask of varying lengths as long as it is still part of the major network i.e 172.16.15.x /30 then a /28 then a /24 then 172.16.16 /30 etc anything in 172.16.0.0 - 172.16.255.255 it will not summarize until you cross the major network like 172.17 or 172.18 hope this makes sense

    So that link doesn't apply to v2?

    Okay...So..... with RIPv2 enabled, and auto-summary turned off... that means summarization only happens when a major network boundary is crossed? Otherwise it will not summarize even if we have not issued no auto-summary?
  • NeekoNeeko Member Posts: 170
    Haha sorry man, whats happening is similar but not quite the same so kryolla was right to point out the difference. I think what I was saying was correct for v1, but due to v2 sending the subnet mask with routes it acts slightly different.

    No since v2 sends the mask, if you have auto summary turned off nothing will be summarized. If auto summary is on routes will be summarized if they cross classful boundaries.

    kryolla has this down though so I'll let him confirm.
  • kryollakryolla Member Posts: 785
    Turning auto summarization off which is on by default ONLY matters if you have a router with mulptiple interfaces running ripv2 or eigrp with different network boundaries.
    Studying for CCIE and drinking Home Brew
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    Neeko wrote: »
    Haha sorry man, it is close but not quite there is a slight difference.

    No since v2 sends the mask, if you have auto summary turned off nothing will be summarized. If it is on routes will be summarized if they cross classful boundaries.

    kryolla has this down though so I'll let him confirm.

    Thanks!

    My biggest problem when staring at the Odom example is this...

    The routing table on Albuquerque says:

    10.0.0.0/24 is subnetted, 6 subnets
    R 10.1.3.0 [120/1] via 10.1.130.253 ...
    R 10.1.2.0 [120/1] via 10.1.128.252 ...
    C 10.1.1.0 is directly connected, FastEthernet0/0
    C 10.1.130.0 is directly connected, Serial 0/1/0
    R 10.1.129 [120/1] via 10.1.130.253 ...
    10.1.129 [120/1] via 10.1.128.252 ...
    C 10.1.128.0 is directly connected, Serial 0/0/1

    Okay... based on the first image in the thread... how does Albuquerque know the exact subnets of the 10.0.0.0 network that Seville and Yosemite told it about (namely 10.1.2.0/24 and 10.1.3.0/24 AND 10.1.129.0/24).

    This must mean Seville is saying to Albuquerque, "hey Albuquerque, I know about 10.1.2.0/24." I dont understand this because Seville should be saying "hey Albuquerque, i know about 10.0.0.0/8." since we have not issued the command no auto-summary in the config.

    This also must mean that Yosemite is saying to Albuquerque, "hey Albuquerque , I know about 10.1.3.0/24." I don't get this either. Yosemite should be summarizing and should be saying "hey Albuquerque I know about 10.0.0.0/8"

    Both of Yosemite and Seville are also telling Albuquerque "hey Albuquerque, I know about 10.1.129.0/24"

    So it appears to me that Yosemite and Seville are advertising non-summarized routes even though summarization should be in effect.
  • kryollakryolla Member Posts: 785
    new2net wrote: »
    Thanks!

    My biggest problem when staring at the Odom example is this...

    The routing table on Albuquerque says:

    10.0.0.0/24 is subnetted, 6 subnets
    R 10.1.3.0 [120/1] via 10.1.130.253 ...
    R 10.1.2.0 [120/1] via 10.1.128.252 ...
    C 10.1.1.0 is directly connected, FastEthernet0/0
    C 10.1.130.0 is directly connected, Serial 0/1/0
    R 10.1.129 [120/1] via 10.1.130.253 ...
    10.1.129 [120/1] via 10.1.128.252 ...
    C 10.1.128.0 is directly connected, Serial 0/0/1

    Okay... based on the first image in the thread... how does Albuquerque know the exact subnets of the 10.0.0.0 network that Seville and Yosemite told it about (namely 10.1.2.0/24 and 10.1.3.0/24 AND 10.1.129.0/24).

    This must mean Seville is saying to Albuquerque, "hey Albuquerque, I know about 10.1.2.0/24." I dont understand this because Seville should be saying "hey Albuquerque, i know about 10.0.0.0/8." since we have not issued the command no auto-summary in the config.

    This also must mean that Yosemite is saying to Albuquerque, "hey Albuquerque , I know about 10.1.3.0/24." I don't get this either. Yosemite should be summarizing and should be saying "hey Albuquerque I know about 10.0.0.0/8"

    Both of Yosemite and Seville are also telling Albuquerque "hey Albuquerque, I know about 10.1.129.0/24"

    So it appears to me that Yosemite and Seville are advertising non-summarized routes even though summarization should be in effect.

    In the first image as Ed has stated ALL interfaces for ALL routers belong to the major network of 10 so it doesnt matter if auto-summarization is on or off you will NOT get a 10./8 route
    Studying for CCIE and drinking Home Brew
  • NeekoNeeko Member Posts: 170
    new2net wrote: »
    This must mean Seville is saying to Albuquerque, "hey Albuquerque, I know about 10.1.2.0/24." I dont understand this because Seville should be saying "hey Albuquerque, i know about 10.0.0.0/8." since we have not issued the command no auto-summary in the config.

    This also must mean that Yosemite is saying to Albuquerque, "hey Albuquerque , I know about 10.1.3.0/24." I don't get this either. Yosemite should be summarizing and should be saying "hey Albuquerque I know about 10.0.0.0/8"

    Both of Yosemite and Seville are also telling Albuquerque "hey Albuquerque, I know about 10.1.129.0/24"

    So it appears to me that Yosemite and Seville are advertising non-summarized routes even though summarization should be in effect.

    They are saying that yes, but no, summarization will not happen in this example because no network boundaries are being crossed.

    When RIPv2 with auto summarization turned on advertises a subnet, it will only summarize the subnet down to 10.0.0.0 /8 if the interface it is going out of is on a different classful network e.g 11.0.0.0 /8. That is what we mean by crossing classful boundaries. In this case when Seville advertises 10.x.x.x subnets it advertises them out of interfaces on 10.x.x.x subnets too, so no classful network boundaries are crossed.

    The links between the routers in the example are on the same major network as the subnets being advertised, so they are not summarized.

    This is why kryolla said this:
    kryolla wrote: »
    Turning auto summarization off which is on by default ONLY matters if you have a router with mulptiple interfaces running ripv2 or eigrp with different network boundaries.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    Neeko wrote: »
    They are saying that yes, but no, summarization will not happen in this example because no network boundaries are being crossed.

    When RIPv2 with auto summarization turned on advertises a subnet, it will only summarize the subnet down to 10.0.0.0 /8 if the interface it is going out of is on a different classful network e.g 11.0.0.0 /8. That is what we mean by crossing classful boundaries. In this case when Seville advertises 10.x.x.x subnets it advertises them out of interfaces on 10.x.x.x subnets too, so no classful network boundaries are crossed.

    The links between the routers in the example are on the same major network as the subnets being advertised, so they are not summarized.

    This is why kryolla said this:


    Ohhhhhhhhhhhhh!! It is making sense!!!!





    Thanks so much (all of u) for all your time and patience by the way...


    So.... would I be correct in saying this: even though auto-summary is on by default, auto-summary will only happen when crossing classful boundaries. Otherwise auto-summary will not occur if we are using the same major network address everywhere (even though auto-summary is on by default).

    (this may have been said already.. i just need to understand it in my own words i guess)

    Was I right in my statement..?
  • NeekoNeeko Member Posts: 170
    I believe so yes but I'd like kryolla to put a stamp on this since I've only just got it all clear myself.
  • billscott92787billscott92787 Member Posts: 933
    That is exactly what he said in the previous post :) But remember that's only the case if you are using RIPv2. RIPv1 uses auto summary and doesn't support VLSM.
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    That is exactly what he said in the previous post :) But remember that's only the case if you are using RIPv2. RIPv1 uses auto summary and doesn't support VLSM.


    Right!! Thanks!! I guess I just needed to go over it until I could word it myself... Now i should try teaching someone :)
  • new2netnew2net Member Posts: 81 ■■□□□□□□□□
    Okay... I ran into a problem...

    Check out the topology I created in packet tracer to test what we have been discussing (the topology is at the bottom of this post).

    The Boundary Router is in the middle. The Boundary Router should say to R4 "hey I know about 10.0.0.0/8" and the Boundary Router should also say to R2 "hey I know about 99.0.0.0/8"

    However.. this is the routing table of R6:

    R6#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
    R 10.0.0.0/8 [120/2] via 99.6.6.1, 00:00:20, Serial0/2/0
    R 10.1.1.0/24 [120/4] via 99.6.6.1, 00:02:07, Serial0/2/0
    R 10.2.2.0/24 [120/3] via 99.6.6.1, 00:02:08, Serial0/2/0
    R 10.3.3.0/24 [120/3] via 99.6.6.1, 00:02:08, Serial0/2/0
    R 10.4.4.0/24 [120/4] via 99.6.6.1, 00:02:07, Serial0/2/0
    R 10.5.5.0/24 [120/3] via 99.6.6.1, 00:02:08, Serial0/2/0
    R 10.6.6.0/24 [120/4] via 99.6.6.1, 00:02:07, Serial0/2/0

    99.0.0.0/24 is subnetted, 7 subnets
    R 99.1.1.0 [120/1] via 99.6.6.1, 00:00:20, Serial0/2/0
    R 99.2.2.0 [120/1] via 99.6.6.1, 00:00:20, Serial0/2/0
    R 99.3.3.0 [120/1] via 99.5.5.1, 00:00:19, Serial0/1/0
    R 99.4.4.0 [120/1] via 99.6.6.1, 00:00:20, Serial0/2/0
    [120/1] via 99.5.5.1, 00:00:19, Serial0/1/0
    C 99.5.5.0 is directly connected, Serial0/1/0
    C 99.6.6.0 is directly connected, Serial0/2/0
    C 99.7.7.0 is directly connected, FastEthernet0/0

    So it appears that Boundary Router is advertising all the 10.0.0.0 subnets rather than advertising 10.0.0.0/8. I thought summarization would happen once a major network boundary was crossed.


    Also, check out the routing table of R3:

    R3#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/24 is subnetted, 7 subnets
    R 10.1.1.0 [120/1] via 10.4.4.1, 00:00:21, Serial0/3/0
    R 10.2.2.0 [120/1] via 10.5.5.1, 00:00:17, Serial0/2/0
    [120/1] via 10.4.4.1, 00:00:21, Serial0/3/0
    R 10.3.3.0 [120/1] via 10.5.5.1, 00:00:17, Serial0/2/0
    C 10.4.4.0 is directly connected, Serial0/3/0
    C 10.5.5.0 is directly connected, Serial0/2/0
    C 10.6.6.0 is directly connected, FastEthernet0/0
    R 10.7.7.0 [120/1] via 10.5.5.1, 00:00:17, Serial0/2/0
    99.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
    R 99.0.0.0/8 [120/2] via 10.5.5.1, 00:00:17, Serial0/2/0
    R 99.2.2.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0
    R 99.3.3.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0
    R 99.4.4.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0
    R 99.5.5.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0
    R 99.6.6.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0
    R 99.7.7.0/24 is possibly down, routing via 10.5.5.1, Serial0/2/0



    It appears here that Boundary Router is not summarizing the 99.0.0.0 network.

    On each router I have enabled RIP by using the following commands:
    router rip
    version 2
    network classful-network-number

    Since boundaries are being crossed, shouldn't Boundary Router be summarizing the networks (namely 10.0.0.0 and 99.0.0.0). If Boundary Router was summarizing, then R6 should not have the 10.1.1.0/24, 10.2.2.0/24, 10.3.3.0/24, 10.4.4.0/24, 10.5.5.0/24, 10.6.6.0/24, 10.7.7.0/24 subnets listed in its routing table. Instead, R6 should have 1 entry for 10.0.0.0.

    Can someone help me out here? Thank you again...


    EDIT:

    Okay...check this out... I ran that lab shown in my topology at the bottom of this post. I posted the output above because i did not understand what was going on. After I finished writing all the stuff before my "EDIT" I went back to packet tracer. I ran show ip route on R3 and R6 again.
    Check out the output now!!!


    R6#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    R 10.0.0.0/8 [120/2] via 99.6.6.1, 00:00:07, Serial0/2/0
    99.0.0.0/24 is subnetted, 7 subnets
    R 99.1.1.0 [120/1] via 99.6.6.1, 00:00:07, Serial0/2/0
    R 99.2.2.0 [120/1] via 99.6.6.1, 00:00:07, Serial0/2/0
    R 99.3.3.0 [120/1] via 99.5.5.1, 00:00:19, Serial0/1/0
    R 99.4.4.0 [120/1] via 99.6.6.1, 00:00:07, Serial0/2/0
    [120/1] via 99.5.5.1, 00:00:19, Serial0/1/0
    C 99.5.5.0 is directly connected, Serial0/1/0
    C 99.6.6.0 is directly connected, Serial0/2/0
    C 99.7.7.0 is directly connected, FastEthernet0/0


    Here is R3's routing table:
    R3#show ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
    i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
    * - candidate default, U - per-user static route, o - ODR
    P - periodic downloaded static route

    Gateway of last resort is not set

    10.0.0.0/24 is subnetted, 7 subnets
    R 10.1.1.0 [120/1] via 10.4.4.1, 00:00:09, Serial0/3/0
    R 10.2.2.0 [120/1] via 10.5.5.1, 00:00:29, Serial0/2/0
    [120/1] via 10.4.4.1, 00:00:09, Serial0/3/0
    R 10.3.3.0 [120/1] via 10.5.5.1, 00:00:29, Serial0/2/0
    C 10.4.4.0 is directly connected, Serial0/3/0
    C 10.5.5.0 is directly connected, Serial0/2/0
    C 10.6.6.0 is directly connected, FastEthernet0/0
    R 10.7.7.0 [120/1] via 10.5.5.1, 00:00:29, Serial0/2/0
    R 99.0.0.0/8 [120/2] via 10.5.5.1, 00:00:29, Serial0/2/0
    R3#

    This is what i expected all along! The different major networks have been summarized by Boundary Router. This is what i expected to happen after our discussion in this thread. I just dont get how this could have happened.


    Here is the topology:
  • billscott92787billscott92787 Member Posts: 933
    I definitely think you aren't understanding what we are trying to say. (I don't mean this in an offensive way). Keep building smaller topologies until it clicks. Your show ip route on the BoundaryRouter is right. That router knows about "ALL ROUTES" it is the "mother" of your topology. So, you configured RIP on all the routers, Boundary, R1, R2, R3, R4, R5, R6. When the boundary router sends it's updates to R4, it says, "Hey, I know about 10.7.7.0 it is going to summarize this in the RIP update that is sent to the router on that network. Are you sure you configured the no auto-summary? It is summarizing that in R6 with the classful subnet mask /8. Are you running RIPv1 or RIPv2? Honestly, I would start with three to four routers. You're topology is too large, I'm not saying you can't understand this, but it's easier to understand if you start with a smaller topology instead of building a larger one like you did, and then trying to understand it. Go back and check your configuration and make sure you configured no auto summary on all the routers. I really don't know how else to explain it. In addition to that, you can even enable debugging on your sample lab using



    debug ip rip and debug ip packet. Then on the router you want to watch receive it's updates type clear ip route *, this will make it request an update. You can then watch the information that it receives. But, I wouldn't do it on your topology, you will be receiving a good bit of text to read. Start small, then work your way up.
  • BennyLavaBennyLava Member Posts: 60 ■■□□□□□□□□
    It looks like you had auto-summary turned off at one point and then re-enabled it. Once you enabled it the boundary router stops sending updates about the specific subnets if the outgoing interface is a different major network and only sends the /8 routes, but the other routers still use them for routing until the invalid timer expires (180 sec default) and keep them in the routing table listed as 'possibly down' until the flush timer expires (240 sec default). The first show command shows the individual subnets were last received in updates a little over 2 minutes ago, the second one sometime after the invalid expired but before the flush (between 3 and 4 minutes) and the other 2 after the specific subnet routes had been flushed (4+ minutes).
Sign In or Register to comment.