EIGRP summary routes and administrative distance
EIGRP summary routes have an AD of 5... Is this to make these routes take precedence over more specific EIGRP routes?
encrypt the encryption, never mind my brain hurts.
Comments
-
Mrock4 Banned Posts: 2,359 ■■■■■■■■□□The AD of 5 will only be local, not propagated to other nodes. After looking all over the net, the best thing I can come up with is to protect against the router receiving the same summary from a different node..in that case, it will still select the local summary route with an AD of 5. Maybe someone else can chime in.
-
kpjungle Member Posts: 426EIGRP summary routes have an AD of 5... Is this to make these routes take precedence over more specific EIGRP routes?
As far as I remember, doesnt the new route get an AD of 5, and pointing to null0 ?
If thats the case, then the AD of 5 is a loop prevention system, making sure the summary route gets installed in the local routing table, and if a packet comes in with a destination of a non-known route, it gets dropped.Studying for CCNP (All done) -
tech-airman Member Posts: 953EIGRP summary routes have an AD of 5... Is this to make these routes take precedence over more specific EIGRP routes?
liven,
It depends. What is the AD for the more specific EIGRP route? -
kalebksp Member Posts: 1,033 ■■■■■□□□□□More specific routes always take precedence over less specific routes, regardless of AD.
-
tech-airman Member Posts: 953More specific routes always take precedence over less specific routes, regardless of AD.
kalebksp,
That is not always true. What if the specific route's AD value has been manually configured? Case in point, "floating static route." -
gojericho0 Member Posts: 1,059 ■■■□□□□□□□tech-airman wrote: »kalebksp,
That is not always true. What if the specific route's AD value has been manually configured? Case in point, "floating static route."
if there is a route with a more specific prefix it will still take precedence -
kalebksp Member Posts: 1,033 ■■■■■□□□□□tech-airman wrote: »kalebksp,
That is not always true. What if the specific route's AD value has been manually configured? Case in point, "floating static route."
A floating static route is a static route with a modified AD. The point of modifying the AD is to cause this route to be used only when the dynamic routing protocol has lost it's route to the same network. I don't see what it has to do with the specificity of the routes. -
tech-airman Member Posts: 953gojericho0 wrote: »if there is a route with a more specific prefix it will still take precedence
gojericho0,
Let's say you've got an EIGRP route to 192.168.1.0/24 with default internal EIGRP AD of 90. Let's say you've got a static route to 192.168.1.0/24 with default static route AD of 1. The routing process compares AD 90 with AD 1. The AD 1 wins, so the static route gets placed into the routing table and NOT the EIGRP route to 192.168.1.0/24. So how "more specific" than the IDENTICAL subnetwork can you get to determine which one gets installed into the routing table?
Source: -
tech-airman Member Posts: 953A floating static route is a static route with a modified AD. The point of modifying the AD is to cause this route to be used only when the dynamic routing protocol has lost it's route to the same network. I don't see what it has to do with the specificity of the routes.
kalebksp,
A static route has a default administrative distance of 1. An internal EIGRP route has a default administrative distance of 90. Let's say both routes are to 192.168.1.128/25. The routing process looks at the AD for the static route then compares it with the AD for the internal EIGRP route and decides to place the static route to 192.168.1.128/25 into the routing table instead of the internal EIGRP route to 192.168.1.128/25. So the purpose of creating a "floating static route" is to intentionally make the static route "less desirable" so some other routing protocol's route to a subnetwork is placed into the routing table instead of the static route, for example intentionally configure the floating static route's administrative distance to 91. That should result in the internal EIGRP route to 192.168.1.128/25 to be placed into the routing table instead of the newly manually configured administrative distance for the static route. So I think my comment is valid.
Source: -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□As quoted above:
"More specific routes always take precedence over less specific routes, regardless of AD."
This is the statement you disagreed with tech-airman.
More specific = longer mask , longest mask gets preference regardless of AD.
Ed = 1 , TA = 0Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
kalebksp Member Posts: 1,033 ■■■■■□□□□□tech-airman wrote: »kalebksp,
A static route has a default administrative distance of 1. An internal EIGRP route has a default administrative distance of 90. Let's say both routes are to 192.168.1.128/25. The routing process looks at the AD for the static route then compares it with the AD for the internal EIGRP route and decides to place the static route to 192.168.1.128/25 into the routing table instead of the internal EIGRP route to 192.168.1.128/25. So the purpose of creating a "floating static route" is to intentionally make the static route "less desirable" so some other routing protocol's route to a subnetwork is placed into the routing table instead of the static route, for example intentionally configure the floating static route's administrative distance to 91. That should result in the internal EIGRP route to 192.168.1.128/25 to be placed into the routing table instead of the newly manually configured administrative distance for the static route. So I think my comment is valid.
Source:
I'm going to assume you misunderstood what we meant by "more specific route", in which case, read EdTheLad's post above. There is also some explanation on the "Route Selection in Cisco Routers" page you posted, under the "Making Forwarding Decisions" section. -
tech-airman Member Posts: 953As quoted above:
"More specific routes always take precedence over less specific routes, regardless of AD."
This is the statement you disagreed with tech-airman.
More specific = longer mask , longest mask gets preference regardless of AD.
Ed = 1 , TA = 0
EdTheLad,
You're looking from the wrong side of the routing table. You're talking about the forwarding process, not the routing process side of the routing table. The forwarding process takes the longest prefix and then consults the routing table. The forwarding process doesn't care about administrative distance. The forwarding process only cares if a route exists for the sub/network of the destination IP address.
Since the title of this post is "EIGRP summary routes and administrative distance" and this is the CCNP board, it is more relevant to look at how the routing process decides to place routes into the routing table for the forwarding process to use. The OP asked "Is this to make these routes take precedence over more specific EIGRP routes?" So "...more specific EIGRP routes" in relation to "summary routes" would be the individual subnets that make up the summary route. Therefore, a summary route of 192.168.2.0/23 includes the "more specific" routes of 192.168.2.0/24 and 192.168.3.0/24. What if you manually configured the internal EIGRP route to 192.168.3.0/24 to be lower than AD 5, say AD 4? So the routing process would prefer to install 192.168.3.0/24 with AD 4 into it's routing table instead of the summary route with AD 5. That's why I said "It depends."
Penalty EdTheLad, -1 point for speaking from the wrong side of the routing table.
Ed = 0, TA = 1 -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□I'm afraid you will have to remove that penalty.
The summary gets an AD of 5 and a route null0 to protect from receiving the advertised summary back via another interface and creating a loop.Even if a summary is created locally, the networks falling within that summary will be present in the local rib, these routes will not be advertised due to a summary configured on the interface.
So what i said before still holds true, your ideas are a little screwed.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
tech-airman Member Posts: 953I'm going to assume you misunderstood what we meant by "more specific route", in which case, read EdTheLad's post above. There is also some explanation on the "Route Selection in Cisco Routers" page you posted, under the "Making Forwarding Decisions" section.
kalebksp,
No, I did not misunderstand the term "more specific route." You are looking on the wrong side of the routing table just like EdTheLad's post above. You're looking at the "Making Forwarding Decisions" section but I read the "Building the Routing Table" section that states ...The main considerations while building the routing table are:
Administrative distance - This is the measure of trustworthiness of the source of the route. If a router learns about a destination from more than one routing protocol, administrative distance is compared and the preference is given to the routes with lower administrative distance. In other words, it is the believability of the source of the route.
<snip>
The router decides whether or not to install the routes presented by the routing processes based on the administrative distance of the route in question. If this path has the lowest administrative distance to this destination (when compared to the other routes in the table), it's installed in the routing table. If this route isn't the route with the best administrative distance, then the route is rejected.
To understand this better, let's look at an example. Assume a router has four routing processes running: EIGRP, OSPF, RIP, and IGRP. Now, all four of these processes have learned of various routes to the 192.168.24.0/24 network, and each has chosen its best path to that network through its internal metrics and processes.
Each of these four processes attempts to install their route toward 192.168.24.0/24 into the routing table. The routing processes are each assigned an administrative distance, which is used to decide which route to install.
Default Administrative Distances
Connected
0
Static
1
eBGP
20
EIGRP (internal)
90
IGRP
100
OSPF
110
IS-IS
115
RIP
120
EIGRP (external)
170
iBGP
200
EIGRP summary route
5
You can modify the administrative distance for EIGRP by using the following command...Router(config-router)#distance eigrp [i]internal-distance[/i] [i]external-distance[/i]
The abovementioned command does not modify the EIGRP summary route AD. So it is possible to make the internal EIGRP route "more attractive" than the EIGRP summary route.
So I did not misunderstand the OP's question. -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□tech-airman wrote: »
The abovementioned command does not modify the EIGRP summary route AD. So it is possible to make the internal EIGRP route "more attractive" than the EIGRP summary route.
So I did not misunderstand the OP's question.
In the situation both summary and internal route were the same.
If you received an internal route 10.1.0.0/16 from an eigrp neighbor, you config a summary on another interface 10.1.0.0 255.255.0.0, this will create a static to null with ad 5.
This static will take precedence over the internal route, you could however modify the internal eigrp distance to 4 so the internal route will take precedence over the summary.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
kryolla Member Posts: 785AD only comes into play when you have the SAME prefex advertised by different routing protocols then it will take the best AD and the prefix will get installed in the routing table.
The longest prefix will ALWAYS have precedence over shorter.Therefore, a summary route of 192.168.2.0/23 includes the "more specific" routes of 192.168.2.0/24 and 192.168.3.0/24. What if you manually configured the internal EIGRP route to 192.168.3.0/24 to be lower than AD 5, say AD 4? So the routing process would prefer to install 192.168.3.0/24 with AD 4 into it's routing table instead of the summary route with AD 5. That's why I said "It depends."
These 2 are not the same prefex so even though you change the ad they both will get installed in the RIB of the router generating the summary.
192.168.2.0/23
192.168.2.0/24Studying for CCIE and drinking Home Brew -
kalebksp Member Posts: 1,033 ■■■■■□□□□□tech-airman wrote: »kalebksp,
No, I did not misunderstand the term "more specific route." You are looking on the wrong side of the routing table just like EdTheLad's post above. You're looking at the "Making Forwarding Decisions" section but I read the "Building the Routing Table" section that states ...
You can modify the administrative distance for EIGRP by using the following command...Router(config-router)#distance eigrp [i]internal-distance[/i] [i]external-distance[/i]
The abovementioned command does not modify the EIGRP summary route AD. So it is possible to make the internal EIGRP route "more attractive" than the EIGRP summary route.
So I did not misunderstand the OP's question.
From the Building the Routing Table section:Prefix Lengths
Let's look at another scenario to see how the router handles another common situation: varying prefix lengths. Assume, again, that a router has four routing processes running on it, and each process has received these routes:
EIGRP (internal): 192.168.32.0/26
RIP: 192.168.32.0/24
OSPF: 192.168.32.0/19
Which of these routes will be installed in the routing table? Since EIGRP internal routes have the best administrative distance, it's tempting to assume the first one will be installed. However, since each of these routes has a different prefix length (subnet mask), they're considered different destinations, and they will all be installed in the routing table.
To echo what kryolla and EdTheLad said, AD only comes into play with routes with the same network and prefix portions. You would be correct if summary routes and the more specific routes encompassed in that summary had the same network and prefix portions, which is by very definition not the case. -
cowood2676 Member Posts: 27 ■□□□□□□□□□I am fairly new to this forum, but decided to put my toughts in the mix.
The administrative distance (AD) is used to rate the trustworthiness of routing information received on a router from a neighbor router. An administrative distance is an integer from 0 to 255, where 0 is the most trusted and 255 means no traffic will be passed via this route.
Here is how the Router makes routing decisions:
1) The Route with longest prefix length will be selected.
2) If there are multiple routes with the same prefix length, the route with the lowest AD will be used.
3) If there are multiple routes with the same prefix length & same AD, the route with the lowest metric will be preferred.
4) Finally, if the preceding 3 values are all equal, equal-cost sharing load sharing will be put into action. -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□cowood2676 wrote: »I am fairly new to this forum, but decided to put my toughts in the mix.
The administrative distance (AD) is used to rate the trustworthiness of routing information received on a router from a neighbor router. An administrative distance is an integer from 0 to 255, where 0 is the most trusted and 255 means no traffic will be passed via this route.
Here is how the Router makes routing decisions:
1) The Route with longest prefix length will be selected.
2) If there are multiple routes with the same prefix length, the route with the lowest AD will be used.
3) If there are multiple routes with the same prefix length & same AD, the route with the lowest metric will be preferred.
4) Finally, if the preceding 3 values are all equal, equal-cost sharing load sharing will be put into action.
They're not your thoughts,you've taken that straight from a book.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
warquezho Member Posts: 21 ■□□□□□□□□□In the situation both summary and internal route were the same.
If you received an internal route 10.1.0.0/16 from an eigrp neighbor, you config a summary on another interface 10.1.0.0 255.255.0.0, this will create a static to null with ad 5.
This static will take precedence over the internal route, you could however modify the internal eigrp distance to 4 so the internal route will take precedence over the summary.
Hi ED,
I tried doing what you saidIf you received an internal route 10.1.0.0/16 from an eigrp neighbor, you config a summary on another interface 10.1.0.0 255.255.0.0
Please confirm... by the way I'm using GNS3:) -
hadi_x Registered Users Posts: 6 ■□□□□□□□□□I'm afraid you will have to remove that penalty.
The summary gets an AD of 5 and a route null0 to protect from receiving the advertised summary back via another interface and creating a loop.Even if a summary is created locally, the networks falling within that summary will be present in the local rib, these routes will not be advertised due to a summary configured on the interface.
So what i said before still holds true, your ideas are a little screwed.
hey guys!
could you explain more about this :"The summary gets an AD of 5 and a route null0 to protect from receiving the advertised summary back via another interface and creating a loop" and " locally" with an example?
I don't understand mean of summary and locally and I don't know that this route with AD 5 can be loop prevention system?
please explain with an example
tnx -
DerekNorsworthy Registered Users Posts: 1 ■□□□□□□□□□Hadi maybe I can shed some light on whats going on here.... First off a summary *route* is configure on an interface that points to a neighbor running the same routing protocol as the originating router.... It is used to minimize the amount of routes being advertised and processed, for example normally if you have an eigrp router (R1) advertising 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24, 10.0.3.0/24 and 10.0.4.0/24 to R2, R1 will send to R2 five advertisements, one for each network. This will make 5 entry's in the routing table. In this scenario route summarization will be of benefit to you by minimizing routing traffic and cpu\memory utilization by advertising a summary route to R2. This route would reduce the size of your routing tables and in turn reduce the time, cpu, and memory to do route lookups to know where to forward a packet to one of the 10.0 networks. So when you enter the route summary command on the interface you would like to specify a longer prefix to the 10.0 networks probably 10.0.0.0/21. In return on R2 it will recieve one route advertisement for the 10.0.0.0/21 networks which covers all existing 10.0 networks. Now that R2 is sending all 10.0.0.0/21 traffic to R1 there might accidently be a packet injected into the network addressed to 10.0.5.22/24. So what is going to happen to this packet if there is no null0 interface on R1 and R2 is the last resort is it will be looped forever indefinitely between R1 and R2 because they will both have a valid exiting route that matches that packet. So what R1 does to avoid this is to make a route that matches anything that doesnt match one of its 10 networks and forward it to Null0(Bit Bucket- Trash can). This prevents those kind of loops while minimizing update traffic and resource utilization. I am pretty sure that the Administrative Distance of 5 is also an added loop prevention mechanism to make the bit bucket more preferred for non matching routes than the default next hop.
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□Lol, that thread is 4.5 years old, last post was more than 1.5 years ago, i hope Hadi hasn't been waiting for a reply!Networking, sometimes i love it, mostly i hate it.Its all about the $$$$