05-03-2023 03:31 PM
Hi,
Consider a typical MPLS L3 VPN network (CE1 <-> PE1 <-> P <-> PE2 <-> CE2).
To my understanding, internal BGP VPNv4 neighborship is configured between PE1 and PE2, but what's the difference if we configure an external BGP VPNv4 neighborship between the two PE routers? Are there any advantages or disadvantages for doing so?
Thanks,
Riad.
Solved! Go to Solution.
05-04-2023 04:48 AM
Hello @riad1990new,
In general, using iBGP VPNv4 neighborships is a common and scalable design choice for MPLS L3 VPN networks. Route reflectors can be used to simplify the iBGP configuration and reduce the number of BGP sessions required between PE routers. This can improve scalability and reduce complexity.
On the other hand, using eBGP VPNv4 neighborships between PE routers can provide more control over routing and route advertisements, but may also introduce additional complexity and configuration overhead. This approach may be more suitable for networks with specific requirements or constraints, such as the need for advanced policy routing or the use of multiple service providers.
05-03-2023 03:36 PM - edited 05-03-2023 03:37 PM
you run one SP then you have one BGP AS number so you need iBGP VPNv4
you run one SP but it have two BGP AS number so you need eBGP VPNv4
there is tow diff SP then inter-AS need eBGP VPNv4
05-03-2023 03:39 PM - edited 05-03-2023 03:41 PM
Hi
I think it should be considered based on the difference between protocols and the topology. I believe the Type of autonomous system may be the most important parameter for decision.
The table below summarizes the differences between iBGP and eBGP.
Description | iBGP | eGBP |
---|---|---|
Full name | Internal Border Gateway Protocol | External Border Gateway Protocol |
Type of autonomous system (AS) | Runs between two BGP routers in the same AS | Runs between two BGP routers in different ASs |
Default administrative distance | 200 | 20 |
Route advertisement | Routes received from a peer cannot be advertised to another peer but can be advertised to an eBGP peer | Routes received from a peer can be broadcast to both eBGP and iBGP peers |
Full mesh topology | Required | Not required |
Usage | Within the same organization | Distinct networks (i.e., different organizations or internet service providers) |
Loop prevention | Uses BGP split horizon | Uses path for loop prevention |
Default peer setup | TTL = 255 | TTL = 1 |
Local preference attributes | Sent | Not sent |
Behavior on route advertisement to a peer | The next hop remains unchanged | The next hop is changed to the local router |
05-03-2023 03:47 PM
Thanks Flavio, I wonder if (all) internal and external BGP neighborship differences apply to BGP VPNv4 neighborships as well? But even from pure design perspective, , is going with an iBGP design better? maybe can be scalable as you can utilize route reflectors with your iBGP VPNv4 neighborships? maybe going with an eBGP VPNv4 neighborship design would give you more control over routes advertisements?
05-03-2023 04:07 PM - edited 05-03-2023 04:08 PM
I believe it does as the protocol behavior can not be changed according to platform or IOS version, etc.
I would not say iBGP is better or worst but I believe it fits better in some situation and eBGP not and vice versa.
"maybe going with an eBGP VPNv4 neighborship design would give you more control over routes advertisements?"
But also would create you some problem with "Behavior on route advertisement to a peer".
05-04-2023 04:48 AM
Hello @riad1990new,
In general, using iBGP VPNv4 neighborships is a common and scalable design choice for MPLS L3 VPN networks. Route reflectors can be used to simplify the iBGP configuration and reduce the number of BGP sessions required between PE routers. This can improve scalability and reduce complexity.
On the other hand, using eBGP VPNv4 neighborships between PE routers can provide more control over routing and route advertisements, but may also introduce additional complexity and configuration overhead. This approach may be more suitable for networks with specific requirements or constraints, such as the need for advanced policy routing or the use of multiple service providers.
05-03-2023 04:12 PM
iBGP VPNv4 different than iBGP IPv4 in one point,
this point is Next-hop is by default change to self in iBGP VPNv4
this way the VPN LO is used by PE for forward traffic to CE.
that only different other is same.
again the design force you iBGP or eBGP, we talk here about public AS number not prviate AS number that you can config any one.
05-04-2023 06:41 AM - edited 05-04-2023 07:49 AM
I think you new learn SP,
SP have one AS how you can config eBGP ? You can not, you must use iBGP (if there is I want to see how you can config it)
the case you can use eBGP VPNv4 what I list above
SP have two AS or two SP each have it unique AS number.
again you force to use iBGP or eBGP it is not your option
FYI:- if I have 100 PE in SP core and I run eBGP then I need 100 AS public Number!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide