RIP Configuration in Cisco Packet Tracer
RIP Configuration in Cisco Packet Tracer
R1(config-if) #
R1(config-if) #int serial 0/0/0
R1(config-if) #ip add 20.0.0.1 255.0.0.0
R1(config-if) #no shut
Router 2
R2(config)#
R2(config)#int fa0/0
R2(config-if) #ip add 30.0.0.1 255.0.0.0
R2(config-if) #no shut
R2(config-if) #
R2(config-if) #int serial 0/0/0
R2(config-if) #ip add 20.0.0.2 255.0.0.0
R2(config-if) #no shut
IP configuration on PCs
Click PC->Desktop->IP Configuration. On each PC assign these
addresses:
PC1: IP address: 10.0.0.2 Subnet mask 255.0.0.0 Default Gateway
10.0.0.1
PC2: IP address: 30.0.0.2 Subnet mask 255.0.0.0 Default Gateway
30.0.0.1
And now:
3. Configure RIPv2 on the routers
• Router 1
➢ R1(config)#
➢ R1(config)#router rip
➢ R1(config-router) #version 2
➢ R1(config-router) #network 10.0.0.0
➢ R1(config-router) #network 20.0.0.0
• Router 2
➢ R2(config)#
➢ R2(config)#router rip
➢ R2(config-router) #version 2
➢ R2(config-router) #network 20.0.0.0
➢ R2(config-router) #network 30.0.0.0
As you can see, to configure rip on each router, we enable RIP
using router rip command then advertise the networks directly
connected to the router interfaces using network command.
That’s all for RIP configuration.
4. We’ll now verify RIP configuration.
To verify that RIP is indeed advertising routes, we can use the show ip
route command on R1.
You can see that R1 has learned about the 30.0.0/8 network. The
letter R indicates that the route was learned using RIP. Note the
administrative distance of 120 and the metric of 1 in the [120/1] part.
To specifically display routes learnt through RIP use show ip route
rip command on the router.
Now let’s Ping PC2 from PC1 to further confirm that connectivity is
really established between the two subnets.