change src in imported routes

Ondrej Zajicek santiago at crfreenet.org
Mon Jan 2 01:49:22 CET 2012


On Mon, Jan 02, 2012 at 12:30:00AM +0100, Jaroslav Jirásek wrote:
> Hi
>
> I need to change preffered source in imported routes (in ospf protocol)
>
> I tried import filter { krt_prefsrc = some.ip.of.router; accept; };
>
> but it doesnt work for me. Is there any way to change this?

BTW, using this in import from OSPF works for me:


bird> show route all

...
192.168.42.192/29  via 81.92.145.129 on eth0 [ospf1 01:44] * I (150/15) [192.168.43.1]
        Type: OSPF unicast univ
        OSPF.metric1: 15
        OSPF.metric2: 16777215
        OSPF.tag: 0x00000000
        OSPF.router_id: 192.168.43.1
        Kernel.prefsrc: 1.2.3.4
...


You don't have Kernel.prefsrc here (if you use that import filter) ?


-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120102/e416cca0/attachment-0001.asc>


More information about the Bird-users mailing list