Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Routing and Routing Protocols By Ashar Anwar.

Similar presentations


Presentation on theme: "Introduction to Routing and Routing Protocols By Ashar Anwar."— Presentation transcript:

1

2 Introduction to Routing and Routing Protocols By Ashar Anwar

3 Objectives Routing Static and Dynamic Routing Dynamic Routing Protocols Distance Vector and Link state Routing Protocols

4 What is Routing? Routing is the process of moving information (data packets) from one network to another network using routers. Internet is composed of multiple physical networks interconnected by routers. Both host and router participate in routing a packet to its destination. – The host must make the initial routing decision when it chooses where to send the packet.

5 Function of a Router Data is sent in form of packets between 2 end devices Routers are used to direct packet to its destination

6 Routing Types

7 Static Route A manually configured route used when routing from a network to a stub network

8 To view Static Routes in Routing Table Static route includes the network address and subnet mask of the remote network, along with the IP address of the next-hop router or exit interface. Static routes are denoted with the code ‘S’ in the routing table R1# show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP Gateway of last resort is not set C 192.168.1.0/24 is directly connected, FastEthernet0/0 C 192.168.2.0/24 is directly connected, Serial0/0/0 S 192.168.3.0/24 [1/0] via 192.168.2.2 Static Route

9 Static Routes R1(config)#ip route 192.168.1.0 255.255.255.0 172.16.2.2 R1(config)#ip route 192.168.2.0 255.255.255.0 172.16.2.2 R1(config)#ip route 192.168.1.0 255.255.255.0 S0/0/0 R1(config)#ip route 192.168.2.0 255.255.255.0 S0/0/0

10 Static Routing Advantages of static routing – -Easy to configure – -No extra resources are needed – -More secure Disadvantages of static routing – -Network changes require manual reconfiguration – -Does not scale well in large topologies

11 Dynamic Routing Dynamic Routing involves a Routing Protocol which does: – Exchange of routing information between routers – Dynamically learns information about remote networks – Determines the best path to each network Adds routes to routing tables – Automatically learns about new networks – Automatically finds alternate paths if needed (link failure in current path)

12 Dynamic Routing Protocols Components of a routing protocol – Algorithm In the case of a routing protocol algorithms are used for facilitating routing information and best path determination – Routing protocol messages These are messages for discovering neighbors and exchange of routing information

13 Classifying Routing Protocols Dynamic routing protocols are grouped according to characteristics.

14 Classifying Routing Protocols Distance vector – Routes are advertised as vectors of distance & direction. – Incomplete view of network topology. – Periodic updates. Link state – Complete view of network topology is created. – Updates are not periodic.

15 Routing Protocols Metrics – A value used to determine which routes are better than others. – It is quantitative value used to measure the distance to a given route.

16 Routing Protocols Metrics – Bandwidth – Cost – Delay – Hop count – Load – Reliability

17 Distance Vector Algorithm Distance vector algorithms (also known as Bellman-Ford algorithms) call for each router to send all or some portion of its routing table only to its neighbors. Distance vector algorithms perform routing decisions based upon information provided by neighboring routers. Distance vector protocols use fewer system resources but can suffer from slow convergence and may use metrics that do not scale well to larger systems.

18 Link-State Routing Protocols Reputation of being much more complex than their distance vector counterparts. – Functionality and configuration is complex than distance vector – Algorithm is complicated than distance vector

19 Link-State Routing Protocols Distance vector routing protocols - road signs – Distance and vector Link-state routing protocols - road map – Topological map used by each router – Each router determines the shortest path to each network


Download ppt "Introduction to Routing and Routing Protocols By Ashar Anwar."

Similar presentations


Ads by Google