Lecture 3: BGP Breakdown Flashcards

1
Q

How is a TCP connection established between 2 routers?

A
  • Routers send an open message (a hello)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What information do routers exchange in an open message?

A
  • ASN
  • BGP version and Router ID
  • The connection keepalive time interval
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 4 types of BGP messaging?

A

Open, Keepalive, Update, and Notification

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

What is a Keepalive message?

A
  • Contains no data
  • Determines if a BGP router is still “alive”
  • Timing of these messages based on time interval in the open message
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

it is common to use a window of
___ the stated keepalive interval before declaring a router “dead”

A

3-4x

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

What is the Update message?

A

It is used to share path
information

Each update message informs a neighbour about:
- A path to some block of IP addresses
- The attributes of that path
- Any no-longer-valid routes to that particular block

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

What are the 3 parts of update messages?

A
  • The Network Layer Reachability Information (NLRI)
  • The path attributes
  • Any withdrawn routes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Network Layer Reachability Information (NLRI)

A

Defines where a particular path connects to, in terms of network (IP) address

Typically takes the form of an IP address in CIDR notation

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

What are Path Attributes?

A

Important data values related to a particular path

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

What are the 3 classes that path attributes can be broadly split into?

A
  • Mandatory
  • Well-Known
  • Transitive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Notifiation message?

A

A notification is sent when the router has detected an error

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

What happens when a router receives a notification message?

A

Receiing router immediately terminates the BGP connection between routers to prevent further errors

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

What 2 classes do path attributes fall into?

A
  • Well known
  • Mandatory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are well-known attributes?

A

Attributes must be recognized
by all routers

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

What are mandatory attributes?

A

Attributes must accompany any BGP update – they cannot be omitted

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

What is the Origin Attribute?

A
  • Well known & mandatory
  • Describes how a particular path
    was learnt
  • 2 valid values: IGP, Incomplete
16
Q

What is the Next Hop Attribute?

A
  • Well known & mandatory
  • Describes the next external IP address to connect to in the path
17
Q

What happens to the next hop attribute when a route is advertised from one gateway router to another (in a different AS)?

A

The sender updates the Next Hop attribute to point to themselves

18
Q

When the path is shared internally the next hop is ___

A

Not updated

19
Q

What is a looking glass server?

A
  • Operated by a network provider
  • Allows you to see current routing tables