[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zebra
Subject:    [zebra 20469] Re: kerner route distribution into ospf
From:       Paweł Kowalski <kowal () kowal ! eu ! org>
Date:       2003-09-14 6:51:39
[Download RAW message or body]

On Sun, 14 Sep 2003 08:36:46 +0200
Paweł Kowalski <kowal@kowal.eu.org> wrote:

> Hi,
> 
> Is it possible to distribute a kernel route info ospf with
> user-defined metric?
> 
> This is my setup:
> 
> (router a) ---------[ospf cost 50]--------------- (router b)
> 
> (b) has:
> [...]
> redistribute kernel metric x
> [...]
> 
> and:
> ip route add a.b.c.d via e.f.g.h metric y
> 
> (a) learns this route from ospf, but with metric 50, not 50+y (or even
> +x).
> 
> How to make it work?

And one more thing. This is what ``ip route'' on (b) says:
 a.b.c.d via e.f.g.h dev eth3  metric y

and zebra @ (b):
telnet localhost 2601
 z> show ip route a.b.c.d
Routing entry for a.b.c.d/32
  Known via "kernel", distance 0, metric 0, best
  * d.e.f.g, via eth3

z> show ip route kernel 
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       B - BGP, > - selected route, * - FIB route

K>* 127.0.0.1/32 is directly connected, lo
K>* a.b.c.d/32 via e.f.g.h, eth3


> Thanks in advance,
> Paweł Kowalski.
_______________________________________________
Zebra mailing list
Zebra@ml.zebra.org
http://ml.zebra.org/mailman/listinfo/zebra

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic