Week-7 Lab practicum.Enterprise network and design
Week-7 Lab practicum.Enterprise network and design
Address Table
Device
Interface IP Address Subnet Mask
(Hostname)
RouterA e0 148.1.1.1 255.255.255.0
s0 192.1.1.1 255.255.255.0
RouterB e0 150.1.1.1 255.255.255.0
s0 192.1.1.2 255.255.255.0
s1 193.1.1.1 255.255.255.0
RouterC e0 152.1.1.1 255.255.255.0
s0 193.1.1.2 255.255.255.0
Background
RIP is the first protocol proposed to support routing at network layer (Layer 3). It is a classful
distance vector (DV) routing protocol.
In this lab, you will configure RIP (Version 2), a classful DV routing protocol used in small networks.
You will also configure serial links that are used to connect routers (WAN links).
Configuration of RouterA
Router>en
Router#config t
Router(config)#hostname RouterA
RouterA(config)#int loopback0
Note: Defines a virtual interface that I used as test point
RouterA(config-if)#no shut
RouterA(config-if)#int e0
RouterA(config-if)#no shut
RouterA(config-if)#
RouterA(config-if)#int s0
RouterA(config-if)#no shut
RouterA(config-if)#
RouterA(config-if)#router rip
RouterA(config-if)#version 2
Page 2 of 6
RouterA(config-router)#network 10.0.0.0
Note: Specifies what interfaces will receive and send RIP routing updates. It also specifies what
networks will be advertised.
RouterA(config-router)#network 148.1.0.0
RouterA(config-router)#network 192.1.1.0
Configuration of RouterB
Router>en
Router#config t
Router(config)#hostname RouterB
RouterB(config-if)#int e0
RouterB(config-if)#no shut
RouterB(config-if)#int s0
RouterB(config-if)#clockrate 500000
Note: Acts as DCE providing clock
RouterB(config-if)#no shut
RouterB(config-if)#int s1
RouterB(config-if)#clockrate 500000
RouterB(config-if)#no shut
RouterB(config-if)#router rip
RouterB(config-if)#version 2
RouterB(config-router)#network 192.1.1.0
Page 3 of 6
Note: Specifies what interfaces will receive and send RIP routing updates. It also specifies what
networks to be advertised.
RouterB(config-router)#network 193.1.1.0
RouterB(config-router)#network 150.1.0.0
Configuration of RouterC
Router>en
Router#config t
Router(config)#hostname RouterC
RouterC(config-if)#int e0
RouterC(config-if)#no shut
RouterC(config-if)#int s0
RouterC(config-if)#no shut
RouterC(config-if)#router rip
RouterC(config-if)#version 2
RouterC(config-router)#network 152.1.0.0
Note: Specifies what interfaces will receive and send RIP routing updates. It also specifies what
networks will be advertised.
RouterC(config-router)#network 193.1.1.0
Step 1: Find the routing table entries received using the RIP routing protocol.
RouterA#show ip route
Page 4 of 6
From RouterA, monitor the routing packets being passed using the debug ip rip command. Notice
that on interface serial 0, the router does not advertise the networks it learned from RouterB
(152.1.1.0 and 193.1.1.0) but on all other interfaces, those networks are advertised. This is split
horizons at work – remember that when split horizons is enabled, the router will never advertise a
route back through the interface from which it was learned.
RouterA#debug ip rip
Split –Horizon – A routing technique used by distance vector routing protocols (RIP, IGRP) to reduce
routing traffic on the network. With split-horizon, information about routes is not propagated back
into the same interface from which it was learned.
Poison reverse – A route is “poisoned” when a router marks a route as unreachable by setting the
hop count to 16 and then passes this route out to a neighboring router, causing the neighboring
router to remove the route from its routing table. This speeds network convergence by preventing
invalid routes from being propagated throughout the network.
These features allow RIP to adjust to network-topology changes and prevent routing loops from
being propagated and continuing indefinitely.
Now disable split horizons on RouterA using the interface configuration command, no ip
splithorizon.
RouterA(config)#int s0
RouterA(config-if)#no ip split-horizon
From RouterA, monitor the routing updates being passed using the debug ip rip command. Notice
that now all routes are being advertised out Serial 0, including the routes learned from RouterB on
Serial 0.
Remember that RIP is a very easy routing protocol to use and troubleshot. It uses hop count as it’s
metric and has a maximum hop count of 15 and the destination is considered unreachable at 16. RIP
manages this by changing the administrative distance of hop 16 to 255 which is considered
unreachable. Also remember that RIP is a classfull routing protocol and therefore does not include
the subnet mask in the routing update. RIP assumes that everyone is using the same subnet mask.
One of the primary reasons this came about was because RIP was developed before the need for
subnetting came to be.
Submission
Write your name and student ID on the top of this lab document and submit during the lab session
to APIC online learning system. The report should include screenshots and working procedures as
Page 5 of 6
evidence of the completion of your lab task and should be completed and submitted during the
workshop session.
Note, the lab work will contribute to the Laboratory Practicum assessment.
Page 6 of 6