09-15-2009 04:31 PM - edited 03-04-2019 06:03 AM
Hi,
I have a bunch of routers setup in a lab running EIGRP and BGP.
Currently the two routers that are BGP neighbours redistribute the BGP routes into some of the other routers in the network.
I only want one router in my network to receive the redistributed BGP routes. I thought i could do this with a route map... This is what I have configured
router eigrp 1
redistribute bgp 65000 metric 2048 10 255 1 1500 route-map deny-to-r6
route-map deny_to_r6 permit 10
match ip address routing_updates
ip access-list extended routing_updates
permit ip any host 10.1.1.1
permit ip any host 10.2.2.1
deny ip any any log
So I thought this should permit the redistributed BGP routes to 10.1.1.1 and 10.2.2.1 (this is the same router, just two different interfaces) and deny them everywhere else.
However when i apply this command, no routes get redistributed at all.
So i must be missing something.... any suggestions?
09-15-2009 04:38 PM
Your ACL should be as followed:
ip access-list standard routing_updates
permit host 10.1.1.1
permit host 10.2.2.1
HTH,
__
Edison.
09-15-2009 04:51 PM
hmmm that didn't change anything... the extended ACL does the same thing doesn't it?
09-15-2009 05:06 PM
Reading your original post once again, I believe there is a misunderstanding. You don't redistribute to a destination router by including the host information in the route-map - you redistribute from one routing protocol to another while using the route-map to match on routes that are needed to be redistributed.
The logic that I thought you wanted to implement was to redistribute 2 host routes from BGP into EIGRP. It seems you want to redistribute all BGP routes into EIGRP but to have a destination of those 2 devices? It does not work like that. Once you bring those routes into the IGP, all other routers running the IGP will receive the route unless you filter it at ingress.
__
Edison.
09-15-2009 07:43 PM
ah I understand. Will give it a shot.
THanks,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: