Week 12 - Routing + Transport Layer Flashcards
What type of routing are we focusing on in this course?
Unicast (1 to 1)
How are routing protocols and forwarding tables related?
Routing protocols are correlated to a routing table. The forwarding tables contain the best routes for packet forwarding based on the routing table.
What is a Link-State Routing Algorithm?
Centralized - all routers have knowledge of the entire network (LSDB)
Each node’s LSP has info about immediate neighbours
Nodes flood entire network with link-state packets (LSPs) so that each router knows the topology.
Then utilizes LSPs and Djikstra’s to find least cost path from a node.
What is a Distance-Vector Routing Algorithm?
Decentralized routing algo
1D array contains least costs to all other nodes, not the paths.
Nodes send vector to neighbours, neighbours update own vectors with Bellman-Ford equation.
What needs a forwarding table?
Only the routers.
What is an autonomous system (AS)?
In hierarchical routing, each ISP is an AS. Each AS runs its own routing protocol.
What is the difference between Intra-AS and Inter-AS routing protocols?
Intra-AS: routing protocol run in each AS
Inter-AS: the global routing protocol that glues the ASs together (think international)
What are the two common intradomain routing protocols?
RIP and OSPF
What is the interdomain routing protocol?
BGP
What is the Routing Information Protocol (RIP)?
Based on distance vector routing algo.
Routers advertise cost of reaching different networks based on hops.
A hop is the number of subnets a packet needs to travel through
What is Open Shortest Path First (OSPF)?
Based on link-state routing algorithm
Each link/subnet is assigned weight
Finds “shortest” path from source to dest node.
What is an OSPF area?
A section of the AS, creates a domain for flooding LSPs.
Area border routers required.
What are the 5 transport layer services?
Process-to-process comm
Addressing: Port #s
Encap/decap
Flow control
Error control
What do port numbers provide?
End-to-end addresses at the transport layer
What is the main paradigm for process-to-process communication?
Client/server