11 Maggio 2010

Configurazione ospf per demoni quagga (linux)

By admin

Ecco una configurazione ospf ย d’esempio per quagga:

!
! Zebra configuration saved from vty
!
hostname ospfgw01
password mypassword
enable password mypassword
log stdout
!
log file /var/log/quagga/quagga-ospf.log
debug ospf nsm
debug ospf zebra
!
!
interface eth0
!
interface eth1
ip ospf cost 1
ip ospf hello-interval 3
ip ospf dead-interval 10
!
interface eth2
ip ospf authentication
ip ospf authentication-key mypass
ip ospf cost 1
ip ospf hello-interval 3
ip ospf dead-interval 10
!
interface eth3
ip ospf authentication
ip ospf authentication-key mypass
ip ospf cost 1
ip ospf hello-interval 3
ip ospf dead-interval 10
!
interface eth4
!
interface eth5
!
interface eth6
!
interface eth7
ip ospf cost 300
!
interface lo
!
router ospf
ospf router-id 1.1.1.3
log-adjacency-changes
redistribute kernel
redistribute static
passive-interface eth0
passive-interface eth7
network 1.1.1.0/24 area 0.0.0.1
network 2.2.2.0/24 area 0.0.0.0
network 3.3.3.0/24 area 0.0.0.0
network 4.4.4.8/29 area 0.0.0.1
area 0.0.0.0 authentication
!
line vty
!
~