LAB #05 RIP Configuration
Data Communication and Computer Networks
EEE314
Name
Registration Number
Class
Instructor’s Name
LAB #05 RIP Configuration
LAB #05 RIP Configuration
Topology Diagram
Learning Objectives
• Cable a network according to the Topology Diagram.
• Erase the startup configuration and reload a router to the default state.
• Perform basic configuration tasks on a router.
• Configure and activate interfaces.
• Configure RIP routing on all routers.
• Verify RIP routing using show and debug commands.
• Reconfigure the network to make it contiguous.
• Observe automatic summarization at boundary router.
• Gather information about RIP processing using the debug ip rip command.
• Configure a static default route.
• Propagate default routes to RIP neighbors.
• Document the RIP configuration.
Scenarios
• Scenario A: Running RIPv1 on Classful Networks
• Scenario B: Running RIPv1 with Subnets and Between Classful Networks
• Scenario C: Running RIPv1 on a Stub Network.
Scenario A: Running RIPv1 on Classful Networks
Topology Diagram
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
Fa0/0 192.168.1.1 255.255.255.0 N
R /
1 A
S0/0/0 192.168.2.1 255.255.255.0 N
/
A
Fa0/0 192.168.3.1 255.255.255.0 N
R /
2 A
S0/0/0 192.168.2.2 255.255.255.0 N/
A
S0/0/1 192.168.4.2 255.255.255.0 N
/
A
Fa0/0 192.168.5.1 255.255.255.0 N
R /
3 A
S0/0/1 192.168.4.1 255.255.255.0 N
/
A
PC1 N 192.168.1.10 255.255.255.0 192.168.1.1
I
C
PC2 N 192.168.3.10 255.255.255.0 192.168.3.1
I
C
PC3 N 192.168.5.10 255.255.255.0 192.168.5.1
I
C
Scenario A - Topology
Router 1 - show ip route
Router 2 - show ip route
Router 3 - show ip route
Router 1 - show ip protocols
Router 1 - debug ip rip
Router 1 - show ip route
Scenario B: Running RIPv1 with Subnets and Between Classful Networks
Topology Diagram
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
Fa0/0 172.30.1.1 255.255.255.0 N
R /
1 A
S0/0/0 172.30.2.1 255.255.255.0 N
/
A
Fa0/0 172.30.3.1 255.255.255.0 N
R /
2 A
S0/0/0 172.30.2.2 255.255.255.0 N/
A
S0/0/1 192.168.4.9 255.255.255.252 N
/
A
Fa0/0 192.168.5.1 255.255.255.0 N
R /
3 A
S0/0/1 192.168.4.10 255.255.255.252 N
/
A
PC1 N 172.30.1.10 255.255.255.0 172.30.1.1
I
C
PC2 N 172.30.3.10 255.255.255.0 172.30.3.1
I
C
PC3 N 192.168.5.10 255.255.255.0 192.168.5.1
I
C
Scenario B - Topology
Router 1 - show ip route
Router 2 - show ip route
Router 3 - show ip route
Router 1 - show ip protocols
Router 2 - show ip protocols
Router 3 - show ip protocols
Scenario C: Running RIPv1 on a Stub Network
Topology Diagram
Background
In this scenario we will modify Scenario B to only run RIP between R1 and R2. Scenario C is a typical
configuration for most companies connecting a stub network to a central headquarters router or an ISP.
Typically, a company runs a dynamic routing protocol (RIPv1 in our case) within the local network but finds it
unnecessary to run a dynamic routing protocol between the company’s gateway router and the ISP. For
example, colleges with multiple campuses often run a dynamic routing protocol between campuses but use
default routing to the ISP for access to the Internet. In some cases, remote campuses may even use default
routing to the main campus, choosing to use dynamic routing only locally.
To keep our example simple, for Scenario C, we left the addressing intact from Scenario B. Let’s assume that
R3 is the ISP for our Company XYZ, which consists of the R1 and R2 routers using the 172.30.0.0/16 major
network, subnetted with a /24 mask. Company XYZ is a stub network, meaning that there is only one way in
and one way out of the 172.30.0.0/16 network—in via R2 (the gateway router) and out via R3 (the ISP). It
doesn’t make sense for R2 to send R3 RIP updates for the 172.30.0.0 network every 30 seconds, because R3 has
no other way to get to 172.30.0.0 except through R2. It makes more sense for R3 to have a static route
configured for the 172.30.0.0/16 network pointing to R2.
How about traffic from Company XYZ toward the Internet? It makes no sense for R3 to send over
120,000 summarized Internet routes to R2. All R2 needs to know is that if a packet is not destined for a host
on the 172.30.0.0 network, then it should send the packet to the ISP, R3. This is the same for all other
Company XYZ routers (only R1 in our case). They should send all traffic not destined for the
172.30.0.0 network to R2. R2 would then forward the traffic to R3.
Critical Analysis / Conclusion
In this lab we learned about the routing configuration which is also known
as dynamic routing configuration. In this configuration, the network ip
address are configure with the routers. We can also configure those
networks whose first two octal are same and third octal have an increment
by 1 only. This configuration is easy then the static configuration because
in rip scheme, we configure the network address while in static, we
configure the hosts ip address.
Lab Assessment
Pre Lab /5
Performance /5
Results /5 /25
Viva /5
Critical Analysis /5
Instructor Signature and Comments