cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
362
Views
0
Helpful
6
Replies

RIP and OSPF

msmoon
Level 1
Level 1

There are three routers, R1, R2, R3

They are straightly connect each like follow R1--R2---R3.

And their major networks is 10.0.0.0 and each interfaces has 24bit ip address.

If configure routing protocol on R1

router rip

version 2

network 10.0.0.0

router ospf 100

network 10.0.0.0 0.255.255.255 area 0

and R2

router rip version 2

network 10.0.0.0

router ospf 100

network 10.0.0.0 0.255.255.255 area 0

But, R3

Router rip

network 10.0.0.0

R1 has network 10.1.1.0/24, 10.1.2.0/24, 10.1.3.0/24

I found R2 has above three networks in Ip ospf database.

but R2 ignore above three networks by RIP protocol

In Other words, R1 knows networks on R2, R3

R2 knows networks on R1, R3.

R3 knows networks on R2 but R1

What is the problem ?

I found that R2 ignored the table advertised by R1 when i apply debug ip rip on R2.

6 Replies 6

agugger
Level 1
Level 1

Check the function of the ADMINISTRAVE DISTANCE. Its value (0-255) to measure trusts of routes in the routing table. This not the metric, costs or hope-counts OSPF (110) overrides the RIP (120) entries.

.

deilert
Level 6
Level 6

.

you might try the interface commands "ip rip send version1"," ip rip receive version 1" in R2 on the interface facing r3. I'm assuming that the "ignore" messages are not really a part of the problem. There are a lot of valid "ignores" in RIP. Have you tried turning off ospf in r2 to see if it learns r1 routes through rip?

I fixwd config of R3

Router rip

version 2

network 10.0.0.0

and then I couldn't find networks of R1 on Rip database of R2.

only found in ospf database.

you may want to add the 'no auto summary' command under your Rip config on each router

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: