OSPF
OSPF
介绍
quagga
实现方式
配置
yum install -y quagga
cat > /etc/quagga/ospfd.conf << EOF
! -*- ospf -*-
!
! OSPFd sample configuration file
!
!
hostname ospfd
password zebra
enable password zebra
!
router ospf
network 10.9.0.0/16 area 172.16.0.1
network 10.12.0.0/24 area 172.16.0.1
!log /var/log/quagga/ospfd.log
EOF
cat > /etc/quagga/zebra.conf << EOF
! -*- zebra -*-
!
! zebra sample configuration file
!
! $Id: zebra.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
!
hostname Router
password zebra
enable password zebra
!log file zebra.log
EOF
service ospfd restart && service zebra restartLast updated