Birdc OSPF propagate connected networks from VLANs

viker viker at viker.cz
Tue Jan 12 11:06:16 CET 2016


Thank You Anton,
finally somebody with clean answer :)
See you on freenode :)
Viker

On 01/12/2016 10:42 AM, Anton Danilov wrote:
> Hello!
>
> You have two ways to announce the connected subnets:
>
> 1. Define the direct protocol and export this route to ospf. This
> routes will be anounced as external.
> 2. Enable ospf in passive mode on the corresponded interfaces.
>
> To get quick answers join the #bird on freenode irc.
>
>
> 2016-01-12 10:56 GMT+03:00 viker <viker at viker.cz>:
>>
>> On 01/06/2016 09:26 AM, viker wrote:
>>> Hello everybody,
>>> i have a strange problem with propagation of subnets to OSPF area.
>>> scheme:
>>>
>>> ---------------     Area 0          -----------------
>>> -- Router1 -- ------------------ -- Router 2 --
>>> ---------------                         -----------------
>>>       | LAGG iface                        | LAGG iface
>>>
>>> On both routers are bonded ifaces in LAGG. When i create vlan on LAGG
>>> trunk (i'm on FreeBSD 10.2. bird 1.5.0), i have in route export only
>>> ip/32 on vlan iface, not whole subnet.
>>> Configuration of bird:
>>>
>>>
>>> #### Main ####
>>> log "/var/log/bird.log" all;
>>> router id XXX.XXX.XXX.XXX;
>>> debug protocols all;
>>>
>>> protocol static {
>>>     route YYY.YYY.YYY.YYY/NN via "vlanXX";
>>>     export all;
>>>     import all;
>>> }
>>>
>>> protocol device {
>>>     scan time 120;
>>>     export all;
>>> }
>>>
>>> protocol kernel
>>> {
>>>         learn;
>>>         persist;
>>>         scan time 30;
>>>         import all;
>>>     export all;
>>> }
>>>
>>> protocol ospf
>>> {
>>>         import filter {
>>>                 accept;
>>>         };
>>>         export all;
>>>         area 0.0.0.0 {
>>>                 interface "ix0" {
>>>                         cost 10;
>>>                         type broadcast;
>>>                         hello 10;
>>>                         retransmit 5;
>>>                         wait 15;
>>>                         dead 30;
>>>                 };
>>>
>>>                 networks {
>>>                         10.0.0.0/8;
>>>                         172.16.0.0/12;
>>>                         192.168.0.0/16;
>>>                 };
>>>         };
>>> };
>>>
>>>
>>> Interesting thing is , when i import subnet to main table via :route
>>> XXX.XXX.XXX.XXX via "vlanXXX"; in static protocol and do birdc
>>> configure, propagation is working.
>>> So it seems to me that protocol device (or kernel) is not correctly
>>> importing created subnet into main table.
>>> Any ideas ?
>>> Thank You All
>>>  Viker
>>>
>> No reaction ? nobody has bird 1.5.0 on freebsd 10.2 with this issue ?
>> What about at least some information on which section could be problem ?
>> Viker
>>
>> --
>>
>>
>> S pozdravem Vilem Kebrt
>> email: viker at viker.cz
>> tel: +420 604 550 132
>>
>
>

-- 


S pozdravem Vilem Kebrt
email: viker at viker.cz
tel: +420 604 550 132



More information about the Bird-users mailing list