Swap route priority in different routing tables

Gianguido rokafeller at yahoo.com
Fri Dec 4 15:39:51 CET 2020


thanks a lot, I did further research following up your last message, and 
by adding another 'instance id' in the interface declaration I managed 
to have two OSPF instances running independently and contemporarily on 
the same interfaces, each one feeding its own kernel routing table. it 
works perfectly.
For future reference, instance basic declaration looks like this:

protocol ospf main{
  ecmp yes;
  export all;
  import filter defilter;
  area 0 {
     interface "wg5"   {type ptp;cost 30;ecmp weight 10;};
     interface "tun50" {type ptp;cost 30;ecmp weight 50;};
      };
}

protocol ospf lowlatency{
  table lowlatency;
  export none;
  import all;
  area 0 {
     interface "tun50" instance 1 {type ptp;cost 40;};
     interface "wg5"   instance 1 {type ptp;cost 30;};
         };
}


thanks
Daniele

On 01/12/2020 16:43, Ondrej Zajicek wrote:
> On Thu, Nov 26, 2020 at 03:09:25PM +0100, Gianguido wrote:
>> Can I assign the same interfaces to two independent OSPF instances?
> Yes, if they use different 'instance id' (RFC 6549). Note that RFC 6549
> is an extension, it is supported by BIRD, but not necessary by other OSPF
> implementations.
>


More information about the Bird-users mailing list