CN Lab Lecture 5 RIP_Fall_23_24
CN Lab Lecture 5 RIP_Fall_23_24
1. Introduction
2. Static routing vs dynamic routing
3. Dynamic routing
4. Routing information protocol (RIP)
Introduction
❖ Routing
➢ routing is the act of forwarding network packets from a source
network to a destination networks by a router based on its routing table [2].
❑IGP
➢ Routing inside an autonomous system (AS), where, AS is a
collection of network under a common administrator
➢ Example
o Routing Information Protocol (RIP) version 1
o Interior Gateway Routing Protocol (IGRP)
o Enhanced IGRP (EIGRP)
o Open Shortest Path First (OSPF)
o Intermediate System (IS)-IS
Dynamic Routing….
EGP
❑EGP
➢Routing between autonomous systems(AS)
➢Example
o Border Gateway Protocol (BGP)
Dynamic Routing….
Classification
Autonomous systems
• A router communicates with its neighbors only for populating its routing table
• Distance vector means that routes are advertised as vectors of distance and
direction
• Distance is defined in terms of a metric such as hop count, and direction is
simply the next hop router or exit interface.
• Bellman-Ford algorithm is used for the best-path route determination.
• Some distance vector protocols periodically send complete routing tables to all
connected neighbors.
• In large networks, these routing updates can become enormous, causing
significant traffic on the links.
• Example
RIP, EIGRP
Dynamic Routing….
Link state routing
❖Cold Start
Topic Heading..
Routing table update
❖Table Updating
Topic Heading..
Routing table update
❖Next Update
Topic Heading..
Another Example
Topic Heading..
New route
Topic Heading..
Removing a route
RIPv2 Configuration
172.16.1.0/30
192.168.2.0/24
172.16.1.4/30
IOS Commands
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)#network 172.16.1.0
R1(config-router)#network 172.16.1.4
R1(config-router)#network 192.168.2.0
R1(config-router)#no auto-summary
RIPv2 Configuration
Trableshooting
172.16.1.0/30
192.168.2.0/24
172.16.1.4/30
[1] R. Graziani and A. Johnson, Routing Protocols and Concepts, 2nd ed.,
Cisco Systems, Inc., USA, 2008, pp. 148-173.
[2] J. Macfarlane, Network Routing Basics, Wiley Publications. Inc.,
2006, USA, pp. 70-104.
Books
2. CCNA Routing and Switching, T. Lammle, John Wily & Sons, Second
Edition, 2016, USA.