Routing Computer Science Engineering (CSE) Notes | EduRev

Computer Networks - Notes, Videos, MCQs & PPTs

Created by: Cstoppers Instructors

Computer Science Engineering (CSE) : Routing Computer Science Engineering (CSE) Notes | EduRev

The document Routing Computer Science Engineering (CSE) Notes | EduRev is a part of the Computer Science Engineering (CSE) Course Computer Networks - Notes, Videos, MCQs & PPTs.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)

Routing

A switch or router needs to be able to look at the packet’s destination address and then to determine which of the output ports is the best choice to get the packet to that address.

The forwarding table is used when a packet is being forwarded and so must contain enough information to accomplish the forwarding function. This means that a row in the forwarding table contains the mapping from a network number to an outgoing interface and some MAC information, such as the Ethernet address of the next hop.

The routing table is the table that is built up by the routing algorithms as a precursor to building the forwarding table. It generally contains mappings from network numbers to next hops. It may also contain information about how this information was learned, so that the router will be able to decide when it should discard some information.

The forwarding table needs to be structured to optimize the process of looking up a network number when forwarding a packet, while the routing table needs to be optimized for the purpose of calculating changes in topology. The forwarding table may even be implemented in specialized hardware, whereas this is rarely if ever done for the routing table.

Routing Computer Science Engineering (CSE) Notes | EduRev

Network as a Graph
Routing is, in essence, a problem of graph theory. a graph representing a network. The nodes of the graph, labeled A through F, may be hosts, switches, routers, or networks. The edges of the graph correspond to the network links. Each edge has an associated cost, which gives some indication of the desirability of sending traffic over that link. The basic problem of routing is to find the lowest-cost path between any two nodes, where the cost of a path equals the sum of the costs of all the edges that make up the path.

Routing Computer Science Engineering (CSE) Notes | EduRev

Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!

Up next >

< Previous

Dynamic Test

Content Category

Related Searches

MCQs

,

Previous Year Questions with Solutions

,

ppt

,

Free

,

shortcuts and tricks

,

Objective type Questions

,

study material

,

Exam

,

mock tests for examination

,

Important questions

,

past year papers

,

Routing Computer Science Engineering (CSE) Notes | EduRev

,

practice quizzes

,

Summary

,

Routing Computer Science Engineering (CSE) Notes | EduRev

,

Viva Questions

,

Sample Paper

,

Routing Computer Science Engineering (CSE) Notes | EduRev

,

video lectures

,

pdf

,

Semester Notes

,

Extra Questions

;