Internet Routing II Flashcards
What is routing?
- Routing is the process of populating the forwarding tables
Routers exchange messages about nets they can reach
Goal: find optimal route for every destination
… or maybe good route, or just any route (depending on scale)
What is forwarding?
It’s the act of moving packets between ports.
- We look up the destination address in a forwarding table
- Find out-port or (out-port, MAC addr) pair
Why are stable routes preferred over rapidly changing ones?
They aid in effective network management.
Higher level optimizations such as TCP RTT estimation, rely on stable routes.
What is the difference between global and decentralized routing algorithms?
In global routing algorithms, all routers have the complete topology.
In decentralized, the routers only know their neighbors.
What is the difference between intra-domain and inter-domain routing?
Intra-domain routing occurs within a single administrative domain, managing networks under the same control. It scales to around 100 networks, like a campus setup.
In contrast, inter-domain routing is decentralized and scales to the vastness of the Internet.
What are the two classes of intra-domain routing algorithms?
Link State & Distance Vector
What type of view does the Link State algorithm have? (which nodes can it use?)
Global view, it sees all nodes in the network.
What is contained in a Link State Packet?
The Link State Packet (LSP) contains key elements:
- ID of the node that generated the LSP.
- Cost of links to each directly connected neighbor.
- Sequence number (SEQNO) for versioning and avoiding outdated information.
- Time-to-live (TTL) for managing packet lifespan.
Is distance vector a distributed or globalized routing algorithm?
Distributed
Which equation do you use for calculating the best path in distance-vector algorithms?
Bellman-Ford equation
What can distance vector algorithms suffer from? What becomes the implication?
Loops.
infinite converge time.
What happens with malfunctioning routers with Link State?
Node can advertise incorrect link cost
What happens with malfunctioning routers with Link State?
Node can advertise incorrect path cost
Costs used by others, errors propagate through net
What are the two intra-domain routing protocols that has been mentioned in this course?
Routing information protocol (RIP) based on Link-state
Open Shortest Path First (OSPF), based on Distance Vector
What algorithm does Routing information protocol (RIP) use?
Distance Vector