change src in imported routes
Jaroslav Jirásek
jirasek at sauron.cz
Mon Jan 2 10:49:18 CET 2012
I'm sorry, it works. I change configuration with birdc "configure soft"
Jirasek
On Mon, 2 Jan 2012 01:49:22 +0100, Ondrej Zajicek wrote:
> 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) ?
More information about the Bird-users
mailing list