Re: OSPF to RIP redistribution

From: Richard Hanks (ccieingroup@hotmail.com)
Date: Sat Jan 04 2003 - 18:52:19 GMT-3


Please go to read the topic in this link :
http://www.cisco.com/en/US/tech/tk648/tk365/technologies_tech_note09186a00800
93fdd.shtml

in which it mentions that if the secondary address is in the same major
network as the primary link, if split-horizon is enabled, it wouldn't updates
on the secondary address link in Rip. AFter I disable the spilt horizen, the
/30 updates go to the R2, but still has some problem. BTW, if your r6 and r2
is connecting by thr FR, have you ever tried to use the FR subinterface, I
have tried it in my lab, it works. BTW, from your description, the link
between your r6 and r2 is FR physical, which by default, the splithorizen
should be disabled, so the /30 updates should go to the R2. Please go to check
the split horizen status of your routers and let me know where the problem
happened.

RGds,
Richard Hanks
  ----- Original Message -----
  From: Ccie candidate
  To: ccielab@groupstudy.com
  Sent: Thursday, January 02, 2003 12:47 PM
  Subject: OSPF to RIP redistribution

  Hi everyone,

  I have the following setup. I was trying to do secondary address solution(on
RIP routers) for OSPF to RIP redistribution to get the OSPF routes with
different subnets than RIP.

  R4(to)------(t0/0)R6(s0/0-FR) ------(s5/1-FR) R2

  R4 and R6 is running OSPF
  R6 and R2 is running RIP v1.
  Interface information:
  R6 s0/0 ---> 148.9.100.1/24
  R6 t0/0 ---> 148.9.1.2/30
  R4 t0 ---> 148.9.1.1/30
  R2 s5/1---> 148.9.100.2/24

  The following are the configs for each router.

  R6

  router ospf 54
  log-adjacency-changes
  summary-address 130.0.0.0 255.0.0.0
  redistribute rip metric 10 subnets
  network 148.9.1.2 0.0.0.0 area 0

  router rip
  redistribute ospf 54 metric 2
  network 148.9.0.0

  R2

  router rip
  network 148.9.0.0

  R4

  r4-ccie#sh run | be router ospf

  router ospf 54
  log-adjacency-changes
  network 148.9.1.0 0.0.0.3 area 0
  network 148.9.1.8 0.0.0.3 area 0
  network 148.9.4.0 0.0.0.255 area 0
  network 160.1.1.0 0.0.0.255 area 0

  R6#sh ip route ospf

  160.1.0.0/32 is subnetted, 1 subnets

  O 160.1.1.1 [110/7] via 148.9.1.1, 00:06:14, TokenRing0/0
  148.9.0.0/16 is variably subnetted, 7 subnets, 2 masks
  O 148.9.1.8/30 [110/7] via 148.9.1.1, 00:06:14, TokenRing0/0
  O 148.9.4.0/24 [110/7] via 148.9.1.1, 00:06:14, TokenRing0/0
  O 130.0.0.0/8 is a summary, 01:03:53, Null0

  R6#

  R2 learns rip updates from R6 matching subnet /24, others (such as
160.1.1.0) only major network address itself is included in the
advertisement.

  R2#sh ip route rip

  R 160.1.0.0/16 [120/2] via 148.9.100.1, 00:00:11, Serial5/1
  148.9.0.0/24 is subnetted, 5 subnets
  R 148.9.4.0 [120/2] via 148.9.100.1, 00:00:11, Serial5/1
  R 148.9.6.0 [120/1] via 148.9.100.1, 00:00:11, Serial5/1

  R2#

  Now to learn other networks with different subnets (such as 148.9.1.0/30 and
148.9.1.8/30) I have added the secondary address to the R2(s5/1) and R6
(s0/0)

  R6 (s0/0)

  interface Serial0/0
  ip address 148.9.1.65 255.255.255.252 secondary
  ip address 148.9.100.1 255.255.255.0

  R2 (s5/1)

  interface Serial5/1
  description to (FR s1/6)
  ip address 148.9.1.66 255.255.255.252 secondary
  ip address 148.9.100.2 255.255.255.0

  This is (bolded entries) what happens.
  **148.9.1.0/30 and 148.9.1.8/30) did not show up in the rip routing table.

  R2#sh ip route rip

  R 160.1.0.0/16 [120/2] via 148.9.100.1, 00:00:15, Serial5/1
  148.9.0.0/16 is variably subnetted, 8 subnets, 2 masks
  R 148.9.4.0/30 [120/2] via 148.9.100.1, 00:00:15, Serial5/1
  R 148.9.4.0/24 [120/2] via 148.9.100.1, 00:01:10, Serial5/1
  R 148.9.6.0/30 [120/1] via 148.9.100.1, 00:00:15, Serial5/1
  R 148.9.6.0/24 [120/1] via 148.9.100.1, 00:01:10, Serial5/1

  R2#

  Using "ip summary-address rip 148.9.1.0 255.255.255.0" on the R6(s0/0) adds
148.9.1.0/30 but not the 148.9.1.8/30. Actually summary is not allowed.

  Any idea ?

  Thanks

  Kafkaf

  ---------------------------------
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up now
  .
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:41 GMT-3