Route Summarisation with EIGRP

KB ID 0001149

Problem

I’ve already written a post that lets you calculate a route summarisation. So now you have a method of advertising your routes more efficiently, what do you do with it? Well I’m at the EIGRP point in my studies so here’s how to implement it with EIGRP.

To demonstrate I’ve built the above network on GNS3, there is a loopback interface on the routers for each of those networks.

Solution

I’ve already setup EIGRP, and importantly disabled auto-summarisation* If we take a look at the routing table on the North router we can see the routes being learned from the South router;

*Note: If this exercise is about summarisation, why have I disable auto-summarisation? Well if I didn’t the routers would see all the remote subnets as 10.0.0.0/8 and nothing would work!

And you will see the ‘opposite’ in the routing table on the South router;

And just to prove it’s not all smoke and mirrors, here’s the current EIGRP config on both routers;

Now you actually apply the route summarisation on the network interface that the routes are getting advertised through (even through the IP of that network may not be in the networks you are summarising). This may seem a little odd that it’s not done in the ‘router eigrp {system number}’ part of the config. My routers both connect to each other with their GigiabitEthernet1/0 interface.

Firstly, perform your route summarisation, and you should come up with 10.0.0.0/14 for the North router and 10.4.0.0/14 on th South router.

Apply the route summarisation on the GE1/0 interface;

[box]

interface GigabitEthernet1/0
ip summary-address eigrp 90 10.0.0.0 255.252.0.0

[/box]

If you are wondering /14 is 255.252.0.0, I struggle to remember converting short and long notation subnets, that’s why I’ve got an IP subnet aide memoir.

Now configure the South router;

[box]

interface GigabitEthernet1/0
ip summary-address eigrp 90 10.4.0.0 255.252.0.0

[/box]

Now if you look on the routing tables of both routers, you will see the routes have been summarised.

Why is the summarised route listed twice? And why does one route point to Null0?

Well to get your head round this, you need to understand that ‘a more specific route always wins‘, e.g. traffic coming from the 10.1.0.0 subnet behind router North that is arriving at router South will have a subnet of /16 (or /32), which is more specific than the /14 summarised route. OK, but Null0 drops the traffic? So lets say all the remote networks in the North Site ‘Go Down’. The South, route now only has the 10.0.0.0/14 route left, so it would drop the traffic, which is good as those subnets are all down.

Related Articles, References, Credits, or External Links

Network Summarisation – Exam Technique and Examples

Cisco Router IOS – Configuring EIGRP

IP (v4) Networking Crib Sheet

Network Summarisation – Exam Technique and Examples

KB ID 0001138 

Problem

Note: Yes I’m spelling Summarisation with an ’S’ I’m English.

Most examples I’ve seen on this give you a bunch of subnets then ask you to come up with a summary route for all of them, (that’s kind of the point of route summarisation, I’ll grant you). However in an exam with a laminated board and the dodgy permanent pen they give you to make notes with, are you seriously expected to convert everything to binary to find the ‘last contigious bit’?

I was studying this today and kept getting it wrong, so I asked a colleague to look and see where I was going wrong. He scribbled on a piece of paper for two minutes and came up with the correct answer. So I’ve stolen his methodology. You can use it for any range of subnets, and if it comes up in an exam, you also have the added bonus that the right answer will be on the screen so even if your maths is off a little, the answer should jump out at you.

Solution

Step 1: You get a range of subnets to summarise;

[box]

192.168.10.0 /24
192.168.11.0 /24
192.168.12.0 /24
192.168.13.0 /24
192.168.14.0 /24
192.168.15.0 /24

[/box]

Points to note:

A) Everything’s happening in the third octet.

B) Ignore everything except the lowest and the highest subnet.

Step 2: Write down the Highest and Lowest Network (in fact just the third octet).

[box]

10
15

[/box]

Step 3:Convert those into Binary (use a full 8 bits).

[box]

10 = 00001010 (if you’ve just gone eh! That's an 8, and a 2).
15 = 00001111 (if you’ve just gone eh! That's an 8, a 4, a 2, and a 1).

[/box]

Step 4: Find the POSITION of last contigious bit, (the same in both).

[box]

00001010 
00001111

[/box]

Above, the first 5 numbers are the same, thats where the LAST bit of the summarised subnet will be. (If you’re confused, everything to the left will be a one, everything to the right will be a zero. i.e. 11111111.11111111.11111000.0000000

So the answer will have a /21 mask, (because there’s 21 x 1s).

Well that’s great, but I still don’t know the subnet address?

Yes you do! In step 3 you worked out the LOWEST subnet, you simply forget all the numbers that are NOT contigious, and the subnet is all the bits that are left. (That sounds more complicated than it is), So;

[box]

00001010 
00001111

[/box]

You ignore the last three, they are not contigious, (010 and 111 are not the same), that leaves you with;

[box]

00001000 = 8

[/box]

So the network to summarise is 192.168.8.0/21 (or 255.255.248.0 if you prefer).

You might think, THAT WAS LONG WINDED! Well I took pains to explain everything. Once you have the method you can apply it to any list of networks;.

A More Complicated Example

[box]

192.168.112.0 /24
192.168.113.0 /24
192.168.114.0 /24
192.168.115.0 /24
192.168.116.0 /24
192.168.117.0 /24
192.168.118.0 /24
192.168.119.0 /24

Lowest and Higest

192.168.112.0
192.168.119.0

Convert the changing Octet to Binary

01110000
01110111

We are the same up to the 5th bit so its a /21
Drop the last three bits 01110000 is 112

Answer is 192.168.112.0/21

[/box]

More Exercises to Try (Answers Below)

[box]

1. 

10.10.1.0/27
10.10.1.32/28
10.10.1.48/28
10.10.1.64/26
10.10.1.128/29
10.10.1.136/29
10.10.1.144/28

2.

10.22.178.0 /23
10.22.180.0 /23
10.22.182.0 /23
10.22.184.0 /23
10.22.186.0 /23
10.22.188.0 /23
10.22.190.0 /23

3. 

172.16.4.0/24
172.16.5.0/24
172.16.6.0/24
172.16.128.0/24

4.

172.16.207.192 /26
172.16.205.64 /26	
172.16.206.128 /25
172.16.204.0 /24

5.

172.16.0.0/24
172.16.1.0/24
172.16.2.0/24
172.16.3.0/24

[/box]

ANSWERS

1. 10.10.1.0 /24

2. 10.22.176.0 /20

3. 172.16.0.0 /16

4. 172.16.204.0 /24

5. 172.16.0.0 /22

Related Articles, References, Credits, or External Links

NA