Re: change src in imported routes
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) ?
participants (1)
-
Jaroslav Jirásek