Recitation 5 - PowerPoint PPT Presentation

About This Presentation
Title:

Recitation 5

Description:

Recitation 5 COS 461 – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 34
Provided by: Scot2157
Category:

less

Transcript and Presenter's Notes

Title: Recitation 5


1
Recitation 5
  • COS 461

2
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
3
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
4
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
Dont export routes learned from a peer or
provider to another peer or provider
5
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
6
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
7
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
AS X would have to pay AS U whereas it could go
through AS Y for free
8
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
9
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
10
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
Going through AS Y is a free route. AS W would
not want to carry the traffic.
11
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
12
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
13
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
AS Z would not advertise a route to its provider,
AS W, to its peer, AS Y, and vice versa
14
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
15
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
16
Border Gateway Protocol (BGP)
Assuming standard BGP routing policies
(Gao-Rexford model), will packets take the drawn
path?
True or False
Why?
AS X would not advertise a peer link to its
provider, AS U (it would pay for being a middle
man)
17
Routing Loops
b
d
2
1
a
1
c
e
1
2
  • If the link (c e) fails, and the nodes run a
    link-state routing protocol, can a temporary
    forwarding loop occur? If so, which node pairs
    may see their traffic loop?

18
Routing Loops
b
d
2
1
a
1
c
e
1
2
  • Nodes a, c, d, and e could potentially see their
    outgoing packets loop.
  • a ? e c lt-gt e d ? c

19
Routing Loops
b
d
2
1
a
1
c
e
1
2
  • Suppose network operator Olivia decides to bring
    down the link c e for maintenance. Olivia
    figures she can issue a series of link weight
    changes in the network to shift traffic away from
    c e such that no temporary forwarding loops
    occur.
  • Shes right what series of changes to c es
    weight would achieve this?

20
Routing Loops
b
d
2
1
a
1
c
e
1
2
  • Change c e weight to 4.
  • a to e moves to a b.
  • c to e remains on c e. c to d?
  • d to c moves to d b.
  • e to c remains on c e.

21
Routing Loops
b
d
2
1
a
1
c
e
1
2
  • Change c e weight to 6.
  • c to e moves to c a.
  • e to c moves to e d.
  • No traffic left on c e. Olivia can bring down
    the link.

22
BGP Routing
Peer ----- Peer Provider -gt Customer
1. Which of the following paths to d are valid?
  1. b-gta-gtd
  2. h-gte-gtd
  3. f-gte-gtd
  4. c-gtb-gte-gtd

23
BGP Routing
Peer ----- Peer Provider -gt Customer
1. Which of the following paths to d are valid?
  1. b-gta-gtd
  2. h-gte-gtd
  3. f-gte-gtd
  4. c-gtb-gte-gtd

24
BGP Routing
Peer ----- Peer Provider -gt Customer
2. Which path does e take to reach i ?
  1. e-gth-gti
  2. e-gtf-gti
  3. e-gtb-gtc-gtf-gti
  4. e-gtd-gtg-gth-gti

25
BGP Routing
Peer ----- Peer Provider -gt Customer
2. Which path does e take to reach i ?
  1. e-gth-gti
  2. e-gtf-gti
  3. e-gtb-gtc-gtf-gti
  4. e-gtd-gtg-gth-gti

26
BGP Routing
Peer ----- Peer Provider -gt Customer
3. If the link e-f is removed then which path
does e take to reach i ?
  1. e-gth-gti
  2. e-gtf-gti
  3. e-gtb-gtc-gtf-gti
  4. e-gtd-gtg-gth-gti

27
BGP Routing
Peer ----- Peer Provider -gt Customer
3. If the link e-f is removed then which path
does e take to reach i ?
  1. e-gth-gti
  2. e-gtf-gti
  3. e-gtb-gtc-gtf-gti
  4. e-gtd-gtg-gth-gti

28
BGP Routing
Peer ----- Peer Provider -gt Customer
4. Suppose AS b provides a dump of all BGP routes
they learn for every destination and we use them
to reconstruct the AS-level topology, which of
the following business relations will be missing ?
  1. e-gth
  2. e-gtf
  3. f-gti
  4. d-gtg
  5. c-gtf

29
BGP Routing
Peer ----- Peer Provider -gt Customer
4. Suppose AS b provides a dump of all BGP routes
they learn for every destination and we use them
to reconstruct the AS-level topology, which of
the following business relations will be missing ?
  1. e-gth
  2. e-gtf
  3. f-gti
  4. d-gtg
  5. c-gtf

30
BGP Routing
Peer ----- Peer Provider -gt Customer
5. What is the minimum set of ASes that must
provide dumps of every AS path they learn for
every edge in the graph to be visible in at least
one dump?
  1. a and h
  2. a and c
  3. a, b and h
  4. a, b and c
  5. h

31
BGP Routing
Peer ----- Peer Provider -gt Customer
5. What is the minimum set of ASes that must
provide dumps of every AS path they learn for
every edge in the graph to be visible in at least
one dump?
  1. a and h
  2. a and c
  3. a, b and h
  4. a, b and c
  5. h

32
BGP Routing
6. BGP supports flexible routing policies.
Internet Service Providers (ISPs) often have a
prefer customer policy where they prefer to
route through a customer, even if a shorter route
exists through a peer or provider. Why? How is
this policy realized in BGP?
33
BGP Routing
6. BGP supports flexible routing policies.
Internet Service Providers (ISPs) often have a
prefer customer policy where they prefer to
route through a customer, even if a shorter route
exists through a peer or provider. Why? How is
this policy realized in BGP?
Directing traffic through a customer generates
revenue, whereas sending through a peer or
provider is (at best) revenue neutral and may, in
fact, cost money.   The policy is realized in BGP
by having an import policy that assigns a higher
local-preference value to routes learned from
customer ASes.
Write a Comment
User Comments (0)
About PowerShow.com