5.1 - Router Design Basics Flashcards
Basic Router Architecture
- Receive packet
- Look at header to determine destination
- Look in forwarding table to determine output interface
- Modifies header
- Send packet to output interface
Line Card (I/O)
The interface by which a router sends and receives data
Crossbar Switching
Every input port has a connection to every output port
During each timeslot, each input connected to zero or one outputs
Virtual Output Queues
Instead of having a single queue at input, there is one queue per output port
This prevents packets from being blocked
Scheduling
During which timeslots should input and output ports be matched
Round-Robin Scheduling
Given a set of queues, router services in order
Problem: Packets may have different sizes
Bit by bit scheduling
During each time slot, each queue only has 1 bit serviced
Problem Feasibility
Fair Queueing
Service packets according to their soonest “finishing time”
Fair Queuing algorithm computes the virtual finishing time of all candidate packets, which are packets at the head of all non-empty queues
Services queue with minimum virtual time
Each line card has own forwarding table copy. What does this prevent?
Prevents a central table from becoming a bottleneck at high speeds