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?
Sunday, August 10, 2008
Subscribe to:
Post Comments (Atom)
execellent my friends
ReplyDeletethanks man. you made it so easy...
ReplyDeleteMany thanks dude, perfect explanation.
ReplyDeletecan 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
not supported in sub interfaces
ReplyDeleteyes on serial interface can leak route with the default route as originated
ReplyDeleteLeak maps are not available on sub-interfaces. You need to create a virtual-template interface to achieve this.
ReplyDelete