BGP Multihoming and Multipath Flashcards

1
Q

BGP Multihoming and Multipath

A

The simplest method of providing redundancy is to provide a second circuit.
Adding a second circuit and establishing a second BGP session across that peering link
is known as BGP multihoming because there are multiple sessions to learn
routes and establish connectivity.
BGP’s default behavior is to advertise only the best path to the routing information base
(RIB), which means that only one path for a network prefix is used when forwarding network
traffic to a destination.

BGP multipath allows for multiple paths to be installed into the RIB, so that both paths
can forward traffic to a network prefix at the same time. BGP multipath is an enhanced
form of BGP multihoming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

BGP Multipath Types

A

There are three types of BGP multipath:

External BGP (EBGP)
Internal BGP (IBGP)
EIBGP multipath

EBGP multipath and IBGP multipath cannot be configured on the router at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

BGP Attributes that must match

A

In all three types of BGP multipath, the following BGP path attributes (PA) must match
for multipath to be eligible:

  • Weight
  • Local Preference
  • AS-Path length and content
  • Origin
  • Multi-Exit Discriminator (MED)
  • Advertisement method must match (iBGP or eBGP): If the prefix is learned via an iBGP advertisement, the Interior Gateway Protocol (IGP) routing protocol cost must match to be considered equal.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Scenario 1

A

Scenario 1: R1 connects to two different Internet SPs with two different circuits. R1
cannot use eBGP multipath because the AS-Paths are different for any prefix on the
Internet. R1 is multihomed only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Scenario 2

A

Scenario 2: R1 connects to the same Internet SP with two different circuits. R1 can
use eBGP multipath for any Internet prefixes because the routes are learned via the
same service provider (regardless whether R1 connects to the same router or different
routers in service provider ABC). This assumes that all other BGP PAs are identical
between R1’s perspective.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Scenario 3

A

Scenario 3: R3 connects via iBGP to R1 and R2. R1 connects to SP ABC, whereas R2
connects to SP XYZ. R3 cannot use iBGP multipath because the AS-Paths are differ-
ent for any Internet prefixes. R3 is multihomed only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Scenario 4

A

Scenario 4: R3 connects via iBGP to R1 and R2. R1 and R2 connect to the same
Internet SP. R3 uses iBGP multipath for any Internet prefixes because the AS-Path is
the same (along with the other required BGP PAs.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

eBGP and iBGP Multipath Configuration

A

eBGP multipath is enabled on IOS and NX-OS devices with the BGP configuration
command maximum-paths number-paths. The number of paths indicates the allowed
number of eBGP paths to install in the RIB.

The command maximum-paths ibgp number-paths sets the number of iBGP routes
to install in the RIB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Multipath Eligibility

A

Multipath eligibility begins only after the BGP best path algorithm
executes. Alternate paths must match the exact BGP best path attributes listed earlier for
BGP multipath consideration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

AS-PATH Relax

A

BGP multipath works well if an organization uses the same service provider for Internet
connectivity. However, if an organization uses different service providers, the AS-Path is
not identical and does not meet the requirements for BGP multipath. The AS-Path relax
feature allows for BGP multipath to work when the AS-Path length is the same, but the
AS-Path content is different.

The AS-Path relax feature is configured with the BGP configuration command bgp
bestpath as-path multipath-relax
on IOS, IOS XR, and NX-OS devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly