04-04-2016 02:59 AM - edited 03-05-2019 03:42 AM
Hi!
Please i need help:
i have a problem with redistr. routes between global route table and 2 VRFS.
In global:
router ospf 1
network 10.2.11.0 0.0.0.255 area 1
network 172.30.0.100 0.0.0.1 area 1
vrfs:
ip vrf A
rd 2:2
route-target export 100:1
route-target import 200:1
ip vrf B
rd 1:1
route-target export 200:1
route-target import 100:1
route between them:
address-family ipv4 vrf B autonomous-system 1050
redistribute bgp 300 metric 1 10000 1 1 1
address-family ipv4 vrf A autonomous-system 1050
redistribute bgp 300 metric 1 10000 1 1 1
router bgp 300
!
address-family ipv4 vrf A
redistribute eigrp 1050
exit-address-family
!
address-family ipv4 vrf B
redistribute eigrp 1050
exit-address-family
Now question: I need to make access from vrf A and B to some host , for example 10.2.11.13 from global routing table.
Can you tell me what is the best practice to do it?
Thank you!
P.S.
My solution:
I need to make "import map" for each vrfs
access-list 10 permit 10.2.11.13 255.255.255.0
route-map OSPF-EIGRP 10
match ip add 10
ip vrf A
import ipv4 unicast map OSPF-EIGRP
But it do not work.
I also think about redisribution from ospf to BGP with filter route-map OSPF-EIGRP and in this case route to 10.2.11.13 is in routing table of vrf A and B , but host is unable to ping .
04-05-2016 04:38 AM
Solved!
04-13-2016 11:26 PM
Андрей, добрый день.
Как решили проблему, не поделитесь?
04-14-2016 09:10 AM
Никита, доброго дня.
Все оказалось просто:
добавил в нужный vrf статический маршрут до хоста .
Исходил из того, что если делать редистрибьют - придется писать много всего - route-map , ACL и т.д. Решение которое представлено здесь , а именно "import map" - не работает.
04-14-2016 10:19 PM
Добрый день, Андрей.
Спасибо за ваш ответ. Всего доброго!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide