Chapter 5: Network Layer, Control Plane Flashcards

1
Q

Network layer, have data plane and control plane, what are the different function these 2 plane gives?

A

Forwarding (Data Plane): move packets from router’s input to appropriate router output

Routing (Control Plane) : determine route taken by packets from source to destination

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

2 approaches to structuring network control plane

A
  1. Per router control (traditional)

2. Logically centralized control (software defined networking)

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

How Per router (fig 5.1) would work?

A

individual routing components in each and every router interact in the control plane to compute forwarding tables

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

explains routing protocols and path in network layer

A

determine “good” paths from sending host to receiving host, through network of routers

path: sequence of routers packets traverse from given initial source host to final destination host

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

what does it mean for a path to be “good”?

A

least “cost”, “fastest”, “least” congested

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

graph abstraction (G = (N,E) )

A
G = graph
N = set of routers {x, y,...} 
E = set of links {(x, y), (x, z),...}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Routing algorithm classification (global, static, decentralized, dynamic)

A

global: all routers have complete topology , “link state” (LS) algorithm
decentralized : iterative process of computation, exchange of info with neighbors (DV) algorithm
static: routers change slowly over time
dynamic: routes change more quickly

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

Dijkstra’s link-state routing algorithm

A
  1. Initialization:
    - N’ ={u}
    - for all nodes v -> if v adjacent to u ->
    then D(v) = Cu,v -> else D(v) = inf
  2. Loop
    - find w not in N’ such that D(w) is a min - >
    add w to N’ -> update D(v) for all adjacent to w and
    not in N’ , D(v) = min ( D(v), D(w) + cw,v ). Do until
    all nodes in N’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Distance Vector (DV) routing algorithm

A
Based on Bellman-Ford (BF) equation (dynamic programming):
Let Dx(y): cost of least-cost path from x to y.
Dx(y) = minv{ cx,v + Dv(y) }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Autonomous Systems (AS) is an approach to handle internet is a scale that it is today. briefly explains intra-AS and inter-AS

A

intra-AS : routing among within same AS (network)

inter-AS : routing among AS’es

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

OSPF (open shortest path first) routing is one of routing algorithm used in Intra-AS. what are some characteristics of OSPF

A
  • publicly available
  • classic link state: each router floods OSPF link state advertisements to all outer routesrs in entire AS
  • all OSPF message authenticated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Internet inter-AS routing , BGP (Border Gateway Protocol) is the de-facto inter domain routing protocol. explains and what are the means of BGP

A

allows subnet to advertise its existence , and the destination it can reach, to rest of internet

means:
- eBGP : obtain subnet reachability information from neighboring ASes
- iBGP: propagate reachability information to all AS-internet routers

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

Whats a BGP session

A

two BGP routers (“peers”) exhange BGP messages over semi permanent TCP connection

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

What are BGP messages

A

messages exhanged btwn peers over TCP connection
messages:
- OPEN: Opens connection to remote BPG peer and authenticate sending BGP peers
- UPDATE: advertises new path or withdraws old
- KEEPALIVE: keeps connection alive in absence of updates. also ACKs open request
- NOTIFICATION: reports prev error messages, also to close connection

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