ospfd (quagga)
Libor Chocholaty
libor_ml1 na mts.cz
Středa Leden 2 16:41:54 CET 2008
Moc ospf konfiguraci nerozumim, ale tady mate _vytah_ z naseho docela
funkcniho setupu. Treba vam to pomuze...
hostname heaven.michle.czf
password xxx
enable password xxx
log file /var/log/quagga/ospfd.log
log record-priority
service advanced-vty
interface dummy0
description heaven-ap-loopback
ip ospf cost 100
!
interface vlan1101
description link-heaven-marvin-5G
ip ospf authentication-key b28eb1c9
ip ospf cost 100
ip ospf dead-interval 20
ip ospf priority 100
!
interface vlan1111
description link-to-K2-5G
ip ospf authentication-key b28eb1c9
ip ospf cost 100
ip ospf dead-interval 120
!
interface imq0
!
interface imq1
!
interface lo
!
router ospf
ospf router-id 10.23.0.13
redistribute static metric-type 1 route-map just-cloud
redistribute bgp metric-type 1 route-map just-10
passive-interface eth0
passive-interface eth1
network 10.23.0.13/32 area 0.0.0.0
network 10.23.13.0/24 area 0.0.0.13
network 10.23.65.236/30 area 0.0.0.0
network 10.23.77.0/26 area 0.0.0.0
network 10.23.128.168/30 area 0.0.0.0
area 0.0.0.13 stub
area 0.0.0.13 range 10.23.13.0/24
neighbor 10.23.65.237
neighbor 10.23.128.169
default-information originate metric 1400 metric-type 1
!
access-list net-10 permit 10.0.0.0/8
access-list net-10 deny any
access-list net-cloud permit 10.23.0.0/16
access-list net-cloud deny any
access-list term permit 127.0.0.1/32
access-list term deny any
!
route-map just-10 permit 10
match ip address net-10
!
route-map just-cloud permit 10
match ip address net-cloud
!
line vty
access-class term
!
Libor
Další informace o konferenci Linux