Route leaking between global routing table and VRF
I have the following topology:
What I'm trying to do is to configure a MPLS to connect HQ and Branch1. That works perfectly. What doesn't work is that I also want to connect Branch 2 with HQ but trough a site-to-site VPN, and since network of HQ is in a VRF I can't reach it from Branch2.
I tried leaking the Branch2 network using static routes, route-maps with prefix-list, redistributing them inside the EIGRP process that is running between the SP1 and Branch1 routers, importing them in the VRF process and nothing seems to work.
This is the configuration I have on SP1
ip vrf customer rd 100:1 import ipv4 unicast map redis
interface FastEthernet1/0 INTERFACE GOING TO HQ CLIENT ip vrf forwarding customer ip address 18.104.22.168 255.255.255.248 duplex half ! interface FastEthernet2/0 INTERFACE GOING TO BRANCH2 CLIENT ip address 22.214.171.124 255.255.255.248 duplex half
ip route 126.96.36.199 255.255.255.248 FastEthernet1/0 ip route vrf customer 188.8.131.52 255.255.255.248 184.108.40.206
ip prefix-list red seq 5 permit 220.127.116.11/29 !
route-map redis permit 10
match ip address prefix-list red
Thanks ahead for your help, I really appreciate it.
I just figured out the solution haha, right after posting this discussion. Turns out that this IOS wanted me to put both the outgoing interface AND the next hop address to work. Just modified that static route from
ip route vrf customer 18.104.22.168 255.255.255.248 22.214.171.124
ip route vrf customer 126.96.36.199 255.255.255.248 FastEthernet2/0 188.8.131.52
and everything started to work perfectly.
Thanks for at least looking into this discussion hehe.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...