Lab 28: RIPv2 Automatic Summarization

Lab Objective:

The objective of this lab exercise is for you to learn and understand automatic network summarization using Routing Information Protocol version 2 on a Cisco IOS router. By default, when RIP routing is enabled on networks, it performs summarization at default network boundaries.

Lab Purpose:

RIPv2 configuration is a fundamental skill. By default, when RIP is enabled on a Cisco router, both version 1 and version 2 updates are sent and received. Since RIPv1 is considered obsolete because of today’s subnetted networks, it is imperative that you know how to enable RIPv2. Also, because of the VLSM employed in today’s networks, automatic summarization is a default feature that should not be used. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to prevent automatic RIPv2 summarization.

Certification Level:

This lab is suitable for CCENT and CCNA certification exam preparation.

Lab Difficulty:

This lab has a difficulty rating of 6/10.

Readiness Assessment:

When you are ready for your certification exam, you should complete this lab in no more than 30 minutes.

Lab Topology:

Please use the following topology to complete this lab exercise:

Task 1:

Configure the hostnames on R1, R2, R3, and Sw1 as illustrated in the topology.

Task 2:

Configure VLAN2 named RIPv2-VLAN on Sw2 and assign ports FastEthernet0/1 and FastEthernet0/2 to this VLAN as access ports. Configure FastEthernet0/0 in R2 with the IP address 192.168.2.2/27 and FastEthernet0/0 on R3 with the IP address 192.168.2.3/27. Verify your VLAN and interface configuration by using ping.

Task 3:

Configure a back-to-back Serial connection between R1 and R2. Configure the DCE interface Serial0/0 in R2 to provide clocking to R1 at a clock speed of 128 Kbps. Configure a back-to-back Serial connection between R2 and R3. Configure the DCE interface Serial0/1 in R2 to provide clocking to R3 at a clock speed of 128 Kbps. Configure the IP addresses between R1 and R2 Serial interfaces and R2 and R3 Serial interfaces as illustrated in the topology. Ping from R1 to R2, and vice versa, as well as from R2 to R3, and vice versa, to validate your configuration.

Task 4:

Configure both R1 and R3 with the Loopback interface specified in the topology.

Task 5:

Enable RIPv2 on R1, R2, and R3 for all subnets configured on the routers. Verify that RIPv2 has been enabled using the appropriate commands.

Task 6:

Look at the routing tables of R1, R2, and R3 and see if the 10.10.100.0/27 and 10.10.101.0/26 routes from R1 are present (check on R2 and R3), as well as if the 10.30.100.0/29 and 10.30.101.0/25 routes from R3 are present (check on R1 and R2). If you have configured the network as required, you will notice that you do not see these subnets, but instead only see a 10.0.0.0/8 subnet in the routing table.

Task 7:

Based on your studies, you know that RIPv2 performs automatic summarization at classful boundaries. Armed with this knowledge, disable this behavior on R1, R2, and R3. To reset the routing tables, issue the clear ip route * command on routers R1, R2, and R3.

Task 8:

Look at the routing tables of R2 and R3 and verify that the 10.10.100.0/27 and 10.10.101.0/26 routes from R1 are now present. Next, look at the routing table of R1 and R2 and verify that the 10.30.100.0/29 and 10.30.101.0/25 routes from R3 are now present.

Configuration and Verification

Task 1:

For reference information on configuring hostnames, please refer to earlier labs.

Task 2:

For reference information on configuring and verifying VLANs and IP addresses, please refer to earlier labs.

Task 3:

For reference information on configuring and verifying VLANs and IP addresses, please refer to earlier labs.

Task 4:

R1#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#int looop100 
R1(config-if)#ip add 10.10.100.1 255.255.255.224 
R1(config-if)#exit 
R1(config)#int loop101 
R1(config-if)#ip add 10.10.101.1 255.255.255.192 
R1(config-if)#end 
R1# 

R3#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R3(config)#int loop100 
R3(config-if)#ip add 10.30.100.1 255.255.255.248 
R3(config-if)#exit 
R3(config)#int loop101 
R3(config-if)#ip add 10.30.101.1 255.255.255.128 
R3(config-if)#^Z
R3#

Task 5:

R3#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R3(config)#router rip 
R3(config-router)#ver 2 
R3(config-router)#network 10.0.0.0 
R3(config-router)#network 192.168.1.0 
R3(config-router)#network 192.168.2.0 
R3(config-router)#^Z 
R3# 

R3#show ip protocols 
Routing Protocol is “rip” 
 Sending updates every 30 seconds, next due in 12 seconds 
 Invalid after 180 seconds, hold down 180, flushed after 240 
 Outgoing update filter list for all interfaces is not set 
 Incoming update filter list for all interfaces is not set 
 Redistributing: rip 
 Default version control: send version 2, receive version 2 
  Interface             Send  Recv  Triggered RIP  Key-chain 
  FastEthernet0/0       2     2 
  Serial0/0             2     2 
  Loopback100           2     2 
  Loopback101           2     2 
