Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Rip not working

Rip not working 6 years 9 months ago #33154

Hello everyone, I working on earning a CCENT and I just got to routing, but Its not working for some reason.

I'm using packet tracer and am useing these commands:
[code:1]
Router(config)#router rip
Router(config-router)#network 192.168.0.0
[/code:1]
but when I check the routing table I only get directly connected hosts.

Is there something I'm not doing right or at all?

Thanks for any help

BTW, I could upload the packet tracer file if you want to see it
The administrator has disabled public write access.

Re: Rip not working 6 years 9 months ago #33155

You need to have another router attached to your router and it needs to be advertising out a different network for you to be seeing learned routes with the appropriate admin distance listed.
You also need to have the interfaces up up, which means applying IP addresses to the interfaces. If they're serial interfaces, remember to configure clock rates and (usually) swap the encapsulation away from the default HDLC to PPP.
IME, the best way to get this type of thing to work in a lab needs 3 routers, as that allows you to have some interesting output.
The administrator has disabled public write access.

Re: Rip not working 6 years 9 months ago #33156

One quick bit of config (using 3 routers on Packet Tracer) later:

Top router:
Int ser 0/0
ip add 100.140.10.1 255.255.255.0
encap ppp
clo rat 128000
no shut

router rip
network 100.140.10.0


Middle Router:
int ser 0/0
ip add 100.140.10.2 255.255.255.0
encap ppp
clo rat 128000
no shut

Int ser 0/1
ip add 200.140.10.1 255.255.255.0
encap ppp
clo rat 128000
no shut

router rip
network 100.140.10.0
network 200.140.10.0


Bottom:
int ser 0/1
ip add 200.140.10.2 255.255.255.0
encap ppp
clo rat 128000
no shut

router rip
network 200.140.10.0


Given the above config with three routers connected by serial cables, executing a sho ip route command on the Bottom router produces these results:

BOTTOM#sho 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

R 100.0.0.0/8 [120/1] via 200.140.10.1, 00:00:17, Serial0/1
C 200.140.10.0/24 is directly connected, Serial0/1




All routers running RiPv1, although with either version of RiP, the output at this stage would be the same except that with RiPv2, subnetted networks would be recognised.
The administrator has disabled public write access.

Re: Rip not working 6 years 9 months ago #33157

Thanks, I got mine to work from doing what you said but I noticed something weird. After I do all the "network <network addy>" commands, when I look at the running config, it changes to "network 192.168.1.0".

I changed it to version 2 but It still does the same thing.

Is this something to worry about?
The administrator has disabled public write access.

Re: Rip not working 6 years 9 months ago #33162

At the network command, you should be adding the network address, not a host address. And in either version of RIP, there is no need to add a wildcard mask to the network address input, so the complete command looks like this:

Router (config-router)#network 192.168.1.0
The administrator has disabled public write access.

Re: Rip not working 6 years 9 months ago #33169

Oh, I see, I was putting in the network ID of each interface that was connected.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.079 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup