How to configure rip on a cisco router

422 views

Published on

How to configure rip on a cisco router? More details...

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
422
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to configure rip on a cisco router

  1. 1. How to Configure RIP on a Cisco Router? RIP(Routing Information Protocol) is one of the routing protocols you need to understand if you want to pass the Cisco CCNA exam. In this article I’ll show you how to configure RIP on a Cisco router. This is the topology that I will use: Above we see 3 routers called Spade, Hearts and Clubs. There are a couple of networks so we’ll have something to advertise in RIP. First let’s configure all the interfaces: Spade>enable Spade#configure terminal Spade(config)#interface fastEthernet 0/0 Spade(config-if)#no shutdown Spade(config-if)#ip address 172.16.1.1 255.255.255.0 Spade(config-if)#exit Spade(config)#interface fastEthernet 1/0 Spade(config-if)#ip address 192.168.12.1 255.255.255.0 Spade(config-if)#no shutdown Hearts>enable Hearts#configure terminal Hearts(config)#interface fastEthernet 0/0 Hearts(config-if)#no shutdown Hearts(config-if)#ip address 192.168.12.2 255.255.255.0 Hearts(config-if)#exit Hearts(config)#interface FastEthernet 1/0 Hearts(config-if)#no shutdown Hearts(config-if)#ip address 192.168.23.2 255.255.255.0 Hearts(config-if)#exit Clubs>enable Clubs#configure terminal Clubs(config)#interface fastEthernet 0/0 Clubs(config-if)#no shutdown Clubs(config-if)#ip address 172.16.2.3 255.255.255.0 Clubs(config-if)#exit Clubs(config)#interface fastEthernet 1/0 Clubs(config-if)#no shutdown Clubs(config-if)#ip address 192.168.23.3 255.255.255.0 Clubs(config-if)#exit Before we continue RIP we’ll check the routing tables: Spade#showip route
  2. 2. Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - S-IS level-2 ia - IS-IS inter area, * - candidate default, o - ODR, P - periodic downloaded static route Gateway of last resort is not set C 192.168.12.0/24 is directly connected, FastEthernet1/0 172.16.0.0/24 is subnetted, 1 subnets C 172.16.1.0 is directly connected, FastEthernet0/0 Hearts#showip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - S-IS level-2 ia - IS-IS inter area, * - candidate default, o - ODR, P - periodic downloaded static route Gateway of last resort is not set C 192.168.12.0/24 is directly connected, FastEthernet0/0 C 192.168.23.0/24 is directly connected, FastEthernet1/0 Clubs#showip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - S-IS level-2 ia - IS-IS inter area, * - candidate default, o - ODR, P - periodic downloaded static route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets C 172.16.2.0 is directly connected, FastEthernet0/0 C 192.168.23.0/24 is directly connected, FastEthernet1/0 Our routers only know 1 thing…their directly connected interfaces. Let’s configure RIP and see what happens: Spade(config)#router rip Spade(config-router)#network 192.168.12.0
  3. 3. Spade(config-router)#network 172.16.1.0 Hearts(config)#router rip Hearts(config-router)#network 192.168.12.0 We use the router rip command to go to the RIP configuration. Next step is to use the network command which does two things: … More Cisco Router Reviews and Tips you can visit: http://blog.router-switch.com/category/reviews/cisco-routers/

×