bird是一个软路由,支持多种路由协议:
Both IPv4 and IPv6 (use --enable-ipv6 when configuring)
Multiple routing tables
BGP
RIP
OSPF
BFD
Babel
Static routes
IPv6 Router Advertisements
Inter-table protocol
Command-line interface (using the `birdc' client; to get some help, just press `?')
Powerful language for route filtering
Linux, FreeBSD, NetBSD, OpenBSD ports
yum install -y bird bird6
bird有一个名为birdcl的命令行工具,可以用来查看相关信息,例如:
$birdcl -s /var/run/calico/bird.ctl show protocols
BIRD 1.5.0 ready.
name proto table state since info
static1 Static master up 2017-07-25
kernel1 Kernel master up 2017-07-25
device1 Device master up 2017-07-25
direct1 Direct master up 2017-07-25
Mesh_10_39_0_105 BGP master up 2017-07-25 Established
Mesh_10_39_0_108 BGP master up 05:12:01 Established
Mesh_10_39_0_109 BGP master up 03:24:19 Established
Mesh_10_39_0_110 BGP master up 2017-07-25 Established
Mesh_10_39_0_112 BGP master up 2017-08-01 Established
Mesh_10_39_0_140 BGP master up 2017-08-01 Established
-s指定的是bird daemon的sock。