Hands-On Lab: Configuring RIP Version 2

This hands-on lab configures RIPv2 as a basic dynamic routing protocol between three routers, disables automatic summarization, and verifies routes are learned dynamically without any manual static route configuration.

RIPv2 ConfigurationAuto-SummaryClassless Routing Protocol

~3 دقیقه مطالعه · آخرین به‌روزرسانی ۳۱ شهریور ۱۴۰۵

Lab Objective

Configure RIPv2 on three routers in a simple topology, disable automatic route summarization, and verify each router dynamically learns routes to networks it is not directly connected to.

Lab Purpose

Although largely superseded by OSPF and EIGRP in modern enterprise networks, RIPv2 remains foundational for understanding basic distance-vector concepts and still appears in some legacy environments and CCNA exam objectives.

Lab Topology

R1 ---- Serial0/0/0 ---- R2 ---- Serial0/0/1 ---- R3

R1: 10.1.1.1/30, LAN 192.168.1.0/24
R2: 10.1.1.2/30 and 10.2.2.1/30
R3: 10.2.2.2/30, LAN 192.168.3.0/24

Task 1: Configure Basic Addressing

Configure all interfaces shown, including each router's LAN.

Task 2: Enable RIP Version 2

Enable RIP on all three routers, explicitly setting version 2, and advertise the appropriate networks on each.

Task 3: Disable Automatic Summarization

Disable RIP's automatic summarization at classful network boundaries on all three routers.

Task 4: Verify RIP Neighbors and Routes

Confirm each router has learned routes to networks it is not directly connected to.

Task 5: Verify End-to-End Connectivity

Confirm R1's LAN can reach R3's LAN.

Solution and Verification

R1(config)# interface serial0/0/0
R1(config-if)# ip address 10.1.1.1 255.255.255.252
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# interface gigabitethernet0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown

R2(config)# interface serial0/0/0
R2(config-if)# ip address 10.1.1.2 255.255.255.252
R2(config-if)# clock rate 64000
R2(config-if)# no shutdown
R2(config-if)# exit
R2(config)# interface serial0/0/1
R2(config-if)# ip address 10.2.2.1 255.255.255.252
R2(config-if)# clock rate 64000
R2(config-if)# no shutdown

R3(config)# interface serial0/0/1
R3(config-if)# ip address 10.2.2.2 255.255.255.252
R3(config-if)# no shutdown
R3(config-if)# exit
R3(config)# interface gigabitethernet0/0
R3(config-if)# ip address 192.168.3.1 255.255.255.0
R3(config-if)# no shutdown

R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# no auto-summary
R1(config-router)# network 10.0.0.0
R1(config-router)# network 192.168.1.0

R2(config)# router rip
R2(config-router)# version 2
R2(config-router)# no auto-summary
R2(config-router)# network 10.0.0.0

R3(config)# router rip
R3(config-router)# version 2
R3(config-router)# no auto-summary
R3(config-router)# network 10.0.0.0
R3(config-router)# network 192.168.3.0

R1# show ip route rip

R    10.2.2.0/30 [120/1] via 10.1.1.2, Serial0/0/0
R    192.168.3.0/24 [120/2] via 10.1.1.2, Serial0/0/0
-- R1 learned about R3's LAN and the far serial
-- link, even though it has no direct connection
-- to either

R1# ping 192.168.3.1

!!!!!
Success rate is 100 percent (5/5)

Key Takeaway

RIP's network command, like OSPF and EIGRP's, uses classful major network addresses (10.0.0.0 rather than the specific /30 subnet), and enables the protocol on any interface falling within that range — disabling auto-summary is essential in almost every modern topology, since without it RIP would summarize discontiguous subnets at classful boundaries in ways that frequently break connectivity.

نوشته و پژوهش‌شده توسط دکتر شاهین صیامی

مقالات مرتبط

Hands-On Lab: Final Comprehensive CCNP Troubleshooting Challenge (BGP, DMVPN, and QoS Integration)

This hands-on lab presents a complex multi-layer failure across an integrated BGP-over-DMVPN topology combined with QoS marking, requiring systematic diagnosis of a route reflector misconfiguration, an NHRP registration failure, and an incorrectly applied QoS policy simultaneously affecting the same network.

ادامه

Hands-On Lab: Configuring BGP over DMVPN

This hands-on lab runs iBGP as the routing protocol across the same DMVPN hub-and-spoke topology used in the two previous labs, configuring the hub as a route reflector so spokes learn each other's routes without a full iBGP mesh, combining two previously separate concepts into one integrated design.

ادامه

Hands-On Lab: Configuring OSPF over DMVPN

This hands-on lab runs OSPF as the dynamic routing protocol across the same DMVPN hub-and-spoke topology, configuring the tunnel interface as an OSPF point-to-multipoint network type to correctly handle the hub-and-spoke adjacency pattern without requiring the broadcast network type's DR/BDR election.

ادامه

Hands-On Lab: Configuring EIGRP over DMVPN

This hands-on lab runs EIGRP as the dynamic routing protocol across the DMVPN hub-and-spoke topology built in earlier labs, verifying neighbor relationships form correctly across the multipoint tunnel and routes propagate without requiring per-spoke static configuration on the hub.

ادامه

Hands-On Lab: Configuring HSRP MD5 Authentication

This hands-on lab configures MD5 authentication on an HSRP group, verifying two routers with matching authentication strings form a normal active/standby relationship while a router with a mismatched string is excluded from the group entirely.

ادامه

Hands-On Lab: Configuring Cisco Umbrella-Style DNS Security via DNS Forwarding Redirection

This hands-on lab configures a router to redirect all client DNS queries toward a security-focused DNS resolver using DNS forwarding interception, approximating cloud-delivered DNS security enforcement without requiring per-client configuration changes.

ادامه