Top Banner
1 Concepts of Router and Routing
22

Router&routing

May 24, 2015

Download

Education

myrajendra

This PPt explains about router and routing
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Router&routing

1

Concepts of Router and Routing

Page 2: Router&routing

2

Router

• A device that connects two or more computer networks

together is called as a Router

• It allows two or more different computer networks to

send data to each other

Page 3: Router&routing

3

Router Contd….

Fig.1

Page 4: Router&routing

4

Fig.2

Router Contd….

Page 5: Router&routing

5

Fig.3

Router Contd….

Page 6: Router&routing

6

• A router is a computer whose software and hardware

are designed to perform the tasks of routing and

forwarding information (sending the information

to the destination).

Router Contd….

Page 7: Router&routing

7

Routers generally contain

• A specialized operating system

• RAM

• NVRAM

• Flash memory and

• one or more processors

Router Contd….

Page 8: Router&routing

8

• Routers operate in two different planes

• Control Plane: The router learns the outgoing interface

that is most appropriate for forwarding specific packets to

specific destinations

• Forwarding Plane: The router is responsible for the actual

process of sending a packet received on a logical interface

to an outbound logical interface

Router Contd….

Page 9: Router&routing

9

• Routers periodically disseminate topology information to all the other routers with the help of control packets (e.g. :HELLO, TC packets)

• Topology information contains the information about the one hop and two hop neighbors to each of the router, link cost etc

• Link cost can be defined in several terms: a time estimate, a distance estimate, congestion estimate, bandwidth estimate etc. for the communication link between router and its one hop neighbor

• After learning the topology information, every router computes shortest route from itself to every other router in the Internet

• The computed shortest routes are stored in a route cache in the form of routing table

• Routing table gives the nest hop router to which packet has to be forwarded to send it in the shortest path for each destination IP address ( network part of IP address)

Control Plane Activities

Page 10: Router&routing

10

• The Packet which arrive at Router’s interface is first buffered (stored)

• The Router examines the packet’s header and the picks the destination IP address to where the packet has to reach

• It looks into the routing table to know the next hop router to which the packet has to be forwarded in order to send it in the shortest path

• Then Router forwards the packet to the corresponding next Router address via one of its ports

• The same process is carried out at each Router along the shortest path till the destination router is reached

Forward Plane Activities

Page 11: Router&routing

11

Types of Routers

Various types of routers

• Edge Router

• Border Router

• Core router

• Enterprise Router

• Access Router

• Distribution Router

Page 12: Router&routing

12

Symbol for Router

Fig.4

Page 13: Router&routing

13

Router Connecting Various Subnets

TOKEN RING

NETWORK

A

BUS NETWORK

B

ROUTER

ETHERNET

NETWORK

C

Fig.5

X Y

Z

Page 14: Router&routing

14

• Router must have three interfaces and three Network

Interface Cards (NICs) to interact with the networks A, B and

C at the junctions X and Y and Z as shown in figure 5

• In Internet, there are number of networks that communicate

with each other. Therefore, there would be as many routers

as networks

Router Concepts

Page 15: Router&routing

15

Routing

• Routing is the process of selecting paths in a network to

send data or physical traffic

• Routing is performed for many kinds of networks,

including the telephone network , the Internet, and

transport networks

Page 16: Router&routing

16

• Routing directs forwarding, the passing of logically

addressed packets from their source towards their

ultimate destination through intermediary nodes

• Nodes are hardware devices called routers, bridges,

gateways, firewalls, or switches

Router Contd….

Page 17: Router&routing

17

• Ordinary computers with multiple network cards can also

forward packets and perform routing, though they are not

specialized hardware and may suffer from limited

performance

• The routing process usually directs forwarding on the

basis of routing tables which maintain a record of the

routes to various network destinations

• Thus constructing routing tables, which are held in the

routers' memory, becomes very important for efficient

routing

Router Contd….

Page 18: Router&routing

18

• Therefore, Routing is the process of sending the data in

the form of packets called datagrams from the source to

the destination computers through many networks

• Routing algorithms take the decisions about routing

process and factors affecting them are as follows

• Least cost routing

• Distributed routing

• Packet life time

Router Contd….

Page 19: Router&routing

19

ROUTING AND ROUTERS

Page 20: Router&routing

20

Summary

In this class, you have learnt about

• Router and routing concepts

Page 21: Router&routing

21

Quiz

1. A Router is connected to five networks.

Then number of NICs required by the

router is

a) 2

b) 3

c) 5d) 7

Page 22: Router&routing

22

Frequently Asked Questions

1. Differentiate between Router and Routing?

2. List the various types of routers

3. Write short notes on routing