View Full Version : Rip
Stevep
11-03-2007, 11:20 AM
I thought I was done with this chapter but I'm setting up my home lab and I'm having issues with RIP and don't know why.
I've connected a Cisco 2611, 1721 and 806 routers. I set them up with all the standard configs and they all can talk but RIP isn't working.
Cisco-2611#show ip protocols
Routing Protocol is "rip"......
Redistributing: rip
Default version control: send version 2, receive version 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
192.168.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Cisco-2611#show ip route
Gateway of last resort is not set
C 192.168.20.0/24 is directly connected, Ethernet0/1
10.0.0.0/24 is subnetted, 3 subnets
S 10.1.9.0 [172/0] via 192.168.20.3
S 10.1.7.0 [172/0] via 192.168.3.2
S 10.1.6.0 [172/0] via 192.168.3.2
C 192.168.1.0/24 is directly connected, Ethernet0/0
C 192.168.3.0/24 is directly connected, Serial0/0
Cisco-2611#
Cisco-1721# show ip protocols
Routing Protocol is "rip"
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
Ethernet0 2 2
FastEthernet0 2 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
Interface Send Recv Triggered RIP Key-chain
192.168.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Cisco-1721#show ip route
Gateway of last resort is not set
S 192.168.20.0/24 [172/0] via 192.168.3.1
10.0.0.0/24 is subnetted, 3 subnets
S 10.1.9.0 [172/0] via 192.168.3.1
C 10.1.7.0 is directly connected, Ethernet0
C 10.1.6.0 is directly connected, FastEthernet0
C 192.168.1.0/24 is directly connected, FastEthernet0
C 192.168.3.0/24 is directly connected, Serial0
Cisco-1721#
I notice that the serial connection isn't in the "Interface" to send or recieve RIP 2. Also all three routers are empty in the "Routing Information Sources:" section.
You might not be able to determin the problem from this but I'm trying to keep it minimal, but it's frustrating because it should work.
Thanks,
Steve
lammle
11-03-2007, 11:56 AM
This is the typical problem that students have with RIP and the reason that Cisco has this as a HUGE exam objective.
You must be able to do this, and this is also why hands-on experience is sooo important. I mention this in my book no less then at least 10 times, but without hands-on experience, no one remembers it. Now you will! :p
When you configure both RIP and EIGRP, you use classless routing, which mean you turn off all default host bits.
Your two class C networks cannot be specified as one network statement of 192.168.0.0. You must specify each network with a seperate network line:
router rip
network 192.168.1.0
network 192.168.3.0
Once you do that, blamo! You'll see routes.
Had you subnetted the network, such as 192.168.10.0/28, where your subnets are 0, 16, 32, 38, etc, then you type one network address for all subnets: 192.168.10.0
But since you are not subnetting, you must type in the full classful address of each class C network you are using.
Hope this helps.
Cheers!
Todd Lammle
Stevep
11-04-2007, 09:05 AM
Todd, thanks.
The IOS on the 831 doesn't support EIGRP, which is good because I can see the RIP route status on that.
!
router rip
network 10.0.0.0
network 192.168.1.0
network 192.168.20.0
!
C 192.168.20.0/24 is directly connected, Ethernet0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.1.9.0/24 is directly connected, Ethernet1
R 10.0.0.0/8 [120/1] via 192.168.20.1, 00:00:13, Ethernet0
[120/1] via 192.168.1.30, 00:00:13, Ethernet1
S 10.1.7.0/24 [172/0] via 192.168.20.1
S 10.1.6.0/24 [172/0] via 192.168.20.1
C 192.168.1.0/24 is directly connected, Ethernet1
R 192.168.3.0/24 [120/1] via 192.168.20.1, 00:00:14, Ethernet0
[120/1] via 192.168.1.30, 00:00:14, Ethernet1
Routing for Networks:
10.0.0.0
Interface Send Recv Triggered RIP Key-chain
192.168.1.0
192.168.20.0
Routing Information Sources:
Gateway Distance Last Update
192.168.1.30 120 00:00:01
192.168.20.1 120 00:00:01
Distance: (default is 120)
Then on the 1721:
!
router eigrp 10
network 10.0.0.0
network 192.168.3.0
auto-summary
!
router rip
version 2
network 10.0.0.0
network 192.168.3.0
!
D 192.168.20.0/24 [90/2195456] via 192.168.3.1, 00:05:10, Serial0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
S 10.1.9.0/24 [172/0] via 192.168.3.1
D 10.0.0.0/8 is a summary, 00:05:18, Null0
C 10.1.7.0/24 is directly connected, Ethernet0
C 10.1.6.0/24 is directly connected, FastEthernet0
C 192.168.1.0/24 is directly connected, FastEthernet0
C 192.168.3.0/24 is directly connected, Serial0
Cisco-1721#
Routing for Networks:
10.0.0.0
192.168.3.0
Routing Information Sources:
Gateway Distance Last Update
(this router) 90 00:18:08
192.168.3.1 90 00:18:00
Distance: internal 90 external 170
Finally the 2611:
!
router eigrp 10
redistribute rip metric 10000000 20000 255 1 1500
network 10.0.0.0
network 192.168.1.0
network 192.168.3.0
network 192.168.20.0
no auto-summary
!
router rip
version 2
redistribute eigrp 10 metric 1
network 10.0.0.0
network 192.168.1.0
network 192.168.3.0
network 192.168.20.0
!
ip classless
ip route 10.1.6.0 255.255.255.0 192.168.3.2 172
ip route 10.1.7.0 255.255.255.0 192.168.3.2 172
ip route 10.1.9.0 255.255.255.0 192.168.20.3 172
ip http server
!
C 192.168.20.0/24 is directly connected, Ethernet0/1
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
S 10.1.9.0/24 [172/0] via 192.168.20.3
D 10.0.0.0/8 [90/2172416] via 192.168.3.2, 00:07:25, Serial0/0
S 10.1.7.0/24 [172/0] via 192.168.3.2
S 10.1.6.0/24 [172/0] via 192.168.3.2
C 192.168.1.0/24 is directly connected, Ethernet0/0
C 192.168.3.0/24 is directly connected, Serial0/0
Cisco-2611#
Routing for Networks:
10.0.0.0
192.168.1.0
192.168.3.0
192.168.20.0
Routing Information Sources:
Gateway Distance Last Update
192.168.3.2 90 00:20:38
Distance: internal 90 external 170
After changing the 192.168.0.0 to the specific c class, the sharing worked, great. I don't see the 10.0.0.0 networks sharing and since 10 is an A class address what gives? Your examples in the book were all 10 addresss and they shared with the single "network 10.0.0.0" statement. Does this have to do with discontiguous networks?
I know that the data I'm sending is large, but I've got these routers set up to get the real hands on deal so I've got to understand and know how to make it work.
Thanks Todd
lammle
11-04-2007, 10:10 AM
Did you read my chapter 6? This is a big subject in there.
Classful addressing is used by RIP/RIPv2, IGRP and EIGRP.
It is very important that you understand this.
A class A network would always be net.0.0.0
Class B net.net.0.0
Class C net.net.net.0
The default host bits in that class of address are always set to 0.
Please reread this chapter over and over again until you understand this completely. I think you are on your way and are finding the true value between just reading and getting hands-on experience.
Cheers!
Todd Lammle
Stevep
11-11-2007, 02:47 PM
Todd, I find your sarcastic snipes to be uncalled for, if you had read my question then you'd know I've gone through chapter 6 twice. You still failed to answer the question of why the 10 addresses weren't in the routing table as EIGRP or RIP, but still static.
D 10.0.0.0/8 [90/2172416] via 192.168.3.2, 00:07:25, Serial0/0
S 10.1.7.0/24 [172/0] via 192.168.3.2
S 10.1.6.0/24 [172/0] via 192.168.3.2
C 192.168.1.0/24 is directly connected, Ethernet0/0
I have since set my routers up to mirror the Hands-on Labs on page 403 and everything worked as expected. Obviously something in my initial setup was preventing the 10 routes from being shared as EIGRP or RIP. I didn't see the error and you found it more beneficial to berate me than help, thanks. Being a Brit, are you related to Simon Cowell?
lammle
11-11-2007, 08:26 PM
I was trying to help you, with little information.
My comments may seem that they were snippy, etc, but I promise that is not the case, nor was my intensions anything more then to find out what you have done and are doing so I can help you.
Emails, blogs, forums are unpersonal and can seem that people are saying things they are not...as in this case.
I don't know what you've read yet.
I was trying to make a point that what you are working on is all SO important to the exam objectives and it is good that you are getting this experience, that's all. I mention this problem in chapter 6 many times because it is very important and is a problem for many of my students.
I applogize if my comments came off as anything other then as I meant them.
From what I can tell, the static routes are still in the routing table because they have a lower AD...static routes would superceed RIP, EIGRP and OSPF by default.
Please, I need to ask this again, and with all respect: did you read my chapter 6 and or 6 & 7? All of this is covered in detail...
Todd
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.