Routing
Highlighted
Routing

Default BGP export policy within L3VPN

‎06-17-2019 03:29 AM

Hello all,

 

I'm configuring a L3VPN (VRF) for a customer of ours.

PPPoE clients enter the L3VPN and are terminated on our router.

The IP addresses of these PPPoE clients need to be redistributed to a BGP peer configured within this L3VPN.

My understanding was that these IP addresses (in this case access-internal routes) are being redistributed to all BGP peers when no export policy is configured.

However, after configuring an 'accept all' policy, I suddenly saw routes being announced to my peer.

 

https://www.juniper.net/documentation/en_US/junos/topics/concept/policy-routing-policies-actions-def..., says 

Readvertise all active BGP routes to all BGP speakers, while following protocol-specific rules that prohibit one IBGP speaker from readvertising routes learned from another IBGP speaker, unless it is functioning as a route reflector.

 

Doesn't this mean that these routes should be re-advertised to my BGP peer?

3 REPLIES 3
Highlighted
Routing
Solution
Accepted by topic author Beeelzebub
‎06-17-2019 05:06 AM

Re: Default BGP export policy within L3VPN

‎06-17-2019 04:09 AM

Hello Beeelzebub,

 

I believe the following statement means that all routes that were received from a BGP peer will be advertised to all other BGP peers unless such advertisement violates BGP rules:

"Readvertise all active BGP routes to all BGP speakers, while following protocol-specific rules that prohibit one IBGP speaker from readvertising routes learned from another IBGP speaker, unless it is functioning as a route reflector."

 

In your case, access-internal routes are not BGP routes, and they're not advertised by BGP by default. This is the reason why these routes were advertised to your peer when you configured an export policy with "accept all".

 

HTH


Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved Smiley Happy
-------------------------------------------------------------------

Highlighted
Routing

Re: Default BGP export policy within L3VPN

‎06-17-2019 05:06 AM

Thanks a lot, that's indeed the case here.

Now I will have to think about an appropriate policy for advertising these routes. An accept all policy would be somewhat broad.

Highlighted
Routing

Re: Default BGP export policy within L3VPN

‎06-17-2019 05:13 AM

There are many possible solutions, but it's very inefficient to advertise /32 routes - much better approach is to create static routes for your address pool(s), and then advertise these static routes to your BGP peers.

 

HTH

 

Best regards,

Sergii

Feedback