天天看点

build FRR on ubuntu

<a href="https://github.com/FRRouting/frr/wiki/Building-FRR-on-Ubuntu-1404" target="_blank">https://github.com/FRRouting/frr/wiki/Building-FRR-on-Ubuntu-1404</a>

Add packages:

(You may prefer different options on configure statement. These are just an example.)

derek@kbox:~/share/frr$ autoreconf -i

.ibtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4

autoreconf: libtoolize failed with exit status: 1

在项目的根目录下添加如下.gitattributes文件便可

Edit <code>/etc/sysctl.conf</code> and uncomment the following values (ignore the other settings)

Reboot or use <code>sysctl -p</code> to apply the same config to the running system ### Install the init.d service

Edit <code>/etc/frr/daemons</code> and change the value from "no" to "yes" for those daemons you want to start by systemd.

For example.

sudo /etc/init.d/frr start

use <code>/etc/init.d/frr status</code> to check its status.

sudo vtysh