CentOS6.5,2臺,做路由器配置實驗。基本配置如下:
R40-10 eth0:192.168.0.40,eth1:10.0.0.40
R41-172 eth0:172.168.0.41,eth1:172.16.0.41
兩臺機器安裝quagga,配置zebra和rip,組態檔如下:
R40-10的zebra.conf檔案
hostname R40-10
password 654321
enable password 654321
log file /var/quagga/zebra.log
R40-10的ripd.conf檔案
hostname R40-10
password 654321
debug rip events
debug rip packet
router rip
version 2
network 10.0.0.0/8
network 192.168.0.0/24
network eth0
network eth1
interface eth0
no ip rip authentication mode
log file /var/quagga/zebra.log
R41-172的zebra.conf檔案
hostname R41-172
password 654321
enable password 654321
log file /var/quagga/zebra.log
R41-172的ripd.conf檔案
hostname R41-172
password 654321
debug rip events
debug rip packet
router rip
version 2
network 172.16.0.0/16
network 192.168.0.0/24
network eth0
network eth1
interface eth0
no ip rip authentication mode
log file /var/log/quagg/zebra.log
ripd服務和zebra都正常運行,但是,兩個路由器的路由表里并沒有學習到對方的路由條目。
而且,在運行zebra -d和ripd -d的時候,顯示錯誤:can't open logfile /var/log/quagg/zebra.log
該檔案的權限改成777,所有者是root.root。
以上配置有啥問題沒有?還是哪里出了問題?請幫忙看看。謝謝。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/261542.html
標籤:系統維護與使用區
上一篇:洗掉檔案提示沒有那個檔案或目錄
下一篇:求助,為什么找不到這個命令???