Automatic network summarization is in effect 
 Maximum path: 4 
 Routing for Networks: 
  10.0.0.0 
  192.168.1.0 
  192.168.2.0 
 Routing Information Sources: 
  Gateway         Distance      Last Update
  Distance: (default is 120) 

R2#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R2(config)#router rip 
R2(config-router)#ver 2 
R2(config-router)#net 192.168.0.0 
R2(config-router)#net 192.168.1.0 
R2(config-router)#net 192.168.2.0 
R2(config-router)#end 
R2# 

R2#show ip prot 
Routing Protocol is “rip”
 Sending updates every 30 seconds, next due in 3 seconds 
 Invalid after 180 seconds, hold down 180, flushed after 240 
 Outgoing update filter list for all interfaces is not set 
 Incoming update filter list for all interfaces is not set 
 Redistributing: rip 
 Default version control: send version 2, receive version 2 
  Interface             Send  Recv  Triggered RIP  Key-chain 
  FastEthernet0/0       2     2 
  Serial0/0             2     2 
  Serial0/1             2     2 

[Output Truncated] 

R1#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#router rip 
R1(config-router)#net 10.0.0.0 
R1(config-router)#net 192.168.0.0 
R1(config-router)#end 
R1# 

R1#show ip protocols 
Routing Protocol is “rip”
Sending updates every 30 seconds, next due in 18 seconds 
Invalid after 180 seconds, hold down 180, flushed after 240 
Outgoing update filter list for all interfaces is not set 
Incoming update filter list for all interfaces is not set 
Redistributing: rip 
Default version control: send version 2, receive version 2 
  Interface             Send  Recv  Triggered RIP  Key-chain 
  Serial0/0             2     2 
  Loopback100           2     2 
  Loopback101           2     2 

[Output Truncated]

Task 6:

R1#show ip route 
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP, 
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, 
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR, 
       P - periodic downloaded static route 

Gateway of last resort is not set 

        10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks 
C       10.10.100.0/27 is directly connected, Loopback100 
C       10.10.101.0/26 is directly connected, Loopback101 
        192.168.0.0/30 is subnetted, 1 subnets 
C       192.168.0.0 is directly connected, Serial0/0 
R    192.168.1.0/24 [120/1] via 192.168.0.2, 00:00:21, Serial0/0 
R    192.168.2.0/24 [120/1] via 192.168.0.2, 00:00:21, Serial0/0 

R2#show ip route 
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP,
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, 
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR,   
       P - periodic downloaded static route 

Gateway of last resort is not set 

R    10.0.0.0/8 [120/1] via 192.168.0.1, 00:00:08, Serial0/0 
                [120/1] via 192.168.1.3, 00:00:05, Serial0/1 
                [120/1] via 192.168.2.3, 00:00:06, FastEthernet0/0 
        192.168.0.0/30 is subnetted, 1 subnets 
C       192.168.0.0 is directly connected, Serial0/0 
        192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks 
C       192.168.1.0/29 is directly connected, Serial0/1 
R       192.168.1.0/24 [120/1] via 192.168.2.3, 00:00:06, FastEthernet0/0 
        192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks 
C       192.168.2.0/27 is directly connected, FastEthernet0/0 
R       192.168.2.0/24 [120/1] via 192.168.1.3, 00:00:06, Serial0/1 

R3#show ip route 
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP, 
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, 
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR,   
       P - periodic downloaded static route 

Gateway of last resort is not set 

        10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks 
C       10.30.100.0/29 is directly connected, Loopback100 
C       10.30.101.0/25 is directly connected, Loopback101
R       192.168.0.0/24 [120/1] via 192.168.1.2, 00:00:17, Serial0/0 
                    [120/1] via 192.168.2.2, 00:00:08, FastEthernet0/0 
        192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks 
C       192.168.1.0/29 is directly connected, Serial0/0 
R       192.168.1.0/24 [120/1] via 192.168.2.2, 00:00:08, FastEthernet0/0 
        192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks 
C       192.168.2.0/27 is directly connected, FastEthernet0/0 
R       192.168.2.0/24 [120/1] via 192.168.1.2, 00:00:17, Serial0/0

NOTE: Pay attention to the routes marked R as these are RIP routes. The [120/1] that follows the subnet indicates [Administrative Distance/Metric]. By default, the administrative distance for RIP is 120. The metric for the route is based on the RIP metric—which is hop count. Therefore, a metric of 1 means that the route is 1 hop away, a metric of 2 means that the route is 2 hops away, and so forth. The largest value you will ever see for RIP is 15, since this is the maximum number of hops allowed in RIP. Make sure that you familiarize yourself with the codes for static, OSPF, EIGRP, and RIP routes for the CCNA certification exam.

Task 7:

R1#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#router rip 
R1(config-router)#no auto-summary 
R1(config-router)#^Z 
R1# 
R1#cle ip rou * 

R2#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R2(config)#router rip 
R2(config-router)#no auto-summary 
R2(config-router)#end 
R2# 
R2#cle ip ro *

R3#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R3(config)#router rip 
R3(config-router)#no auto-summary 
R3(config-router)#end 
R3# 
R3#clear ip route *

Task 8:

R1#show ip ro 
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP, 
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, 
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR,   
       P - periodic downloaded static route 

Gateway of last resort is not set 

        10.0.0.0/8 is variably subnetted, 5 subnets, 5 masks 
R       10.0.0.0/8 [120/1] via 192.168.0.2, 00:01:16, Serial0/0 
C       10.10.100.0/27 is directly connected, Loopback100 
C       10.10.101.0/26 is directly connected, Loopback101 
R       10.30.100.0/29 [120/2] via 192.168.0.2, 00:00:19, Serial0/0 
R       10.30.101.0/25 [120/2] via 192.168.0.2, 00:00:19, Serial0/0 
        192.168.0.0/30 is subnetted, 1 subnets
C       192.168.0.0 is directly connected, Serial0/0 
        192.168.1.0/29 is subnetted, 1 subnets 
R       192.168.1.0 [120/1] via 192.168.0.2, 00:00:19, Serial0/0 
        192.168.2.0/27 is subnetted, 1 subnets 
R       192.168.2.0 [120/1] via 192.168.0.2, 00:00:19, Serial0/0 

R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP, 
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, 
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR, 
       P - periodic downloaded static route 

Gateway of last resort is not set 

        10.0.0.0/8 is variably subnetted, 4 subnets, 4 masks 
R       10.10.100.0/27 [120/1] via 192.168.0.1, 00:00:11, Serial0/0 
R       10.10.101.0/26 [120/1] via 192.168.0.1, 00:00:11, Serial0/0 
R       10.30.100.0/29 [120/1] via 192.168.2.3, 00:00:11, FastEthernet0/0 
                       [120/1] via 192.168.1.3, 00:00:10, Serial0/1 
R       10.30.101.0/25 [120/1] via 192.168.2.3, 00:00:11, FastEthernet0/0 
                       [120/1] via 192.168.1.3, 00:00:10, Serial0/1 
        192.168.0.0/30 is subnetted, 1 subnets 
C       192.168.0.0 is directly connected, Serial0/0 
        192.168.1.0/29 is subnetted, 1 subnets 
C       192.168.1.0 is directly connected, Serial0/1 
        192.168.2.0/27 is subnetted, 1 subnets 
C       192.168.2.0 is directly connected, FastEthernet0/0 

R3#sh ip ro 
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP, 
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area, 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2, 
       E1 - OSPF external type 1, E2 - OSPF external type 2, 
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1,
       L2 - IS-IS level-2, ia - IS-IS inter area, 
       * - candidate default, U - per-user static route, o - ODR,   
       P - periodic downloaded static route 

Gateway of last resort is not set

        10.0.0.0/8 is variably subnetted, 5 subnets, 5 masks 
R       10.0.0.0/8 [120/1] via 192.168.1.2, 00:02:25, Serial0/0 
                       [120/1] via 192.168.2.2, 00:02:21, FastEthernet0/0 
R       10.10.100.0/27 [120/2] via 192.168.2.2, 00:00:09, FastEthernet0/0 
                       [120/2] via 192.168.1.2, 00:00:08, Serial0/0 
R       10.10.101.0/26 [120/2] via 192.168.2.2, 00:00:10, FastEthernet0/0 
                       [120/2] via 192.168.1.2, 00:00:08, Serial0/0 
C       10.30.100.0/29 is directly connected, Loopback100 
C       10.30.101.0/25 is directly connected, Loopback101 
        192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks 
R       192.168.0.0/30 [120/1] via 192.168.2.2, 00:00:10, FastEthernet0/0 
                       [120/1] via 192.168.1.2, 00:00:08, Serial0/0 
R       192.168.0.0/24 [120/1] via 192.168.2.2, 00:02:21, FastEthernet0/0 
                       [120/1] via 192.168.1.2, 00:02:25, Serial0/0 
        192.168.1.0/29 is subnetted, 1 subnets 
C       192.168.1.0 is directly connected, Serial0/0 
        192.168.2.0/27 is subnetted, 1 subnets 
C       192.168.2.0 is directly connected, FastEthernet0/0

 


Related Articles

Leave a Reply

avatar