bird 2 and vpn4 mpls
Chris Herdt
cherdt at gmail.com
Tue Aug 7 20:44:14 CEST 2018
I explicitly added the table name in this updated config, but it still
shows '---' in the table column:
# start config
router id 127.0.0.1;
vpn4 table vpntab4;
protocol bgp peer1 {
local as 65217;
neighbor 100.66.8.129 as 65217;
hold time 180;
vpn4 mpls {
table vpntab4;
import all;
};
}
# end config
My guess was that it used the default tables for ipv4 and ipv6 -- master4
and master6 -- even though it is not receiving any routes of those types. I
added entries for those types as well, but it still shows '---' for the
table name.
# start config
router id 127.0.0.1;
vpn4 table vpntab4;
protocol bgp peer1 {
local as 65217;
neighbor 100.66.8.129 as 65217;
hold time 180;
ipv4 {
table master4;
import none;
export none;
};
ipv6 {
table master6;
import none;
export none;
};
vpn4 mpls {
table vpntab4;
import all;
};
}
# end config
Ultimately I'm trying to use the bird-lg looking glass (
https://github.com/sileht/bird-lg) with bird, and it doesn't accept '---'
as a valid table. That may be an issue with bird-lg, if '---' is an
expected value. But I've defined all the table names that appear when I run
`birdc show route count`, but it's still showing '---'.
On Tue, Aug 7, 2018 at 5:25 AM Arvin Gan <AGan at advaoptical.com> wrote:
> Hi Chris,
>
> From your config-file, table option is not assigned for protocol bgp
> peer1, but system will select the first table of given nettype. ‘---’ in
> the table column, that mean you don’t define table name, used the default
> one.
>
>
>
> table *name*
>
> Specify a table to which the channel is connected. Default: the first
> table of given nettype.
>
>
>
> Thanks
>
> Arvin
>
>
>
> *From:* Bird-users <bird-users-bounces at network.cz> *On Behalf Of *Chris
> Herdt
> *Sent:* Tuesday, August 07, 2018 12:34 AM
> *To:* bird-users at network.cz
> *Subject:* bird 2 and vpn4 mpls
>
>
>
> 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/
>
--
Chris Herdt
Web Applications Developer
267-603-1066 (home)
734-754-3585 (cell)
http://osric.com/chris/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180807/8abb37f1/attachment.html>
More information about the Bird-users
mailing list