Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CCNA Study - Help with RIP? 2

Status
Not open for further replies.

terminaljunkie

Technical User
Jul 24, 2003
17
GB
I am trying to get RIP working across a small routing network at home consisting of (courtesy of ebay):

2 * Cisco 2503 Routers
1 * Cisco 2501 Router
1 * Cisco 1924 switch
1 * Intel Express 520T Switch
1 * 3Com OfficeConnect Switch

Routers are named 2500a, 2500b, 2500c (imaginative eh?).
It is here I am having the problem so I will descrivbe it thus:

The following setup is using a text from the Sybex CCNA study book 2nd Edition bt Todd Lammle:

- I have the Routers connected using back to back DTE <---> DCE Cables
- 2500a Serial port 0 192.168.160.1 (DTE) to 2500b serial port 0 192.168.160.2 (DCE)
- 2500b Serial port 1 192.168.180.2 (DCE) to 2500c serial port 0 192.168.180.1 (DTE)

With this setup I can create the static routes and ping the network through the switches end to end - no problem.
Then I tried default routes - again this works.....but I am flummoxed with the RIP implementation.

According to the text in the book, I simply remove the static routes and add:

router rip
network 192.168.0.0

So my configs look like this:

2500a
=====
Building configuration...

Current configuration:
!
version 11.0
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname 2500a
!
enable secret 5 $1$brOM$umU38gCPHc7Gh8g56sh2o0
!
username sleach password 7 1218160317195D1C
no ip domain-lookup
!
interface Ethernet0
ip address 192.168.150.1 255.255.255.0
!
interface Serial0
ip address 192.168.160.1 255.255.255.0
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
!
router rip
network 192.168.0.0
!
!
banner login ^C
This system is solely for the use of authorized users.
You have no expectations of privacy in it's use.^C
!
line con 0
password 7 1511021F0725202D2C
login local
line aux 0
password 7 1511021F0725202D2C
login local
transport input all
line vty 0 4
password 7 1511021F0725202D2C
login local
!
end
=============================================

2500b
====
Current configuration:
!
version 11.2
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname 2500b
!
enable secret 5 $1$RkIx$nHH25TQd.D4SWPkj/vgUL0
!
username sleach password 7 0005001201495A1E
no ip domain-lookup
!
interface Ethernet0
ip address 192.168.170.1 255.255.255.0
!
interface Serial0
description 2501b to 2501a
ip address 192.168.160.2 255.255.255.0
no fair-queue
clockrate 64000
!
interface Serial1
description 2500b to 2500c
ip address 192.168.180.2 255.255.255.0
no fair-queue
clockrate 64000
!
interface BRI0
no ip address
shutdown
!
router rip
network 192.168.0.0
!
no ip classless
banner login ^C
This system is solely for the use of authorized users.
You have no expectation of privacy in it's use.^C
!
line con 0
password 7 00071A150754000F0B
login local
line aux 0
password 7 1511021F0725202D2C
login local
line vty 0 4
password 7 070C285F4D06120C13
login local
!
end

=============================================

2500c
====
Current configuration:
!
version 11.0
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname 2500c
!
enable secret 5 $1$SIhB$TRAprI.v591nHS1M6Algv/
!
username sleach password 7 11080A1112005A14
no ip domain-lookup
!
interface Ethernet0
ip address 192.168.190.1 255.255.255.0
!
interface Serial0
description 2500c to 2500b
ip address 192.168.180.1 255.255.255.0
no fair-queue
!
interface Serial1
no ip address
shutdown
!
router rip
network 192.168.0.0
!
banner login ^C
This system is solely for the use of authorized users.
You have no expectation of privacy in it's use.^C
!
line con 0
password 7 060506324F41021001
login local
line aux 0
password 7 13061E0108030F232F
login local
transport input all
line vty 0 4
password 7 1511021F0725202D2C
login local
!
end
=============================================

Again the book says that at this point the RIP routes should propagate - bu they do not.
I do a show ip route (as an example on the 2500c router) and get:

2500c#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

Gateway of last resort is not set

C 192.168.190.0 is directly connected, Ethernet0
C 192.168.180.0 is directly connected, Serial0

I try to see the protocol details as so:

2500c#show ip protocol
Routing Protocol is &quot;rip&quot;
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Routing for Networks:
192.168.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)

I turn on debug for RIP on all routers but see nothing on the consoles. I have looked at the book over and over and tried searching google for examples that might help - nothing so far.

I *feel* that the lines:

Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set

May have something to do with it, but being new to this subject I am stymied somewhat at an early stage.

Can anyone help - just a push in the right direction - I would rather solve it if I know where to look.
Thank you in advance.


<*>terminaljunkie<*>
 
Not to mention RIP automatically summarizes routing tables. Try going into global config and using this command:

router(config)#router rip
router(config-router)#no auto-summary

This will increase the size of the routing table but should show everything that is connected under the 192.168.0.0 subnet.

