M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.

Slides:



Advertisements
Similar presentations
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Advertisements

Routing Protocol.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Mod 10 – Routing Protocols
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols
Routing and Routing Protocols
Routing.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
Switching and Routing Technique
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Introduction to networking Dynamic routes. Objectives  Define dynamic routing and its properties  Describe the classes of routing protocols  Describe.
Routing and Routing Protocols Dynamic Routing Overview.
Introduction to Routing and Routing Protocols By Ashar Anwar.
6: Routing Working at a Small to Medium Business.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CCNA 1 version 3.0 Rick Graziani Cabrillo College
Routing and Routing Protocols Routing Protocols Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Routing -2 Dynamic Routing
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Routing/Routed Protocols Part I. Routed Protocol Definition: Routed Protocol – used to transmit user data (packets) through an internetwork. Routed protocols.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
Sem 2 v2 Chapter 9: Routing. Internetworking functions of the network layer include network addressing and best path selection for traffic. In network.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Switching and Routing Technique W.lilakiatsakun. Assessment Final 40 % Final 40 % Midterm 30% Midterm 30% LAB + Assignment 30% LAB + Assignment 30%
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
6: Routing Working at a Small to Medium Business.
Routing and Routing Protocols
Cisco Systems Networking Academy S2 C 11 Routing Basics.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Router Configuration. CISCO 2500 series router.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
© 2002, Cisco Systems, Inc. All rights reserved..
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
Chapter 11 Routing. Objectives Routing BasicsRouting Basics Why Routing Protocols are NecessaryWhy Routing Protocols are Necessary Distance-Vector RoutingDistance-Vector.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Sem 2 v2 Chapter 12: Routing. Routers can be configured to use one or more IP routing protocols. Two of these IP routing protocols are RIP and IGRP. After.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Instructor Materials Chapter 5: Dynamic Routing
Routing and Routing Protocols: Routing Static
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Routing.
Chapter 5: Dynamic Routing
Chapter 5: Dynamic Routing
Routing and Routing Protocols: Routing Static
Introduction to networking
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing.
CCNA 2 JEOPARDY Module 6.
Presentation transcript:

M.Menelaou CCNA2 ROUTING

M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes decisions based upon the destination IP address of a packet When routers use dynamic routing, this information is learned from other routers. When static routing is used, a network administrator configures information about remote networks manually

M.Menelaou STATIC ROUTING Network administrator configures the route Router installs the route in the routing table Packets are routed using the static route Since a static route is manually configured, the administrator must configure the static route on the router using the ip route command

M.Menelaou STATIC ROUTING

M.Menelaou STATIC ROUTING

M.Menelaou STATIC ROUTING The method in Figure 1 specifies the next- hop IP address of the adjacent router The method in Figure 2 specifies the outgoing interface.

M.Menelaou STATIC ROUTING The administrative distance is an optional parameter that gives a measure of the reliability of the route. A lower value for the administrative distance indicates the more reliable route. The default administrative distance when using next-hop address is 1, while the default administrative distance when using the outgoing interface is 0.

M.Menelaou STATIC ROUTING Default routes are used to route packets with destinations that do not match any of the other routes in the routing table ip route [next-hop-address | outgoing interface] If the packet does not match a more specific route in the routing table, it will be routed to the network.

M.Menelaou STATIC ROUTING

M.Menelaou STATIC ROUTING In privileged mode enter the command show running-config to view the active configuration. Verify that the static route has been correctly entered. If the route is not correct, it will be necessary to go back into global configuration mode to remove the incorrect static route and enter the correct one. Enter the command show ip route. Verify that the route that was configured is in the routing table.

M.Menelaou ROUTING Vs ROUTED Protocols A routing protocol is the communication used between routers. A routing protocol allows one router to share information with other routers regarding the networks it knows about as well as its proximity to other routers. The information a router gets from another router, using a routing protocol, is used to build and maintain a routing table.

M.Menelaou ROUTING Vs ROUTED Protocols Examples of routing protocols are: Routing Information Protocol (RIP) Interior Gateway Routing Protocol (IGRP) Enhanced Interior Gateway Routing Protocol (EIGRP) Open Shortest Path First (OSPF)

M.Menelaou ROUTING Vs ROUTED Protocols A routed protocol is used to direct user traffic. A routed protocol provides enough information in its network layer address to allow a packet to be forwarded from one host to another based on the addressing scheme.

M.Menelaou ROUTING Vs ROUTED Protocols Examples of routed protocols are: Internet Protocol (IP) Internetwork Packet Exchange (IPX)

M.Menelaou ROUTING Vs ROUTED Protocols

M.Menelaou Autonomous systems An autonomous system (AS) is a collection of networks under a common administration sharing a common routing strategy To the outside world, an AS is viewed as a single entity.

M.Menelaou Autonomous systems

M.Menelaou DYNAMIC ROUTING The goal of a routing protocol is to build and maintain the routing table. This table contains the learned networks and associated ports for those networks Routers use routing protocols to manage information received from other routers, information learned from the configuration of its own interfaces, along with manually configured routes.

M.Menelaou DYNAMIC ROUTING The routing protocol learns all available routes, places the best routes into the routing table, and removes routes when they are no longer valid. The router uses the information in the routing table to forward routed protocol packets.

M.Menelaou DYNAMIC ROUTING When all routers in an internetwork are operating with the same knowledge, the internetwork is said to have converged Fast convergence is desirable because it reduces the period of time in which routers would continue to make incorrect routing decisions

