bird 2 and vpn4 mpls

2018-08-06 Thread Chris Herdt
Following the example at https://github.com/BIRD/bird/
blob/v2.0.2/doc/bird.conf.example2, I set up a simple bird config (see
below).

It is working, but I am not certain what the '---' in the table column of
the output of `show protocols` means. I expected the column to display
vpntab4.

$ sudo /usr/local/sbin/birdc show protocols
BIRD v2.0.2 ready.
Name   Proto  Table  State  Since Info
peer1  BGP---up 17:14:48.474  Established


The output of `show route count` shows that there are routes in table
vpntab4:

$ sudo /usr/local/sbin/birdc show route count
BIRD v2.0.2 ready.
0 of 0 routes for 0 networks in table master4
0 of 0 routes for 0 networks in table master6
9581 of 9581 routes for 9581 networks in table vpntab4
Total: 9581 of 9581 routes for 9581 networks in 3 tables


The contents of my bird.conf:

log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
log stderr all;

router id 127.0.0.1;

vpn4 table vpntab4;

protocol bgp peer1 {
local as 65321;
neighbor 192.168.1.1 as 65321;
hold time 180;
vpn4 mpls {
import all;
};
}


Thanks,

-- 
Chris Herdt
https://osric.com/chris/


Re: Bird 2 and device routes switch in kernel configuration section

2018-08-06 Thread Julien Dessaux

On 2018-08-03 16:45, Ondrej Zajicek wrote:

On Fri, Aug 03, 2018 at 03:24:46PM +0200, Julien Dessaux wrote:

Hello,

I have found something odd will try testing bird 2 with some of my
configurations. It seems that the "device routes on" in the kernel
configuration section doesn't exist anymore. The documentation still
references it in the introduction for the kernel section, but not in 
the

detailed list of configuration entries :
http://bird.network.cz/?get_doc=20=bird-6.html#ss6.6 . For 
reference,

here it is also for bird 1.6 :
http://bird.network.cz/?get_doc=16=bird-6.html#ss6.6


Hello

The 'device routes' option was removed as it is on by default, i.e.
device routes are handled as regular routes. If someone wants to keep 
the
old behavior (device routes off), it can be done using the export 
filter.


The notice in the documentation in the introduction for the kernel
section should be removed/modified, we missed that. Thanks.



Thank you, that was it!
---
Julien



signature.asc
Description: OpenPGP digital signature