BIRD 2.0.2 segfaulting

Ondrej Zajicek santiago at crfreenet.org
Tue Nov 6 12:44:04 CET 2018


On Tue, Nov 06, 2018 at 01:56:29PM +0700, Clemens Schrimpe wrote:
> > You can use filters: show route table r4 where net.asn = 4711
> 
> But 
> 
> 	show route table r4 where net = 1.1.1.0/24 
> or even
> 	show route table r4 for 1.1.1.1
> 
> doesn’t work. It that by design or just an oversight?

Confusingly, 'net' represents whole route key, not just prefix.

For IP route it is just prefix, while for ROA it is prefix, maxlen and
asn. Its parts can be accessed using kewords ip, len, maxlen and asn.
Therefore, this should work:

	show route table r4 where net.ip = 1.1.1.0

But note that like all 'show route where' variants, it has ti iterate
through whole routing table. (Unlike show route NET. which does direct
lookup).

-- 
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."



More information about the Bird-users mailing list