M.Menelaou DYNAMIC ROUTING The routing algorithm is fundamental to dynamic routing Whenever the topology of a network changes because of growth, reconfiguration, or failure, the network knowledgebase must also change.

M.Menelaou DYNAMIC ROUTING Most routing algorithms can be classified into one of two categories: distance vector link-state

M.Menelaou DYNAMIC ROUTING The distance vector routing approach determines the direction (vector) and distance to any link in the internetwork. The link-state approach, also called shortest path first, recreates the exact topology of the entire internetwork.

M.Menelaou DYNAMIC ROUTING Distance vector routing algorithms pass periodic copies of a routing table from router to router Each router receives a routing table from its directly connected neighbor routers

M.Menelaou DYNAMIC ROUTING The algorithm eventually accumulates network distances so that it can maintain a database of network topology information. However, distance vector algorithms do not allow a router to know the exact topology of an internetwork as each router only sees its neighbor routers

M.Menelaou DYNAMIC ROUTING Each router that uses distance vector routing begins by identifying its own neighbors As the distance vector network discovery process proceeds, routers discover the best path to destination networks based on the information they receive from each neighbor

M.Menelaou DYNAMIC ROUTING An analogy of distance vector could be the signs found at a highway intersection. A sign points towards a destination and indicates the distance to the destination. Further down the highway, another sign points toward the destination, but now the distance is shorter. As long as the distance is shorter, the traffic is following the best path.

M.Menelaou DYNAMIC ROUTING

M.Menelaou DYNAMIC ROUTING The second basic algorithm used for routing is the link-state algorithm. Link-state algorithms are also known as Dijkstras algorithm or as SPF (shortest path first) algorithms. A link-state routing algorithm maintains full knowledge of distant routers and how they interconnect.

M.Menelaou DYNAMIC ROUTING Link-state advertisements (LSAs) – A link- state advertisement (LSA) is a small packet of routing information that is sent between routers. Topological database – A topological database is a collection of information gathered from LSAs.

M.Menelaou DYNAMIC ROUTING SPF algorithm – The shortest path first (SPF) algorithm is a calculation performed on the database resulting in the SPF tree. Routing tables – A list of the known paths and interfaces.

M.Menelaou DYNAMIC ROUTING Each router in parallel with the others constructs a topological database consisting of all the exchanged LSAs. The SPF algorithm computes network reachability. The router constructs this logical topology as a tree, with itself as the root, consisting of all possible paths to each network in the link-state protocol internetwork

M.Menelaou DYNAMIC ROUTING When the router receives an LSA, the database is updated with the most recent information and computes a map of the internetwork using the accumulated data and calculates the shortest path to other networks using the SPF algorithm.

M.Menelaou DYNAMIC ROUTING Link-state concerns: – Processor overhead – Memory requirements – Bandwidth Consumption

M.Menelaou Path determination A router determines the path of a packet from one data link to another, using two basic functions: – A path determination function – A switching function

M.Menelaou Path determination The router uses the routing table to determine the best path and proceeds to forward the packet using the switching function. The switching function is the internal process used by a router to accept a packet on one interface and forward it to a second interface on the same router.

M.Menelaou Path determination An example of a routing configuration is: GAD(config)#router rip GAD(config-router)#network

M.Menelaou Path determination Examples of IP routing protocols include: – RIP – A distance vector interior routing protocol – IGRP – Cisco's distance vector interior routing protocol – OSPF – A link-state interior routing protocol – EIGRP – Cisco’s advanced distance vector interior routing protocol – BGP – A distance vector exterior routing protocol

M.Menelaou Path determination Routing Information Protocol (RIP) was originally specified in RFC Its key characteristics include the following: – It is a distance vector routing protocol. – Hop count is used as the metric for path selection. – If the hop count is greater than 15, the packet is discarded. – Routing updates are broadcast every 30 seconds, by default.

M.Menelaou Path determination Interior Gateway Routing Protocol (IGRP) is a proprietary protocol developed by Cisco. Some of the IGRP key design characteristics emphasize the following: – It is a distance vector routing protocol. – Bandwidth, load, delay and reliability are used to create a composite metric. – Routing updates are broadcast every 90 seconds, by default.

M.Menelaou Path determination Open Shortest Path First (OSPF) is a nonproprietary link-state routing protocol. The key characteristics of OSPF are as follows: – It is a link-state routing protocol. – Open standard routing protocol described in RFC – Uses the SPF algorithm to calculate the lowest cost to a destination. – Routing updates are flooded as topology changes occur.

M.Menelaou Path determination EIGRP is a Cisco proprietary enhanced distance vector routing protocol. The key characteristics of EIGRP are as follows: – It is an enhanced distance vector routing protocol. – Uses load balancing. – Uses a combination of distance vector and link-state features. – Uses Diffused Update Algorithm (DUAL) to calculate the shortest path. – Routing updates are broadcast every 90 seconds or as triggered by topology changes.

M.Menelaou Path determination Border Gateway Protocol (BGP) is an exterior routing protocol. The key characteristics of BGP are as follows: – It is a distance vector exterior routing protocol. – Used between ISPs or ISPs and clients. – Used to route Internet traffic between autonomous systems.

M.Menelaou Path determination Interior routing protocols are designed for use in a network whose parts are under the control of a single organization. The design criteria for an interior routing protocol require it to find the best path through the network

M.Menelaou Path determination An exterior routing protocol is designed for use between two different networks that are under the control of two different organizations.

M.Menelaou Path determination