Hope that helps you understand what is happening a little bit.



 
No, I can obviously ping neighbouring routers because of their direct connection addresses (192.168.180.1 can ping 192.168.180.2 for example). But their are no routes propagating through the network for any carrier activity between routers to take place.

I was expecting RIP (once active) to provide these routes by redistributing throughout the network, but that does not happen.

I still cannot figure out why. I just removed the RIP configs and added the routes statically - worked first time, so removed the static entries again and added RIP as per the book, looks the same as the posted configs and does not work.

:-(
 
Now I am a little confused to say the least.
Went to 2500b and did the no auto-summary, OK.
Went to 2500a and did likewise, but it does not like the command no auto-summary - the same on 2500c

Looking at the show ver on these routers, I have:

2500a
=====
IOS (tm) 3000 Software (IGS-J-L), Version 11.0(15)SC02, RELEASE SOFTWARE (fc1)

2500b
=====
IOS (tm) 2500 Software (C2500-I-L), Version 11.2(17)P, RELEASE SOFTWARE (fc1)

2500c
=====
IOS (tm) 3000 Software (CPA25-Y-L), Version 11.0(6), RELEASE SOFTWARE (fc1)


*Could* I have some sort of incompatibility or missing features on my routers?

Thanks again.

<*>terminaljunkie<*>
 
I managed to upgrade the 2500a router to IOS 11.2 - so I have that and 2500b working on the same'ish version.
I am still unable to get any RIP working, and now even more confused.....I have a new command in auto-summary (or no auto-summary to be exact) but it does nothing for my configuration.

Anyone any clues?

Thanks again.

<*>terminaljunkie<*>
 
Sorry about the no auto-summary if you want I'll explain the purpose of the command latter. It wouldn't have helped a routing problem.

try using this from 2500a

go back to the router-config mode

neighbor 192.168.160.2

then do the same thing from 2500b but use the next address of 2500c

neighbor 192.168.180.1

RIP Version 2 supports automatic route summarization by default. The software summarizes subprefixes to the classful network boundary when crossing classful network boundaries.

If you have disconnected subnets, disable automatic route summarization to advertise the subnets. When route summarization is disabled, the software transmits subnet and host routing information across classful network boundaries. To disable automatic summarization, use the following command in router configuration mode:


 
Hey, I hope I didn't seem ungrateful, I know you were trying to help :)

I'm back at work now, but I will be trying that for sure this evening (when I do all my studying).

Thanks again.

<*>terminaljunkie<*>
 
192.168.0.0 is a class c address. Right now you are only advertising the subnet 192.168.0.xxxx which you actually do not have. So to get rip working for those subnets you do have you will need to advertise the networks connected to each router. Route summarization might have been a factor if you had been using a class a address like 10.0.0.0 but it is not an issue here.
so for Router 2500a enter
router rip
network 192.168.150.0
network 192.168.160.0

Router 2500b
router rip
network 192.168.170.0
network 192.168.180.0
network 192.168.160.0

Router 2500c
router rip
network 192.168.190.0
network 192.168.180.0

 
Scratches head, shiznet...I knew that why didn't I see that?? Smacks self in forehead, exclaims the Homer Simpson, &quot;Duohh!&quot;.

GAVEEVE, is 100% correct!!!!!!

 
I cannot believe I totally looked right passed that....someone should take my rollover cable away. Going to mark Gaveeve post as helpful.

TerminalJunkie, I was not saying you are ungreatful was simply trying to say why I was saying to use no auto-summ command. Gaveeve gave some good info on that as well. Still shaking my head at what I said thinking what the hell was I thinking when I said it!!???!!!???

So no worries....
 
tschouten, I was surprised myself that you didn't see this as I count you as much more able than myself. So terminaljunkie be encouraged, as even the gurus need help on an off day.
 
To you all.

Thanks very much....from one who hopes one day to hit the Cisco heights.

Looking at the textbook and trying to understand where I went wrong, I think the following is true (please comment if I am mistaken):

Todd is using a 172.16.n.n class and using a classful boundary, in his scenario he only advertised the 172.16.0.0 and allowed RIP to find and advertise the subnets he had created.....I tried to copy this without reasoning that 172.16.0.0 was in fact a class B network and therefore he was subnetting it with a mask of 255.255.255.0 to create networks beneath that.

I'm in no position to be a critic of his work, but to me, that was not really explained very well in the lab example, then again I have to blame myself for not examining the address ranges correctly.

Again thanks....I am sure I will have more questions over time, though I hope that going forward these will become less frequent!




Best Regards,

<*>terminaljunkie<*>
 
Bingo,

Think of it like this RIP is stupid by nature. It says I have a CLASS boundary. If you break that boundary by going outside of it RIP says uhmm I don't understand that address. So you would need to help RIP understand it by placing the other subnet into his boundary. Or by building a boundary that contains the address.

Does that make sense to anyone??? I feel like I lost something in translating that from my head to here.

shrug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top