bird: show route behaviour

Hans van Kranenburg hans.van.kranenburg at mendix.com
Sun Feb 24 20:11:38 CET 2013


Hi,

On 02/24/2013 07:40 PM, Ondrej Filip wrote:
> On 24.2.2013 19:35, Hans van Kranenburg wrote:
>>
>> How should the output of the following command in Dans example be
>> interpreted?
>>
>> bird> show route export nix1_nix
>> 4.4.4.0/24         via 172.17.1.1 on eth0 [s_master 00:29] * (200)
>> 5.5.5.0/24         via 172.17.1.1 on eth0 [s_nix 00:29] * (200)
>> 6.6.6.0/24         via 172.17.1.1 on eth0 [s_tranzit 00:29] * (200)
>>
>> I guess it should be done like: "these are the routes that could
>> possibly be exported from table master via table t_nix to nix1_nix if
>> none of them were being filtered"? This does not make any sense to me as
>> default output.
> 
> No, that are routes from master table that could be exported to
> protocol nix1_nix filtered by import protocol. But anyway.

Hm, I'm trying to understand this, while reading the documentation:

show route [[for] prefix|IP] [table sym] [filter f|where c]
[(export|preexport) p] [protocol p] [options]

 * Show contents of a routing table (by default of the main one)
 * The export and preexport switches ask for printing of entries that
are exported to the specified protocol.

But there are no entries from table master exported to nix1_nix.

I don't mean to bother you with all my questions, I'm interested to
understand how bird works, and I guess I should stop here and start
reading the C code instead. >:)

-- 
Hans van Kranenburg - System / Network Engineer
T +31 (0)10 2760434 | hans.van.kranenburg at mendix.com | www.mendix.com



More information about the Bird-users mailing list