Chapter 5: Network Layer, Control Plane Flashcards
Network layer, have data plane and control plane, what are the different function these 2 plane gives?
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
2 approaches to structuring network control plane
- Per router control (traditional)
2. Logically centralized control (software defined networking)
How Per router (fig 5.1) would work?
individual routing components in each and every router interact in the control plane to compute forwarding tables
explains routing protocols and path in network layer
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
what does it mean for a path to be “good”?
least “cost”, “fastest”, “least” congested
graph abstraction (G = (N,E) )
G = graph N = set of routers {x, y,...} E = set of links {(x, y), (x, z),...}
Routing algorithm classification (global, static, decentralized, dynamic)
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
Dijkstra’s link-state routing algorithm
- Initialization:
- N’ ={u}
- for all nodes v -> if v adjacent to u ->
then D(v) = Cu,v -> else D(v) = inf - 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’
Distance Vector (DV) routing algorithm
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) }
Autonomous Systems (AS) is an approach to handle internet is a scale that it is today. briefly explains intra-AS and inter-AS
intra-AS : routing among within same AS (network)
inter-AS : routing among AS’es
OSPF (open shortest path first) routing is one of routing algorithm used in Intra-AS. what are some characteristics of OSPF
- publicly available
- classic link state: each router floods OSPF link state advertisements to all outer routesrs in entire AS
- all OSPF message authenticated
Internet inter-AS routing , BGP (Border Gateway Protocol) is the de-facto inter domain routing protocol. explains and what are the means of BGP
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
Whats a BGP session
two BGP routers (“peers”) exhange BGP messages over semi permanent TCP connection
What are BGP messages
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