11-16-2017 12:57 AM - edited 03-05-2019 09:29 AM
Hi All
do you need mp-bgp to route between vrf's? or could you use eigrp etc?
11-16-2017 02:23 AM - edited 11-16-2017 02:27 AM
Hi
It is not required If you are not going to use it over MPLS. VRF is significant locally.
For example if your topology is like:
R1 (VRF) ----- R2 ---- R3
You can use EIGRP on the 3 routers but you must run EIGRP over the VRF.
router eigrp TEST
address-family ip4v4 vrf MY-VRF autonomous-system 100
It can be made over EIGRP named instance only.
Hope it is useful
:-)
11-16-2017 02:31 AM
can you give me an example of routing between them on 1 router, route leaking ?
11-16-2017 02:35 AM - edited 11-16-2017 02:39 AM
Hi
Sure, for example
R1 (VRF) f0/0 ----- fa0/0 R2
R1
ip vrf A
rd 1:1
(router-target is not required if you will not use MPLS)
interface loopback0
ip vrf forwarding A
ip address 1.1.1.1 255.255.255.255
interfarce fa0/0
ip vrf forwarding A
ip address 10.12.0.1 255.255.255.0
no shutdown
router eigrp MY-EIGRP
address-family ipv4 vrf A autonomous-system 100
network 10.12.0.1 0.0.0.0
network 1.1.1.1 0.0.0.0
R2
interface loopback0
ip address 2.2.2.2 255.255.255.255
interfarce fa0/0
ip address 10.12.0.2 255.255.255.0
no shutdown
router eigrp 100
network 10.12.0.2 0.0.0.0
network 2.2.2.2 0.0.0.0
no auto-summary
Or
router eigrp MY-EIGRP
address-family ipv4 unicast autonomous-system 100
network 10.12.0.2 0.0.0.0
network 2.2.2.2 0.0.0.0
no auto-summary
Hope it is useful
:-)
11-16-2017 03:38 AM
im talking about routing between 2 different vrf's, yours looks like the same?
11-16-2017 03:52 AM - edited 11-16-2017 03:58 AM
If it is for different VRF you could not intercommunicate them directly because they have different instance, different routing tables. You can just leak the routes using import/export maps or trying with the route-maps:
ip vrf A
rd 1:1
route-target export 1:1
route-target import 1:1
route-target import 2:2
ip vrf B
rd 2:2
route-target export 2:2
route-target import 2:2
route-target import 1:1
11-16-2017 05:12 AM
i think you will still need to redistribute between the protocols even with the import/export maps?
I hear you can only do this with mp-bgp?
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