Hot Downloads

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

TOPIC: Default route redistribution

Default route redistribution 11 years 1 month ago #10821

  • eye
  • eye's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hi,

I have three routers connected via switch.R1 has address 192.168.1.2/24 and R2 has 192.168.1.3/24.Both routers are running RIP.I'm trying to redistribute default route from R1 to R2.Default route points to R3 ip 192.168.1.1/24.I've tried with redistribute static rip command,but that's not working.With EIGRP everything is fine.What I'm doing wrong?Thanks.

Regards
The administrator has disabled public write access.

Re: Default route redistribution 11 years 1 month ago #10855

  • RedRanger
  • RedRanger's Avatar
  • Offline
  • Distinguished Member
  • Be Awesome
  • Posts: 136
  • Karma: 0
Please don't tell me you used RIP on any network. RIP is one of the most primative routing protocols out there. I am personally a fan of OSPF. It gives me a little bit of practice with everything: Wildcard, A.S. Numbers, hello packets, etc. RIP may not have recognized the default route that you have entered. Also, keep in mind that RIP has an Administrative Distance of 120. EIGRP has an Administrative Distance of 5. Big difference. You are practically guaranteed routes with EIGRP. Don't use RIP version 1 or 2 for your own sake. :lol:
RedRanger

"I'd Rather You Hate Me For Everything I Am Than Love Me For Something I'm Not."

Be Awesome
The administrator has disabled public write access.

Re: Default route redistribution 11 years 1 month ago #10953

  • eye
  • eye's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Thanks for replay I do not use RIP in production network,do not worry.I am preparing my self for CCNA exam and trying to set up some lab to get better understanding.I do not understand why RIP would not recognize default route?!

Regards.
The administrator has disabled public write access.

Re: Default route redistribution 11 years 1 month ago #10967

  • mew
  • mew's Avatar
  • Offline
  • Frequent Member
  • Posts: 77
  • Karma: 0
eye, you have three routers connected to the same network via there Ethernet (or possibly their fastethernet) interfaces. This configuration is used in the Cisco curriculum with OSPF to demonstrate the election of the DR.

You want connect the three routers via their serial interfaces to perform the CCNA lab that demonstrates the redistribution of a default route. Don’t forget to put clock rates on the DCE side of your WAN connections.

Assuming R1’s S0 is connected to R2’s S0 and R2’s S1 is connected to R3’s S0 and each router has one Ethernet interface you have a topology with three LAN’s and two WAN’s. This means that for simplicity you should use 4 class C addresses and one class A or B to complete the experiment (I will use a class B). Configure router rip only on routers R2 and R3. To have a default route on R2 that points to R1 and have it dynamically propagated to R3 configure the following on R2:

R2(config)#router rip
R2(config-router)#network 192.168.0.0
R2(config-router)#network 192.168.3.0
R2(config-router)# default-information originate

R2(config)#IP route 0.0.0.0 0.0.0.0 192.168.2.1

This assumes you use 192.168.0.0 and 192.168.1.0 for the LAN’s on R2 and R3 respectively and you use 192.168.2.0 and 192.168.3.0 for the WAN’s with 192.168.2.0 between R1 and R2 with R1’s serial 0 having an ip address of 192.168.2.1/24 and R2’s serial 0 having an ip address of 192.168.2.2./24

Configure router rip on R3 as follows:

R3(config)#router rip
R3(config-router)#network 192.168.3.0
R3(config-router)#network 192.168.1.0

R1 should be configured only with a static route as follows:

R1(config)# ip route 192.168.0.0 255.255.252.0 192.168.2.2
(not a typo the network address is 192.168.0.0/22)

R1 should also have the ip address of 172.16.0.1 255.255.0.0 on its Ethernet interface.

R3 should have a default route in its routing table. I am assuming you have configured all interfaces with the proper ip address and have the Ethernet interfaces up and up by way of using the no keepalive command on the Ethernet interfaces or by connecting hosts to them. If you use PC’s configure them with appropriate ip addresses and you should be able to ping from any host (pc) to any other host.

If you use no keep in the Ethernet interfaces you will need to use extended ping to test the connectivity and proper routing.
The administrator has disabled public write access.

Re: Default route redistribution 11 years 1 month ago #10974

  • eye
  • eye's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Thans mew,

But I do not want to connect routers via serial ports but via switch over ethernet.Anyway I found that default route was not advertised because of split horizon rule.When I disabled SH it worked.Thank you for your effort.

Regards.
The administrator has disabled public write access.

Re: Default route redistribution 11 years 1 month ago #10995

  • mew
  • mew's Avatar
  • Offline
  • Frequent Member
  • Posts: 77
  • Karma: 0
Would you mind satisfying my curiosity as to why you want to use Rip when connecting routers to the same LAN?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.081 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