On Wed, Feb 25, 2009 at 02:04:32PM +0200, Andrew R. wrote:
> I'am configuring ospfd on FreeBSD 6.4
> 
> I want transfer, for exmple x.x.x.0/24, network to cisco routers with the
> next config:
> 
> # cat /usr/local/etc/ospfd.conf
> # Global Configuration
> router-id yy.yy.yy.yy
> 
> redistribute zz.zz.zz.0/27 (ospfd host and cisco network)
> redistribute x.x.x.0/24
> 
> area 0.0.0.0 {
>   auth-type crypt
>   auth-md 1 "KE34rt#2d3)"
>   auth-md-keyid 1
>   interface vr0 { hello-interval 5
>   router-dead-time 20
>   }
> 
> }
> 
> When i start ospfd:
> 
> ]# ospfd -d
> startup
> if_del: interface vr0
> rde_asext_get: zz.zz.zz.0/27 is net LSA
> orig_rtr_lsa: area 0.0.0.0
> orig_rtr_lsa: stub net, interface vr0
> if_fsm: event UP resulted in action START and changing state for interface
> vr0 from DOWN to WAIT
> spf_calc: area 0.0.0.0 calculated
> if_act_elect: interface vr0 old dr none new dr yy.yy.yy.yy, old bdr none new
> bdr none
> orig_rtr_lsa: area 0.0.0.0
> orig_rtr_lsa: stub net, interface vr0
> orig_rtr_lsa: area 0.0.0.0
> orig_rtr_lsa: stub net, interface vr0
> if_fsm: event WAITTIMER resulted in action ELECT and changing state for
> interface vr0 from WAIT to DR
> rde_asext_get: zz.zz.zz.0/27 is net LSA
> rde_asext_get: zz.zz.zz.0/27is net LSA
> 
> No route on cisco from ospfd daemon.  Where I make mistakes?
> 

The /27 is most probably on vr0 and does not need to be redistributed.
x.x.x.0/24 will not announce anything until a route inside that /24 is
available in the FIB.

Check with ospfctl show fib <ip> that you have a valid route available.
I tested on OpenBSD -current and it works here.

-- 
:wq Claudio

Reply via email to