Thursday, May 14, 2015

Lab 13 RIPv2 for discontinuous IP segments

Objectives

  • To learn the difference between the 2 versions of RIP
  • RIPv1 does not support variable length subnetting and discontinuous subnets
  • RIPv2 supports variable length subnetting and discontinuous subnets
Topology

Basic Setting

IPs for computers and routers have been set up.

Requirements

  • Enable RIP on all routers.
  • Show IP route on Router6 to find potential errors.
  • Upgrade RIP to RIPv2 on all routers.
  • Show IP route on Router 6 again to compare the difference with last show ip route.

Configure RIP

On Router5, 2, 0 and 1

Router(config)#route rip
Router(config-router)#network 172.16.0.0

On Router4 and 3

Router(config)#route rip
Router(config-router)#network 172.16.0.0
Router(config-router)#network 10.0.0.0

On Router6

Router(config)#route rip
Router(config-router)#network 10.0.0.0

show IP route summary

Show IP route on Router 6

Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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/24 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, Serial3/0
C 10.0.1.0 is directly connected, Serial2/0
R 172.16.0.0/16 [120/1] via 10.0.1.2, 00:00:00, Serial2/0
[120/1] via 10.0.0.1, 00:00:00, Serial3/0
Router#
Two routes to 172.16.0.0/16 were found, but they were incorrect summary.

Ping PC0 from Router6

Router#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
..!.!
Success rate is 40 percent (2/5), round-trip min/avg/max = 13/14/15 ms
Router#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
.!.!.
Success rate is 40 percent (2/5), round-trip min/avg/max = 14/16/19 ms
Packet discarding was found, which was caused by incorrect route summary.

Enable RIPv2

Configure the following setting on all routers

Router(config)#router rip
Router(config-router)#version 2 // upgrade to version 2
Router(config-router)#no auto-summary // turn off auto-summary

On Router6

RRouter#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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/24 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, Serial3/0
C 10.0.1.0 is directly connected, Serial2/0
172.16.0.0/24 is subnetted, 10 subnets
R 172.16.0.0 [120/4] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.1.0 [120/3] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.2.0 [120/3] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.3.0 [120/2] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.4.0 [120/2] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.5.0 [120/1] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.6.0 [120/1] via 10.0.1.2, 00:00:00, Serial2/0
R 172.16.8.0 [120/1] via 10.0.0.1, 00:00:02, Serial3/0
R 172.16.9.0 [120/1] via 10.0.0.1, 00:00:02, Serial3/0
R 172.16.10.0 [120/2] via 10.0.0.1, 00:00:02, Serial3/0Router#
Router#ping 172.16.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds:
.!!!! ///Ping 172.16.0.0/24, successful
Success rate is 80 percent (4/5), round-trip min/avg/max = 17/23/27 ms
Router#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
.!!!! ///Ping 172.16.10.0/24, successful
Success rate is 80 percent (4/5), round-trip min/avg/max = 14/16/20 ms
Router#

No comments :

Post a Comment