chapter 5 - network layer: control plane Flashcards
(11 cards)
What is the goal of a routing protocol?
Find good paths from source to destination (least cost, fastest)
How does traditional per-router control work?
Each router runs its own routing algorithm and interacts locally
How is an internet control message protocol (ICMP) message delivered?
It is carried inside an IP packet
back to the original sender with error message
How does logically centralized control (SDN) work
A central controller computes and installs forwarding rules in routers
What info does an ICMP error message include?
shows the path your data takes from your device to a destination
—-
* Type, code, first 8 bytes of the IP datagram that caused the error
How does traceroute use ICMP?
TTL=1, for each hop TTL=-1. when TTL = 0 drops packet and sends back an ICMP msg to sender, so sender knows which is the first packet. then TTL=2, hopper 2 hopp og sender ICMP message to sender which is router nr 2
(time to live) = TTL
When does traceroute stop?
When the destination replies with “port unreachable” (ICMP type 3, code 3)
What is network management?
Monitoring, configuring, and controlling network devices to ensure performance
Difference between global and decentralized routing?
Global: all routers know the network topology and link costs
Decentralized: routers know only neighbors and iteratively update info
What kind of algorithm is Dijkstra’s? + goal of the algorithm
Global link-state routing algorithm
The least-cost path from a source node to all other nodes
Key difference between link-state and distance-vector routing?
Link-state: full topology knowledge, fast convergence
Distance-vector: local knowledge, simpler, but slower convergence