Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bronze

BGP routing updates via VRF's fails on PE

HQ connects to 2 different remote sites via MPLS.

:

HQ connects to PE1 via MPLS vrf SITE1

HQ also connects to PE1 via MPLS vrf SITE2

:

WAN1 connects to PE2 via F0/0 vrf SITE1

WAN2 connects to PE2 via F0/1 vrf SITE2

:

HQ sees all prefixes from both remote sites!!

HQ and WAN1 can successfully ping/trace each other.

HQ and WAN2 can successfully ping/trace each other.

:

WAN1 only sees HQ prefixes

WAN2 only sees HQ prefixes

:

PE1 vrf SITE1 routing table sees HQ and WAN1 prefixes only

PE1 vrf SITE2 routing table sees HQ and WAN2 prefixes only

:

I can see from HQ that HQ is sending the same prefixes to both eBGP PE1 peers.

(I.E. sh bgp ipv4 uni nei x.x.x.x adv)

:

:

TOPOLOGY:

           /---MPLS--PE2------WAN1

HQ----PE1--

           \---MPLS--PE2------WAN2

:

:

HQ   AS 10

WAN1 AS 20

WAN2 AS 30

MPLS AS 65535

:

:

On PE1 and PE2

Under vrf SITE1, I added route-target import from vrf SITE2 and

Under vrf SITE2, I added route-target import from vrf SITE1 and this did not work at all.

HQ must remain in 2 different vrf's while the remotes are in different vrf's as well.

:

PROBLEM:

I need to be able to communicate between WAN1 to WAN2 via HQ.

:

Anyone know what might fix my problem????, Or can explain what is happening that causes this failure?

:

THANKS and BEST REGARDS

Frank

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Member

BGP routing updates via VRF's fails on PE

Hi, are you exporting correctly? can you show the configs?

thanks

Re: BGP routing updates via VRF's fails on PE

Hi Frank

Looking at your mentioned design above it seems all fine and should work..Just one question did you import the cross-vrf RTs after the normal setup was up and working ' coz in that case I think we would need to soft clear the BGP Process on PE1 to cross import the vrf routes from PE2..But on PE2 it should have worked fine..

May be as asked by Olivier you can share the configs once to look at it.

Coming to your second question of

PROBLEM:

I need to be able to communicate between WAN1 to WAN2 via HQ.

This is a case of MPLS Hub and Spoke VPN Services using eBGP as PE-CE..

Here we need to use 3 VRF with separe export RT for the Hub (HQ-VRF) and Spoke 1(Site 1-VRF) /Spoke 2(Site 2-VRF)

Hub will import the RT of Spoke 1 and Spoke 2 . SPoke 1/ Spoke 2 will import only HQ RT..

On PE1 create a default null route under VRF Hub and under BGP addess-family ipv4 vrf HQ-VRF send a default route using below network statement

network 0.0.0.0

This will help to achieve the desired traffic flow of WAN1 communicating to WAN2 via HQ..

Hope this provides some insight to your query.

Regards

Varma

3 REPLIES
Community Member

BGP routing updates via VRF's fails on PE

Hi, are you exporting correctly? can you show the configs?

thanks

Re: BGP routing updates via VRF's fails on PE

Hi Frank

Looking at your mentioned design above it seems all fine and should work..Just one question did you import the cross-vrf RTs after the normal setup was up and working ' coz in that case I think we would need to soft clear the BGP Process on PE1 to cross import the vrf routes from PE2..But on PE2 it should have worked fine..

May be as asked by Olivier you can share the configs once to look at it.

Coming to your second question of

PROBLEM:

I need to be able to communicate between WAN1 to WAN2 via HQ.

This is a case of MPLS Hub and Spoke VPN Services using eBGP as PE-CE..

Here we need to use 3 VRF with separe export RT for the Hub (HQ-VRF) and Spoke 1(Site 1-VRF) /Spoke 2(Site 2-VRF)

Hub will import the RT of Spoke 1 and Spoke 2 . SPoke 1/ Spoke 2 will import only HQ RT..

On PE1 create a default null route under VRF Hub and under BGP addess-family ipv4 vrf HQ-VRF send a default route using below network statement

network 0.0.0.0

This will help to achieve the desired traffic flow of WAN1 communicating to WAN2 via HQ..

Hope this provides some insight to your query.

Regards

Varma

Bronze

Re: BGP routing updates via VRF's fails on PE

Hi Guys, Sorry for the delay, It took me a while to absorb the meaning of RTs and exactly how and where they should be used with reference to Hub & Spoke environment. Thanks for your support, we are up and running now! Hub and spoke on IPv4 and IPv6. Importing and exporting was the key here.  Thanks and best regards Frank

641
Views
0
Helpful
3
Replies
CreatePlease to create content