From: syv (syv@911networks.com)
Date: Wed Jan 15 2003 - 20:08:48 GMT-3
Hi,
The layout is simple:
OSPF ---- s1 R3 fa0 ---- RIPv2 --- R6
How to make so that RIP thinks that s1 is in OSPF and not in
RIP?
If I do a distribute-list in RIP, it will stop the OSPF
route redistribution into RIP.
R3S1: 131.108.5.3/24
R3fa0: 131.108.1.3/24
Passive-interface prevents sending routes out of that
interface, but RIP still considers s1 as RIP since it
matches the classful network statement.
R6 thinks that R3S1 is sourced by RIP and not by OSPF
R6 Debug IP RIP shows that 131.108.5.0 is from RIP.
Jan 15 14:57:28.798 PST: RIP: build flash update entries
Jan 15 14:57:28.798 PST: 131.108.1.0/24 via 0.0.0.0, metric 1, tag 0
Jan 15 14:57:28.798 PST: 131.108.2.0/24 via 131.108.1.6, metric 2, tag 0
Jan 15 14:57:28.798 PST: 131.108.3.0/24 via 131.108.1.7, metric 2, tag 0
Jan 15 14:57:28.798 PST: 131.108.4.0/24 via 0.0.0.0, metric 6, tag 0
Jan 15 14:57:28.802 PST: 131.108.5.0/24 via 0.0.0.0, metric 1, tag 0
Here is the R3 configuration
interface Serial1
ip address 131.108.5.3 255.255.255.0
!
interface FastEthernet0
ip address 131.108.1.3 255.255.255.0
!
router ospf 10
router-id 10.254.3.3
redistribute rip metric-type 1 subnets tag 123
network 131.108.5.0 0.0.0.255 area 1
default-metric 121
!
router rip
version 2
redistribute ospf 10
passive-interface default
no passive-interface FastEthernet0
network 131.108.0.0
default-metric 6
no auto-summary
!
Sh ip protocols
=-=-=-=-=-=-=-=-
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 16 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
Default redistribution metric is 6
Redistributing: rip, ospf 10 (internal, external 1 & 2, nssa-external 1 & 2)
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
131.108.0.0
Passive Interface(s):
Serial0
Serial1
Serial2
Routing Information Sources:
Gateway Distance Last Update
131.108.1.6 120 00:00:10
131.108.1.7 120 00:00:02
Distance: (default is 120)
-- Thanks syv@911networks.com .
This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:50 GMT-3