L3 - Internet Routing Flashcards
What type of data structure is the internet?
Web graph
What are Packets? What information do they contain?
The fundamental data unit that is transmitted over the internet. Files are split into packets for sending.
Each packet contains a sender IP, recipient IP, data load.
On what layer are packets routed? What protocol is used?
Network Layer.
TCP/IP
Define Routing and Forwarding in regards to Data Packets being sent via TCP/IP
Routing is the end to end process of finding the optimum path from end to end. I.e Finding the route of least cost to get the data packets from sender to receiver.
Forwarding is the process of establishing the next optimal local route from a router forwarding table. I.e At each router, the router uses the forwarding table to establish the next lowest cost path to send the packet down.
Define Packet Switching…
The process of segmenting a file into data packets for efficient transmission.
What are the 3 core components of a router?
- Input interface
- Output interface
- Forwarding Table
What is a Forwarding Table?
A table that each router has that lists what network paths the router can send a data packet down.
What is the goal of routing algorithms?
To find a route across a graph / network that has the minimum possible cost from the origin node to the destination node.
What are Linked State algorithms?
Algorithms that are Global and Static.
Global : each node has a complete topology.
Static : routes change slowly over time.
What are Distance Vector algorithms?
Algorithms that are Distributed and Dynamic
Distributed : Each node only has topology knowledge of neighbours.
Dynamic : routes change quickly due to cost changes.
Why are Distance Vector Algorithms Async and Continuous?
To enable us to continuously find the optimal routes whilst links costs are dynamically changing.
What is the Time Complexity of Dijkstras?
O( N^2 )
What category of routing algorithm is Dijkstras? Why?
Greedy Link State because each node has complete topology.
In Link State algorithms, how do routers exchange information?
Link State Packets : Give each router information about the topology of its neighbours.