3.01. Border Gateway Protocol 101

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

36 Terms

1
New cards

What is BGP?

BGP (Border Gateway Protocol) is a routing protocol used to exchange routing and reachability information between Autonomous Systems (AS).

2
New cards

Why is BGP important in AWS?

It is used in services like AWS Direct Connect and dynamic VPNs to manage routing between on-premises networks and AWS.

3
New cards

What is an Autonomous System (AS)?

A self-managed network or group of routers controlled by a single organization, treated as a "black box" from BGP’s perspective.

4
New cards

What is an ASN?

An Autonomous System Number, a unique identifier for each AS used in BGP routing.

5
New cards

What is the bit size and range of ASNs?

ASNs are 16-bit numbers ranging from 0 to 65,535.

6
New cards

What ASN range is reserved for private use?

64,512 to 65,534.

7
New cards

How does BGP identify different networks?

Using their ASN (Autonomous System Number).

8
New cards

Which transport protocol and port does BGP use?

TCP, port 179.

9
New cards

Is BGP automatic or manual?

Manual – BGP peering relationships must be manually configured.

10
New cards

What is a BGP peering relationship?

A manually created connection between two ASes to exchange routing information.

11
New cards

What is exchanged between BGP peers?

The best known paths to destination networks.

12
New cards

What is ASPATH in BGP?

The list of ASNs that a route advertisement has passed through.

13
New cards

What type of routing protocol is BGP?

A path-vector protocol.

14
New cards

What does BGP prioritize when selecting routes?

Shortest ASPATH – not speed, latency, or bandwidth.

15
New cards

What is the difference between eBGP and iBGP?

eBGP routes between ASes (used in AWS); iBGP routes within the same AS.

16
New cards

What is a common use case for BGP in AWS?

Integrating hybrid architectures using Direct Connect or VPN between AWS and on-premises networks.

17
New cards

What happens when an AS learns new routes via BGP?

It advertises the best (shortest) path to its peers.

18
New cards

What does the "I" symbol represent in the ASPATH?

The origin of the advertised route – it's the AS where the network originated.

19
New cards

How does BGP build a global routing topology?

Through a mesh of ASes exchanging best paths with their peers.

20
New cards

In the example with Brisbane, Adelaide, and Alice Springs, what does each AS represent?

Brisbane: ASN 200, Adelaide: ASN 201, Alice Springs: ASN 202.

21
New cards

What kind of links existed between the cities in the example?

Fiber (1 Gbps) and satellite (5 Mbps).

22
New cards

Which path does BGP prefer by default?

The one with the shortest ASPATH.

23
New cards

What is ASPATH Prepending?

A method to artificially lengthen a path by adding extra ASNs to the ASPATH to make a route less preferred.

24
New cards

Why would you use ASPATH Prepending?

To influence BGP to prefer a higher bandwidth or lower latency path over a shorter, but less optimal one.

25
New cards

Can BGP consider latency, bandwidth, or link condition when choosing routes?

No, BGP uses only ASPATH length.

26
New cards

What happens when a link between two ASes fails in a BGP network?

BGP automatically reroutes traffic via alternate known paths.

27
New cards

Does BGP advertise all known paths to a destination?

No, only the best (shortest) one.

28
New cards

What AWS services rely on BGP for dynamic routing?

AWS Direct Connect and Site-to-Site VPN with dynamic routing.

29
New cards

What does BGP enable in a hybrid AWS environment?

Dynamic route propagation between on-premises networks and VPCs.

30
New cards

What does a route table entry in BGP contain?

Destination network, next-hop IP, and ASPATH.

31
New cards

In the example, why did Brisbane choose the fiber path via Adelaide over the direct satellite?

ASPATH Prepending made the satellite path artificially longer, so the fiber route via Adelaide appeared shorter.

32
New cards

What is the practical takeaway of BGP for AWS Solutions Architects?

Understand its use in hybrid connectivity and how to influence routing decisions using techniques like ASPATH Prepending.

33
New cards

What is BGP?

knowt flashcard image
34
New cards

In the start when BGP peering relationships are set up in the ASNs, what does the initial route tables of each look like?

All routes are registered for other nodes in all route tables in ring network.

<p>All routes are registered for other nodes in all route tables in ring network. </p>
35
New cards

Apart from one-hop paths, more paths are added.

Longer doesn’t necessarily mean slower though. See the blue paths. Remember in this example red is 1 Gbps, orange is 5 Mbps. (Fiber vs. satellite)

BGP doesn’t take into consideration performance.

<p>Longer doesn’t necessarily mean slower though. See the blue paths. Remember in this example red is 1 Gbps, orange is 5 Mbps. (Fiber vs. satellite)</p><p></p><p>BGP doesn’t take into consideration performance. </p>
36
New cards

What is AS path prepending?

Adding additional autonomous system numbers to the path to make it longer than it physically is. Path length based!

<p>Adding additional autonomous system numbers to the path to make it longer than it physically is. Path length based!</p>