Week 10 - Network Layer Flashcards
1. Routing/Forwarding 2. Router Architecture 3.IP addressing (64 cards)
What is the main service provided by the Network Layer?
Host-to-host communication service for the Internet.
What is the key protocol used at the Network Layer?
The Internet Protocol (IP).
What kind of service does the Network Layer provide?
A Best Effort service — no guarantees for speed, delay, bandwidth, order, or even delivery.
How does the Transport Layer differ from the Network Layer?
The Transport Layer provides logical communication between processes, while the Network Layer provides logical communication between hosts.
Where do network protocols run?
On all devices, including hosts/end systems and routers.
What does the sender do with Transport Layer segments?
The sender encapsulates Transport Layer segments into IP packets.
What does the receiver do with incoming IP packets?
The receiver unpacks IP packets and delivers the segments to the Transport Layer.
What are the two main functions of a router?
Routing (deciding the path) and Forwarding (moving packets to the next device).
What is forwarding in the context of routers?
Forwarding is the process of moving packets from the router’s input to the appropriate output.
What component in the router handles forwarding?
Forwarding tables are used to determine where packets should be sent next.
What is routing in the context of routers?
Routing is the process of determining the path a packet should take from source to destination.
What component in the router handles routing?
Routing algorithms decide the best path and update the forwarding tables accordingly.
What does forwarding do in a router?
It uses the Forwarding Table to decide where to send a packet next, locally at that router.
What does routing do in a network?
It uses a Routing Algorithm to determine the complete end-to-end path from source to destination.
What is the relationship between routing and forwarding?
Routing builds the Forwarding Table, and forwarding uses it to move packets along the chosen path.
Do routing decisions happen at every router for each packet?
No — each packet uses the precomputed forwarding table, not rerunning the full routing algorithm.
What is forwarding similar to in real life?
It’s like choosing the right exit at a junction during a trip — a local, immediate decision.
What is routing similar to in real life?
It’s like planning the full road trip from source to destination, including all junctions and roads.
How do routing and forwarding work together?
Routing plans the full path (like GPS), and forwarding makes the turn-by-turn choices based on that plan.
Which is a per-packet operation: routing or forwarding?
Forwarding — each packet is forwarded based on the router’s forwarding table, not replanned each time.
What are the two key functions of a router?
Running routing algorithms and forwarding datagrams.
What is the purpose of routing algorithms in a router?
To determine the best path through the network (e.g., RIP, OSPF, BGP).
What does forwarding do in a router?
It moves datagrams from the router’s input to the appropriate output interface.
Name some common routing algorithms used by routers.
RIP, OSPF, and BGP.