semester 2 module 6 routing and routing protocols
DESCRIPTION
Semester 2 Module 6 Routing and Routing Protocols. YuDa college of business James Chen [email protected]. Outline. Introduction to Static Routing Dynamic Routing Overview Routing Protocols Overview. Introducing routing. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/1.jpg)
1
Semester 2 Module 6 Routing and Routing Protocols
YuDa college of business
James Chen
![Page 2: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/2.jpg)
2
Outline
Introduction to Static Routing Dynamic Routing Overview Routing Protocols Overview
![Page 3: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/3.jpg)
3
Introducing 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.
In order to make the correct decisions, routers must learn the direction to remote networks.
![Page 4: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/4.jpg)
4
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.
![Page 5: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/5.jpg)
5
![Page 6: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/6.jpg)
6
Static route operation
Static route operations can be divided into these three parts: 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.
![Page 7: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/7.jpg)
7
![Page 8: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/8.jpg)
8
![Page 9: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/9.jpg)
9
![Page 10: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/10.jpg)
10
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.
waycross(config)#ip route 172.16.3.0 255.255.255.0 172.16.4.1 130
![Page 11: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/11.jpg)
11
If the router cannot reach the outgoing interface that is being used in the route, the route will not be installed in the routing table.
This means if that interface is down, the route will not be placed in the routing table.
![Page 12: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/12.jpg)
12
Sometimes static routes are used for backup purposes.
A static route can be configured on a router that will only be used when the dynamically learned route has failed.
To use a static route in this manner, simply set the administrative distance higher than that of the dynamic routing protocol being used.
![Page 13: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/13.jpg)
13
Configuring static routes
Use the following steps to configure static routes:1. Determine all desired destination networks, their subnet
masks, and their gateways. A gateway can be either a local interface or a next hop address that leads to the desired destination.
2. Enter global configuration mode.
3. Type the ip route command with a destination address and subnet mask followed by their corresponding gateway from Step one. Including an administrative distance is optional.
![Page 14: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/14.jpg)
14
4. Repeat Step three for as many destination networks as were defined in Step one.
5. Exit global configuration mode.
6. Save the active configuration to NVRAM by using the copy running-config startup-config command.
![Page 15: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/15.jpg)
15
![Page 16: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/16.jpg)
16
Configuring default route forwarding
Default routes are used to route packets with destinations that do not match any of the other routes in the routing table.
A default route is actually a special static route that uses this format:
ip route 0.0.0.0 0.0.0.0 [next-hop-address | outgoing interface]
![Page 17: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/17.jpg)
17
Use the following steps to configure default routes:1. Enter global configuration mode. 2. Type the ip route command with 0.0.0.0 for the
destination network address and 0.0.0.0 for the subnet mask. The gateway for the default route can be either the local router interface that connects to the outside networks or the IP address of the next-hop router.
3. Exit global configuration mode. 4. Save the active configuration to NVRAM by using the
copy running-config startup-config command.
![Page 18: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/18.jpg)
18
![Page 19: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/19.jpg)
19
![Page 20: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/20.jpg)
20
Verifying static route configuration
Use the following steps to verify static route configuration: In privileged mode enter the command show running-
config to view the active configuration. Verify that the static route has been correctly entered. Enter the command show ip route. Verify that the route that was configured is in the routing
table.
![Page 21: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/21.jpg)
21
Troubleshooting static route configuration
![Page 22: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/22.jpg)
22
![Page 23: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/23.jpg)
23
Outline
Introduction to Static Routing Dynamic Routing Overview Routing Protocols Overview
![Page 24: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/24.jpg)
24
Introduction to routing protocols
A routing protocol is the communication used between routers.
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)
![Page 25: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/25.jpg)
25
A routed protocol is used to direct user traffic. Examples of routed protocols are:
Internet Protocol (IP) Internetwork Packet Exchange (IPX)
![Page 26: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/26.jpg)
26
![Page 27: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/27.jpg)
27
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.
![Page 28: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/28.jpg)
28
Purpose of a routing protocol and autonomous systems
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.
![Page 29: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/29.jpg)
29
Autonomous systems (AS) provide the division of the global internetwork into smaller and more manageable networks.
Each AS has its own set of rules and policies and an AS number that will uniquely distinguish it from other autonomous systems throughout the world.
![Page 30: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/30.jpg)
30
Identifying the classes of routing protocols
Most routing algorithms can be classified into one of two categories: distance vector link-state
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.
![Page 31: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/31.jpg)
31
Distance vector routing protocol features
![Page 32: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/32.jpg)
32
![Page 33: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/33.jpg)
33
![Page 34: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/34.jpg)
34
![Page 35: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/35.jpg)
35
Link-state routing protocol features
![Page 36: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/36.jpg)
36
![Page 37: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/37.jpg)
37
![Page 38: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/38.jpg)
38
![Page 39: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/39.jpg)
39
Outline
Introduction to Static Routing Dynamic Routing Overview Routing Protocols Overview
![Page 40: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/40.jpg)
40
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
![Page 41: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/41.jpg)
41
Path determination occurs at the network layer. The path determination function enables a router to
evaluate the paths to a destination and to establish the preferred handling of a packet.
The router uses the routing table to determine the best path and proceeds to forward the packet using the switching function.
![Page 42: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/42.jpg)
42
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.
A key responsibility of the switching function of the router is to encapsulate packets in the appropriate frame type for the next data link.
![Page 43: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/43.jpg)
43
Routing configuration
Enabling an IP routing protocol on a router involves the setting of both global and routing parameters.
Global tasks include selecting a routing protocol, such as RIP, IGRP, EIGRP or OSPF.
The major task in the routing configuration mode is to indicate IP network numbers.
![Page 44: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/44.jpg)
44
![Page 45: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/45.jpg)
45
The router command starts a routing process. The network command is required because it
enables the routing process to determine which interfaces participate in the sending and receiving of routing updates.
An example of a routing configuration is:GAD(config)#router rip
GAD(config-router)#network 172.16.0.0
![Page 46: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/46.jpg)
46
![Page 47: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/47.jpg)
47
![Page 48: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/48.jpg)
48
Routing protocols
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
![Page 49: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/49.jpg)
49
Routing Information Protocol (RIP) was originally specified in RFC 1058.
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.
![Page 50: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/50.jpg)
50
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.
![Page 51: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/51.jpg)
51
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 2328. Uses the SPF algorithm to calculate the lowest cost to a
destination. Routing updates are flooded as topology changes occur.
![Page 52: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/52.jpg)
52
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.
![Page 53: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/53.jpg)
53
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.
![Page 54: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/54.jpg)
54
![Page 55: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/55.jpg)
55
Autonomous systems and IGP versus EGP
Interior routing protocols are designed for use in a network whose parts are under the control of a single organization.
An exterior routing protocol is designed for use between two different networks that are under the control of two different organizations.
![Page 56: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/56.jpg)
56
![Page 57: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/57.jpg)
57
Distance vector
![Page 58: Semester 2 Module 6 Routing and Routing Protocols](https://reader030.vdocuments.net/reader030/viewer/2022032804/56812a4b550346895d8d8e81/html5/thumbnails/58.jpg)
58
Link-state