question : broadcast kernel table via OSPF

Ondrej Zajicek santiago at crfreenet.org
Mon Apr 21 11:52:38 CEST 2014


On Sat, Apr 19, 2014 at 10:28:02AM +0800, bino at indoakses-online.com wrote:
> Dear All.
> 
> I really appreciate your help
> 
> >>
> >> I change it to :
> >>
> >> export filter {
> >>   ospf_metric1 = 1000;
> >>   accept;
> >> };
> >
> > Yes that.
> 
> 1. New Configuration is at : http://pastebin.com/zFW8Uw5g

That is OK.

> > You could check the router-A BIRD routing table by 'show route' whether
> > the routes were imported to BIRD.
> 
> 2. from birdc4 show route, I still only got :
> bird> show route
> 10.0.0.0/24        dev bat0 [ospf1 09:08:54] * I (150/1000) [10.0.0.2]
> 172.16.3.0/24      via 10.0.0.3 on bat0 [static1 09:08:45] * (200)
> 
> While it's kernel routing table is :
> root at owrt-bino:~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.0.0        *               255.255.255.0   U     0      0        0 bat0
> 172.16.1.0      *               255.255.255.0   U     0      0        0
> br-lan
> 172.16.3.0      10.0.0.3        255.255.255.0   UG    0      0        0 bat0
> 192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
> 
> Looks like that 172.16.1.0/24 route is not imported

Yes. You should check your routes using 'ip route show' to see route
source values. Older (pre-1.4.x) versions of BIRD did not import kernel
device routes, so if you have pre-1.4.x BIRD and Batman daemon does not
use proper source value and uses RTPROT_BOOT value instead, then these
are not imported.

> > You could check logs if they do not contain warnings.
> >
> 3. Where is the Bird4 log file ?

According to your bird.conf you use logging to syslog so it depends on
your syslog config.

-- 
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/20140421/827e71e2/attachment-0001.asc>


More information about the Bird-users mailing list