Sunday, August 10, 2008

EIGRP - summarization with leak-map

R7 has three loopbacks:

172.29.17.7/24
172.29.18.7/24
172.29.19.7/24

And it is connected to a few routers including R8. You want R7 to summarize the networks but also advertise a specific route of 172.29.18.0/24 to R8. Here's how:

R7:

access-list 18 permit 172.29.18.0 0.0.0.255
!
route-map LEAK18
match ip address 18
!
int s0/0/0
ip summary-address eigrp 1001 172.29.16.0 255.255.252.0 leak-map LEAK18


Now on R8:

R8#show ip route | in 172
172.29.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.29.16.0/22 [90/20640000] via 150.100.78.7, 00:03:31, Serial0/0/0
D 172.29.18.0/24 [90/20640000] via 150.100.78.7, 00:01:04, Serial0/0/0


Easy, eh?

6 comments:

  1. execellent my friends

    ReplyDelete
  2. thanks man. you made it so easy...

    ReplyDelete
  3. Many thanks dude, perfect explanation.
    can also be done with default route while leaking anything needed.
    int s0/0/0
    ip summary-address eigrp 1001 0.0.0.0 0.0.0.0 leak-map LEAKothers

    ReplyDelete
  4. not supported in sub interfaces

    ReplyDelete
  5. yes on serial interface can leak route with the default route as originated

    ReplyDelete
  6. Leak maps are not available on sub-interfaces. You need to create a virtual-template interface to achieve this.

    ReplyDelete

Note: Only a member of this blog may post a comment.