Routing Flashcards
Lowest OSI layer that deals with end to end transmissions
Network Layer
What determines the path the network takes
Routing Algorithms
What do Routing Algorithms do
Decide what path the network takes AND decides which output line an incoming packet should be transmitted on
Store and Forward
Packets sent to nearest router and that router verifies it and sends it onto the next router until it arrives at destination
Implementation of connectionless service
Packets injected into datagram network individually and routed independently. Packets called datagrams.
Implementation of connection oriented service
AKA Label-Switching. Path from source to destination setup for packets to be sent.
What does a connection oriented service avoid (In comparison to connectionless)
Avoids having to choose a new route for each packet
Differences between VC and Datagram
VC needs setup phase, Datagram wastes space with address. VCs guarantee QoS but are vulnerable to crashes.
Routing vs Forwarding
Which routers to use vs What happens when packet arrives.
Handles incoming packets
Routing
Handles routing tables
Forwarding
Routing Algorithm Features
Correctness, Simplicity, Robustness, Stability, Fairness, Efficiency.
Routing Algorithms should handle changes of
topography and traffic
Two classes of routing
Nonadaptive and Adaptive
Non-Adaptive
Do not base their decisions over estimates of network topology. Don’t respond to failures. Route computed in advance
Adaptive
Vary routing decisions according to changes in topology and traffic. Dynamic routing algorithms differ in where they obtain info from.
Optimality Principle
If Router A is on the optimal path from router B to router C then the optimal path from A to C falls on the same route
Sink trees
Used by algorithms, not necessarily unique.
Shortest Path Algorithm
Build a graph of the network with each node being a router and each edge being a communication line. Measure length by hops.
Dijkstra Algorithm
Finds shortest path between source and all destinations. Labeled by distance. Uses temporary and permanent paths
Permanent Path
A path is made permanent when they are 100% known to be the shortest route.
Flooding
Every incoming packet is sent out on every outgoing line besides the one it arrived on.