6 - BGP Flashcards

1
Q

Why use EGP to link ASes?

A

Scaling to large networks (hierarchy, limit scope of failure)

Define admin boundaries (hide info, make own routing choices)

Policy (Control network reachability)

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

Reasons not to use IGP to link ASes

A

If the other ISP has routing problems:
- Instability will ripple (backbones)
- Leaked prefixes leak into your backbone
- Won’t scale

Hard to filter routes.

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

BGP

A

Border Gateway Protocol

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

BGP focuses on…

A

Routing policy, not topology

Binds network groups

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

BGP pros

A

Good route filtering capabilities
Ability to isolate from other’s problems

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

BGP can be used to keep traffic local. Why is this useful?

Think about cost

A

Traffic doesn’t have to go over your expensive line but is instead peered locally

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

BGP Policy

A

Control how you accept and send routing updates to neighbours

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

Peering

A

COnnecting to other local ISPs directly.

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

Transit

A

Connecting through ISPs to other ISPs.

At a cost

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

Why Peer?

A

Reduce upstream transit costs
Local Traffic stays local
Increase International bandwidth
Can increase performance
May be the only way to connect customers to some part of the internet (tier 1)

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

Why not Peer?

A
  • Peers are usually competition
  • Requires periodic renegotiation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What provides internal connectivity in an AS?

A

IGP

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

BGP OPEN

A

Opens TCP conn. to peer and authenticates

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

BGP UPDATE

A

“Announcement”: prefix is reachable
“Withdraw”: prefix is not reachable

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

BGP KEEPALIVE

A

keeps connection alive in absence of UPDATES
serves as ACK to OPEN request

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

BGP NOTIFICATION

A

reports errors in previous msg
closes connection

17
Q

BGP basics

2 items. Updates and Protocol

A

Incremental Updates
- Send one copy of RIB then changes

Path Vector protocol
- Keeps track of the AS path of routing information

18
Q

neighbor

A

BGP peer

19
Q

NLRI

A

NLRI - Network Layer Reachability Info

20
Q

Router ID

A

32bit int to uniquely id router
Comes from loopback or highest IP on router

21
Q

What is “Default”?

A

Where to send traffic when there is no explicit route in the table

22
Q

What happens in a BGP Announcement with NLRIs?

A

Each AS originates a set of NLRI.
These are exchanged

23
Q

What if there are multiple paths to a given prefix?

A

BGP chooses the best and installs in the IP forwarding table

24
Q

What are withdrawn routes composed of?

A

Network Prefix
Mask Length

25
Q

iBGP mesh level

A

Full mesh, every router talks to every router

26
Q

Route Reflectors

What do they do? What elements are required to prevent loops?

A

Pass on the best iBGP route updates
ORIGINATOR_ID and CLUSTER_LIST required to prevent loops.