Week 10: BGP Flashcards

1
Q

What are the two types of Routing?

A
  • Interior Gateway Protocol (IGP)

- Exterior Gateway Protocol (EGP)

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

Where are IGP’s used?

A

Within autonomous systems

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

What are examples of IGP’s?

A
  • RIP
  • OSPF
  • IS-IS
  • EIGRP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where are EGP’s used?

A

Between Autonomous Systems

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

What are some examples of EGP’s?

A
  • BGP
  • EGP
  • ISO’s IDRP
  • Novell’s NLSP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why do we need BGP?

A
  • Single public IP + NAT/PAT
  • Redundancy
  • Multihoming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is BGP?

A

A popular Exterior Gateway Path Vector Protocol

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

What is unique about BGP?

A

BGP forms neighbour relationships before sending routing information

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

What does BGP do when it forms neighbour relationships for transmitting routing information?

A
  • Neighbour IP address is explicitly configured & maye not be on the same subnet
  • Uses TCP connection b/w neighbours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What port does BGP use for the TCP connection between neighbours?

A

Port 179

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

What list does BGP use to route a packet?

A

The list of Autonomous Systems

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

What is the list of Autonomous Systems that are associated with a BGP route called?

A

AS_PATH

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

True or False: BGP doesn’t rely on neighbours to pass along routes from their routing tables

A

False, BGP relies on neighbours to pass along routes from their routing tables

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

what is the AS_PATH attribute?

A

A list of traversed Autonomous Systems?

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

How does BGP determine the shortest inter-AS path?

A

From a list of numbers known as the AS_PATH attribute

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

What is the metric used by BGP?

A

Hop Count

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

True or False: BGP uses a different metric than Hop Count for loop avoidance?

A

False, BGP uses Hop Count as a metric & a Loop Avoidance Device

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

What is an Autonomous System (A.S.)?

A

A collection of networks under a single Administrative Domain

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

How many bits long are Autonomous System Numbers?

A

16 bit

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

What is the bit range for Globally Unique A.S. Numbers?

A

1 - 64,511

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

What is the bit range for Private A.S. Numbers?

A

64, 512 - 65,535

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

What is a Stub A.S.?

A

An A.S. where all packets coming from it are originated in it

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

What is a Transit A.S.?

A

An A.S. that forwards incoming packets to their destination en-route

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

What is a Multihomed A.S.?

A

An A.S. with more than one external connection

25
True or False: A Transit A.S. doesn't have to by multihomed for packet transit
False, A Transit A.S. must by multihomed by definition for a packet to transit the A.S.
26
What are the two types of Peering Relationships?
User/Customer Peering | Private Peering
27
What is Use/Customer Peering?
Using Transit A.S. to get to other networks
28
What is Private Peering?
Service providers agree to share routes
29
Where do Public Peering connections take place?
At well-known Internet Exchange Points (IXP)
30
What is an Internet Exchange Point?
A physical location through which Internet infrastructure companies (ISP's) & CDN's connect with each other
31
What are the two types of BGP?
Internal & External
32
What is External BGP (EBGP)?
A BGP session established between two neighbours in different Autonomous Systems
33
What is Internal BGP (IBGP)?
A BGP session that is established between two neighbours in the same AS
34
What is the sequence of operations for BGP?
- Establish session on TCP Port 179 - Exchange all active routes - Exchange incremental updates
35
What are the 4 types of BGP packets that are exchanged during operation?
- Open - Notification - Update - Keepalive
36
What is the function of Open BGP Message Type?
Establish a peering session - Announces A.S. of of the originating router - Determine hold timer interval
37
What is the function of a Keep_Alive BGP Message Type?
Handshake at regular intervals
38
What is function of a Notification BGP Message Type?
Shuts down a peering session
39
What is the function of an Update BGP Message Type?
Announcing new routes or withdrawing previously announced routes
40
What is the Open BGP Message Type used for?
- Announcing A.S. of the originating router | - Determines holddown timer interval between keep_alive or update messages (0 implies no keep_alive)
41
What is the keep_alive BGP message type used for?
- Sent periodically (but before hold timer expires) to peers to ensure connectivity - Send in place of an UPDATE message
42
What is the Notification Message Type used for?
- Error Notification | - TCP Conncetion is closed immediately after notification
43
What is the Update BGP Message Type used for?
- NLRI (Network Layer Reachability Information) - Path Attributes - Withdrawn Routes
44
What is Policy Based Routing (PBR)?
Access control is placed on some routes
45
What is Policy Based Routing used for?
- Avoid transit situations | - Enforce national laws/security concerns/content issues
46
True or False: BGP doesn't provide the capability for enforcing various policies
False, BGP provides capability for enforcing various policies
47
True or False: Policies are part of BGP
False, Policies are not part of the BGP Protocol, they are provided to BGP as config information
48
How does BGP enforce policies?
By choosing paths from multiple alternatives & controlling advertisement to other A.S.'s
49
List some examples of BGP Policies
- A multi-homed A.S. refuses to act as transit - A multi-homed A.S. can become transit for some A.S.'s - An A.S. can favour of disfavour certain A.S.'s for traffic transit from itself - A.S can enforce national laws or security concerns or content issues
50
What are the BGP Path Attributes?
- Origin - AS_PATH - NEXT_HOP
51
What is a BGP Path Attribute?
A characteristic of an advertised BGP route
52
what are the Types of BGP Path Attributes?
- Well-known Mandatory - Well-Known Discretionary - Optional Transitive - Optional Nontransitive
53
What are some Well-Known Mandatory BGP Path Attributes?
- ORIGIN - AS_PATH - NEXT_HOP
54
What are some Well-Known Discretionary BGP Path Attributes?
- LOCAL_PREF | - ATOMIC_AGGREGATE
55
What is an Optional Transitive BGP Path Attributes?
AGGREGATOR
56
What is an Optional Nontransitive BGP Path Attribute?
- MULTI_EXIT_DISC | - ORIGINATOR_ID
57
True or False: LOCAL_PREF is used externally to an A.S. to tell routers which path to take
False, LOCAL_PREF is used locally within an A.S. to tell routers which exit path to take out from an A.S.
58
True or False: LOCAL_PREF selects the lowest local preference
False, LOCAL_PREF selects the highest local preference
59
True or False: local preference is advertised between eBGP and iBGP peers
False, local preference is only advertised between iBGP peers LOCAL_PREF attribute is never advertised outside of an A.S.