我需要/想从Quagga迁移到鸟,经过几次Quagga,即在拉伸更新之后,Quagga停止工作.。
鸟类也更加灵活和现代。
我有我的OSPF绑定在Quagga的任何配置,并希望以类似的方式设置OSPF服务的鸟。
该怎么办呢?
我的/etc/quagga/ospfd.conf是:
!
! Zebra configuration saved from vty
! 2011/03/22 21:17:11
!
hostname dns
password 8 xxxxxxx
enable password 8 xxxxxxx
log stdout
service password-encryption
!
!
!
interface dummy0
ip ospf cost 100
!
interface dummy1
ip ospf cost 500
!
interface dummy2
ip ospf cost 1000
!
interface dummy3
ip ospf cost 900
!
interface eth0
ip ospf authentication message-digest
ip ospf message-digest-key 5 md5 MySecretPassword
ip ospf cost 1000
!
interface eth1
ip ospf cost 1000
!
interface lo
!
router ospf
ospf router-id 1.1.1.1
auto-cost reference-bandwidth 10000
network 1.1.1.0/22 area 0.0.0.0
network 2.2.2.2/32 area 0.0.0.0
network 3.3.3.3/32 area 0.0.0.0
network 4.4.4.4/32 area 0.0.0.0
network 5.5.5.5/32 area 0.0.0.0
area 0 filter-list prefix AREA_1_OUT out
!
ip prefix-list AREA_1_OUT seq 5 permit 2.2.2.2/32
ip prefix-list AREA_1_OUT seq 10 permit 3.3.3.3/32
ip prefix-list AREA_1_OUT seq 15 permit 4.4.4.4/32
ip prefix-list AREA_1_OUT seq 20 permit 5.5.5.5/32
ip prefix-list AREA_1_OUT seq 25 deny any
!
line vty
!发布于 2017-07-26 16:10:31
在解决了这里描述的从Quagga到的OSPF md5加密和OSPF航路费用中的问题之后,迁移的其余部分相对容易一些。
要获得同等的服务,步骤如下:
sudo dpkg --purge quagga
sudo apt-get install bird
sudo chkconfig bird6 off
sudo service bird6 stop然后需要在/etc/bird/bird.conf中创建设置,如下所示:
#
router id 1.1.1.1;
# The Device protocol is not a real routing protocol. It doesn't generate any
# routes and it only serves as a module for getting information about network
# interfaces from the kernel.
protocol device {
scan time 10;
}
protocol ospf {
tick 2;
rfc1583compat yes;
area 0.0.0.0 {
networks {
1.1.1.0/22;
};
stubnet 2.2.2.2/32 {
cost 100;
};
stubnet 3.3.3.3/32 {
cost 500;
};
stubnet 4.4.4.4/32 {
cost 1000;
};
stubnet 5.5.5.5/32 {
cost 900;
};
interface "eth0" {
cost 1000;
password "MySecretPassword" {
id 5;
};
authentication cryptographic;
};
interface "dummy0" {
stub;
};
interface "dummy1" {
stub;
};
interface "dummy2" {
stub;
};
interface "dummy3" {
stub;
};
};
}修改配置后:
sudo service bird restart若要检查本地服务器上的服务:
sudo birdc然后
show status和
show ospf 和
show ospf state和
show ospf neighbors我没有找到一份直截了当的文件,也没有找到很多关于Quagga共存和迁徙到鸟类的信息,所以决定在这里记录下来。
我没有同时迁移我的所有Quagga服务器/ OSPF节点,因为这两种配置是相似的,并且彼此之间(显然是通过OSPF协议)。
https://unix.stackexchange.com/questions/381962
复制相似问题