Routing
Routing

Is it possible to setup inter vrf bgp?

‎03-14-2020 09:48 AM

Is it possible to do inter vrf bgp in Juniper?
Vrf1 peer with ISP AS50

Vrf1 configured with AS100


vrf2 peer with vrf1

Vrf2 configured with AS200

When vrf2 announce network x.x.x.0/24

 

network path looks like  AS50 > AS100 > AS200

4 REPLIES 4
Highlighted
Routing

Re: Is it possible to setup inter vrf bgp?

‎03-14-2020 08:58 PM

Hi,

 

seting up bgp with inter vrf shouldnt be a problem. If you are facing any specific configuration commit error then please share the details like sample code and error you are getting while doing commit. It will be helpful to explain further.

 

yo ucan use below explanation to import export routes between 2 different routing instances.

 

BR

Rajeev

Highlighted
Routing

Re: Is it possible to setup inter vrf bgp?

‎03-14-2020 09:33 PM

Hi, 

 

This should be possible with a logical-tunnel [lt-x/x/x] interface between vrfs.

https://www.juniper.net/documentation/en_US/junos/topics/usage-guidelines/services-configuring-logic...

 

Cheers,
Ashvin

Highlighted
Routing

Re: Is it possible to setup inter vrf bgp?

‎03-15-2020 01:21 AM

Hello,

 


@fiber9 wrote:

Is it possible to do inter vrf bgp in Juniper?


 

Yes, it is possible to set up BGP sessions like that.

If Your question is whether it's possible to hairpin traffic through AS50 > AS100 > AS200 - yes after You either relax AS_PATH loops check

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/loops-edi...

or use "independent-domain"

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/independe...

By default, JUNOS checks incoming BGP routes for own ASNs incuding ASNs configured under routing-instances, logical-systems or as "local-as".

HTH

Thx
Alex

 

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Highlighted
Routing

Re: Is it possible to setup inter vrf bgp?

‎03-15-2020 06:41 AM

Hello,

 

BGP doesn't care whether its confuigrued in main instance, any routing-instance, or any logical system as long as you have IP reachability between the neighbors and TPC port 179 is open it will make the BGP connection.

 

If you are facing nay specific problem please let me know.

 

PS: If my response answer your query please accept this as solution, kuods are appreciated too!

 

Thanks

Vishal

Feedback