BIRD v1.3.8 - some notes and hamradio requests
Ondrej Zajicek
santiago at crfreenet.org
Thu Aug 30 21:01:26 CEST 2012
On Tue, Aug 28, 2012 at 02:33:44PM +0200, Gustavo Ponza wrote:
> Eureka! that patch *definitively* solved the above problem, too :)
> The BIRD behavior is now *perfectly* equal to that of quagga and
> the Mikrotik and so, for me, no other limitations to run exclusively
> the BIRD program.
> Then, that patch *MUST* definitively enter on the official BIRD
> release.
It probably will.
>> 1) your only activated interfaces in config file were ppp0, tap0 and eth0,
>> therefore no reason to propagate 44.134.33.71/32, which is just on sl0.
>> You probably want to activate these ifaces as stub ifaces ('stub' option
>> for them).
>
> My tests confirm that: declaring an 'iface' as a 'stub' is perfectly
> equal to *not activate* that 'iface', at least this happens on the OSPF
> environment. As result I obtained no OSPF activity and no prefix
> prefix propagation.
Not true. Interface as stub propagate its addresses to OSPF (at least if
it is normal broadcast iface with normal IP prefix, ptp ifaces are a bit
special), while not active iface is just ignored.
>> ifaces. BTW, from the log i see that BIRD misdetected AX.25 interfaces -
>> ifconfig says that they can't support multicast while BIRD says the can.
>
> About the disagreement between the BIRD detection and the ifconfig
> output that should be a good question for the AX.25 linux developers
> so, as time permits, I'll try to contact one of them.
It is probably a bug in BIRD.
>> Note that you can also simply add local IP or prefix for propagation
>> using 'stubnet' option. The simplest way to see what your router
>> is propagating is to find it in 'show ospf state'.
>
> I was not able to setup a 'stubnet' command to test that feature :(
> no examples found on the documentation and so any setup attempts got
> the reply: errors on configuration file...
You can use it like:
area 0.0.0.0 {
stubnet 192.168.11.0/24;
stubnet 192.168.12.0/24 { hidden; summary; };
};
It is documented here:
http://bird.network.cz/?get_doc&f=bird-6.html#ss6.5
> But, in the meantime, since I can monitor the exported routes also
> on the Mikrotik router, I discovered that my LAN prefix 192.168.1.0/
> /24 results propagated by the OSPF (FYI on quagga it does not), so,
> how can I stop the propagation of such a prefix? (and naturally for
> any other prefix I do not want to export).
Yes, it is propagated because it is on eth0, which is activated for OSPF.
You can either activate eth0 just for some of its addresses:
interface "eth0" 192.168.2.0/24 { ... }
see examples in here:
http://bird.network.cz/?get_doc&f=bird-3.html#dsc-iface
or you could suppress that prefix for propagation using stubnet option:
stubnet 192.168.1.0/24 { hidden; }
But this will not work if there is some other OSPF router connected through
192.168.1.0/24, but that is probably not an issue here.
--
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/20120830/e5a24b7b/attachment.asc>
More information about the Bird-users
mailing list