Thursday, May 14, 2015

Lab 12 RIP Lesson B


Objective 

  • To configure RIP in a simple network.
  • To check metrics and administrative distance and for RIP.
  • To check load balance.
  • To understand effect of topology change on RIP


Topology


Basic Setting

IPs for computers and routers have been set up.

Requirements

  • You need to configure routers to use RIP to learn routing tables.
  • You should use Version 2 RIP.
  • You should be able to check routes based on RIP. 
  • Test connectivity
  • Monitor exchange of routing info based on RIP.

Steps

On Router8
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#version 2

On Router2
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.3.0
Router(config-router)#version 2
Router(config-router)#

On Router3
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.4.0
Router(config-router)#network 192.168.3.0
Router(config-router)#version 2
Router(config-router)#

On Router4
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.4.0
Router(config-router)#network 192.168.5.0
Router(config-router)#version 2
Router(config-router)#

On Router5
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.5.0
Router(config-router)#network 192.168.6.0
Router(config-router)#network 192.168.7.0
Router(config-router)#version 2
Router(config-router)#

On Router7
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.8.0
Router(config-router)#network 192.168.7.0
Router(config-router)#version 2
Router(config-router)#

On Router0
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.8.0
Router(config-router)#network 192.168.9.0
Router(config-router)#version 2
Router(config-router)#

On Router1
Router#confi t
Router(config)#router rip
Router(config-router)#network 192.168.0.0
Router(config-router)#network 192.168.9.0
Router(config-router)#version 2
Router(config-router)#

Test configurations 
Show routing table on Router8
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
C 192.168.0.0/24 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, Serial2/0
R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:27, Serial2/0
R 192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:27, Serial2/0
R 192.168.5.0/24 [120/3] via 192.168.2.2, 00:00:27, Serial2/0
R 192.168.6.0/24 [120/4] via 192.168.2.2, 00:00:27, Serial2/0
[120/4] via 192.168.0.1, 00:00:07, Serial3/0
R 192.168.7.0/24 [120/3] via 192.168.0.1, 00:00:07, Serial3/0
R 192.168.8.0/24 [120/2] via 192.168.0.1, 00:00:07, Serial3/0
R 192.168.9.0/24 [120/1] via 192.168.0.1, 00:00:07, Serial3/0
Router#

Ping from PC0 to PC1
PC>ping 192.168.6.2
Pinging 192.168.6.2 with 32 bytes of data:
Request timed out.
Reply from 192.168.6.2: bytes=32 time=39ms TTL=123
Reply from 192.168.6.2: bytes=32 time=34ms TTL=123
Reply from 192.168.6.2: bytes=32 time=23ms TTL=123
Ping statistics for 192.168.6.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 39ms, Average = 32ms

Shut down S2/0 on Router 3 to mimic a network disorder
On Router3
Router#confi t
Router(config)#int serial 2/0
Router(config-if)#shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to dow

Check routing table on Router8 immediately 
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
C 192.168.0.0/24 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, Serial2/0
R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:08, Serial2/0
R 192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:08, Serial2/0
R 192.168.5.0/24 [120/3] via 192.168.2.2, 00:00:08, Serial2/0
R 192.168.6.0/24 [120/4] via 192.168.2.2, 00:00:08, Serial2/0
[120/4] via 192.168.0.1, 00:00:05, Serial3/0
R 192.168.7.0/24 [120/3] via 192.168.0.1, 00:00:05, Serial3/0
R 192.168.8.0/24 [120/2] via 192.168.0.1, 00:00:05, Serial3/0
R 192.168.9.0/24 [120/1] via 192.168.0.1, 00:00:05, Serial3/0
Router#
To 192.168.6.0/24, there are still to routes, Router 8 has not been informed of the network change because of delay.

Ping from PC0 to PC1
PC>ping 192.168.6.2
Pinging 192.168.6.2 with 32 bytes of data:
Reply from 192.168.3.2: Destination host unreachable.
Request timed out.
Reply from 192.168.3.2: Destination host unreachable.
Reply from 192.168.6.2: bytes=32 time=35ms TTL=123
Ping statistics for 192.168.6.2:
Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 35ms, Average = 68ms
PC>
Network will be instable for a short period.

After a while, on Router8
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
C 192.168.0.0/24 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, Serial2/0
R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:00, Serial2/0
R 192.168.4.0/24 is possibly down, routing via 192.168.2.2, Serial2/0
R 192.168.5.0/24 [120/4] via 192.168.0.1, 00:00:23, Serial3/0
R 192.168.6.0/24 [120/4] via 192.168.0.1, 00:00:23, Serial3/0
R 192.168.7.0/24 [120/3] via 192.168.0.1, 00:00:23, Serial3/0
R 192.168.8.0/24 [120/2] via 192.168.0.1, 00:00:23, Serial3/0
R 192.168.9.0/24 [120/1] via 192.168.0.1, 00:00:23, Serial3/0
Router#
There is only one route to 192.168.6.0/24 left.

No comments :

Post a Comment