安装frr
yum install readline-devel
在centos 8中quagga被frr所替代, 通过如下命令安装
dnf install -y frr
修改frr配置文件, 设置zebra=yes,设定开启的路由协议,如rip, ospf, ripng等
vim /etc/frr/daemons
![2456c38c11baa1ca1caff37f2e2adaf4.png](https://i-blog.csdnimg.cn/blog_migrate/e9eabfbea2e663390108e2c08ae385a9.jpeg)
配置/etc/frr/zebra.conf, 设置提示主机名,用户密码及使能密码
[root@centos8 ~]# cat /etc/frr/zebra.confhostname centos8.test.compassword adminsenable password enable
启动frr服务
systemctl enable --now frr
执行vrtysh进入路由编辑
[root@centos8 ~]# vtysh Hello, this is FRRouting (version 7.0).Copyright 1996-2005 Kunihiro Ishiguro, et al. cento