Lesson 5 - Router Design and Algorithms (part 1) Flashcards
What are the general components of a router
input/output ports,
the switching fabric
routing processor.
What functions do the router’s input ports provide?
- Physically terminate the incoming links.
- Decapsulate the packets.
3 Perform the lookup function.
What does the switching fabric of the router do?
moves the packet from the input to output ports.
Name the three types of switching fabrics in a router.
- Memory
- Bus
- Crossbar
What is the function of a routers output ports?
receive and queue packets from the switching fabric and send them over to the outgoing link.
Describe the router Lookup task
When a packet arrives at the input link, the router looks at the destination IP address and determines the output link by looking at the forwarding table
What are the major tasks of a router?
- Lookup
- Switching
- Queuing
- Header Validation & checksum
5 Route processing - Protocol Processing
Describe how a switching via memory is accomplished.
When an input port receives a packet, it sends an interrupt to the routing processor and the packet is copied to the processor’s memory. Then the processor extracts the destination address and looks into the forward table to find the output port, and finally the packet is copied into that output’s port buffer.
Describe how a switching via bus is accomplished.
When an input port receives a new packet, it puts an internal header that designates the output port, and it sends the packet to the shared bus. Then all the output ports will receive the packet, but only the designated one will keep it. When the packet arrives at the designated output port, then the internal header is removed from the packet. Only one packet can cross the bus at a given time, and so the speed of the bus limits the speed of the router.
Describe how a switching via interconnection network is accomplished.
A crossbar switch is an interconnection network that connects N input ports to N output ports using 2N buses. Horizontal buses meet the vertical buses at crosspoints which are controlled by the switching fabric. For example, let’s suppose that a packet arrives at port A that will need to be forwarded to output port Y, the switching fabric closes the crosspoint where the two buses intersect, so that port A can send the packets onto the bus and then the packet can only be picked up by output port Y. Crossbar network can carry multiple packets at the same time, as long as they are using different input and output ports.
What are the bottlenecks routers face?
L5, Challenges that the router faces
- Exact look-ups
- prefix look-ups
- Packet classification
- Switching
- Fair queueing
- Internal bandwidth
- Measurement
- Security
What is prefix-match lookup?
A router look-up table “groups” multiple IP addresses by the same prefix.
What are the 2 main problems of the routers? Explain, what causes these problems.
- Bandwidth and Internet population scaling: These scaling issues are caused by: a) An increasing number of devices that connect to the Internet, 2) Increasing volumes of network traffic due to new applications, and 3) New technologies such as optical links that can accommodate higher volumes of traffic.
- Services at high speeds: New applications require services such as protection against delays in presence of congestion, and protection during attacks or failures. But offering these services at very high speeds is a challenge for routers.
What are the ways to denote a prefix?
- Dot decimal 132.234
- Slash notation 132.238.9.0/16
- Masking (ex 225.255.00 denotes 16 bits)
What is CIDR? Why was it introduced?
Classless Internet Domain Routing.
CIDR has helped to decrease the router table size