我已经配置了 ospf,如下所示:
猫/etc/quagga/ospfd.conf
!
! Zebra configuration saved from vty
! 2017/05/31 10:13:20
!
...
...
...
!
interface foo1
description Tunnel foo1
ip ospf cost 250
ip ospf dead-interval minimal hello-multiplier 4
!
router ospf
ospf router-id 10.0.0.1
log-adjacency-changes
compatible rfc1583
timers throttle spf 200 400 10000
redistribute kernel
network 10.0.0.0./24 area 0.0.0.1
network 192.168.0.0/16 area 0.0.0.0
!
line vty
!
完成我的配置并保存后,ospf 工作正常,配置保存在 /etc/quagga/ospfd.conf 中。
问题是当我重启我的机器(它是一台 vps)时,配置文件没有改变,但 quagga 配置已经改变。当我使用 telnet 进入端口 2604 并输入“show running config”时,它显示了以下内容:
ospfd# show running-config
Current configuration:
!
...
...
...
!
interface foo1
description Tunel foo1
ip ospf network broadcast
ip ospf cost 250
ip ospf dead-interval minimal hello-multiplier 4
!
router ospf
ospf router-id 10.0.0.1
log-adjacency-changes
compatible rfc1583
timers throttle spf 200 400 10000
redistribute kernel
network 10.0.0.0./24 area 0.0.0.1
network 192.168.0.0/16 area 0.0.0.0
!
line vty
如你所见,拓扑发生了变化从点对点到广播。因此每次重启后我都必须手动将 ip ospf 网络更改为点对点。
有人能帮我吗?