Friday, May 29, 2020

VRF Route Leaking Configuration

Hey Reddit,

I am having some difficulty in configuring route leaking between VRFs. I have looked through multiple examples of this online and cannot understand why the routes between my two test VRFs are not being added to eachothers routing tables when the route targets appear to be being imported correctly.

Does anyone have any ideas, I get the feeling I am missing something really obvious?

ip vrf Test1 rd 65001:991 route-target both 65001:991 route-target both 65001:992 ! ip vrf Test2 rd 65001:992 route-target both 65001:991 route-target both 65001:992 ! interface loopback1 ip vrf forwarding Test1 ip address 192.168.1.1/32 ! interface loopback2 ip vrf forwarding Test2 ip address 192.168.2.1/32 ! router bgp 65001 ! address-family ipv4 vrf Test1 redistribute connected no synchronization exit-address-family ! address-family ipv4 vrf Test2 redistribute connected no synchronization exit-address-family ! 

sh ip bgp vpnv4 all

Route Distinguisher: 65001:991 (Default for VRF Test1) *> 192.168.1.1/32 0.0.0.0 32768 ? *> 192.168.2.1/32 0.0.0.0 0 32768 ? Route Distinguisher: 65001:992 (Default for VRF Test2) *> 192.168.1.1/32 0.0.0.0 0 32768 ? *> 192.168.2.1/32 0.0.0.0 32768 ? 

sh ip route vrf Test1

Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area Dc - DHCP Client [*] - [AD/Metric] * - candidate default C 192.168.1.1/32 is directly connected, loopback1 

Switch: FS S5800-8TF12S



No comments:

Post a Comment