CS6250, Chapter 5 - Router Design and Algorithms P
CS6250, Chapter 5 - Router Design and Algorithms P
CS6250, Chapter 5 - Router Design and Algorithms P
All documents for this subject (1)
Seller
Follow
Victorious23
Reviews received
Content preview
CS6250, Chapter 5 - Router
Design and Algorithms Part 1
What are the basic components of a router? - -the input/output ports,
the switching fabric,
the routing processor.
-Explain the forwarding (or switching) function of a router - -This is the
router's action to transfer a packet from an input link interface to the
appropriate output link interface.
Forwarding takes place at very short timescales (typically a few
nanoseconds), and is typically implemented in hardware.
-What are the functionalities of the input ports? - -i. Physically terminate the
incoming links to the router
ii. The data link processing unit decapsulates the packets
iii. Perform the lookup function. At this point the input ports consult the
forwarding table to ensure that each packet is forwarded to the appropriate
output port through the switching fabric.
-What are the functionalities of the output ports? - -receive and queue the
packets which come from the switching fabric and then send them over to
the outgoing link
-What is the purpose of the routers control plane? - -implementing the
routing protocols,
maintaining the routing tables,
computing the forwarding table.
All these functions are implemented in software in the routing processor, or
by a remote controller.
-What tasks occur in a router? - -1. Lookup
2. Switching
3. Queueing
4. Header validation and checksum
5. Route processing
6. Protocol Processing.
-Explain the lookup task of a router - -Time Sensitive, when a packet arrives
at the destination IP and determines the output link by looking at the
forwarding table or forwarding information base (FIB). The
, -Explain the switching task of a router - -Time Sensitive, after lookup, the
switching system takes over to transfer the packet from the input link to the
output link. Modern fast routers use crossbar for this task. Scheduling can be
difficult because multiple inputs may want to send to the same output.
-Explain the Queuing task of the router - -Time Sensitive, After the switch
has been switched to a specific output, it will need to be queued (if the link is
congested). Queue may be FIFO or other.
-Explain the Header validation and checksum task of the router - -Time
insensitive, the router checks the packets version number, it decrements the
time to live field and recalculates the header checksum. Data Plane
-Explain the route processing task of the router - -Time insensitive, the
router builds their forwarding table using routing protocols such as RIP, OSPF
and BGP. These protocols are implemented in routing processors. Control
Plane
-Explain the protocol processing task of the router - -Time insensitive, the
routers, in order to implement their functions, need to implement the
following protocols (Control Plane):
i. SNMP - Remote inspection
ii. TCP and UPD - remote communication with the router
iii. ICMP - for sending error messages when time to live time is exceeded.
-Explain switching via memory - -a. Input/Output ports operate as I/O
devices in an operating system, and they are controlled by the routing
processor. 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.
-Explain switching via bus - -a. the routing processor does not intervene as
we saw the switching via memory. 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.
-Explain switching via interconnection network (Crossbar) - -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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Victorious23. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.49. You're not tied to anything after your purchase.