{"id":104,"date":"2010-05-11T11:40:05","date_gmt":"2010-05-11T09:40:05","guid":{"rendered":"http:\/\/www.ospf.it\/?p=104"},"modified":"2010-05-11T11:40:05","modified_gmt":"2010-05-11T09:40:05","slug":"configurazione-ospf-per-demoni-quagga-linux","status":"publish","type":"post","link":"https:\/\/www.ospf.it\/configurazione-ospf-per-demoni-quagga-linux\/","title":{"rendered":"Configurazione ospf per demoni quagga (linux)"},"content":{"rendered":"

Ecco una configurazione ospf \u00a0d’esempio per quagga:<\/p>\n

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

Ecco una configurazione ospf \u00a0d’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 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,31,3],"tags":[33,32,38],"_links":{"self":[{"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":1,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/posts\/104\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ospf.it\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}