Tady je máš. Pokud něco není jasný tak napiš většinu bych měl být schopen vysvětlit.
ospfd.conf
!
! Zebra configuration saved from vty
! 2012/06/05 13
!
hostname gw
password blabla
enable password blabla
log file /var/log/ospf.log
log syslog
service advanced-vty
service password-encryption
!
!
!
interface dummy0
!
interface eth0
description gw: spoj xx
ip ospf message-digest-key 1 md5 xxxxx
ip ospf cost 1
ip ospf priority 20
!
interface eth1
description gw: spoj servery
ip ospf message-digest-key 1 md5 xxxxx
ip ospf cost 1
ip ospf priority 20
!
interface eth2
description gw: spoj servery
ip ospf message-digest-key 1 md5 xxxxx
ip ospf cost 1
ip ospf priority 20
!
interface eth3
description gw: spoj vodojem
ip ospf message-digest-key 1 md5 xxxxx
ip ospf cost 1
ip ospf priority 21
!
interface eth4
!
interface lo
!
interface sit0
!
interface teql0
!
router ospf
ospf router-id 93.157.128.252
network 93.157.128.0/28 area 0.0.0.0
network 93.157.128.252/32 area 0.0.0.0
network 172.16.254.16/29 area 0.0.0.0
network 172.16.254.24/29 area 0.0.0.0
network 172.16.254.88/29 area 0.0.0.0
network 172.16.254.96/29 area 0.0.0.0
network 172.31.81.0/27 area 0.0.0.6
area 0.0.0.0 authentication message-digest
area 0.0.0.6 authentication message-digest
area 0.0.0.6 range 172.31.80.0/20
default-information originate
!
line vty
no login
!
zebra.conf
! Zebra configuration saved from vty
! 2012/06/04 21
!
password blabla
enable password blabla
log file /var/log/zebra.log
log syslog
service advanced-vty
service password-encryption
!
interface dummy0
ip address 93.157.128.252/32
ipv6 nd suppress-ra
!
interface eth0
description gw: spoj na Cernigov
ipv6 nd suppress-ra
!
interface eth1
description gw: servery posta
ipv6 nd suppress-ra
!
interface eth2
description gw: posta AP
ipv6 nd suppress-ra
!
interface eth3
description gw: spoj vodojem
ipv6 nd suppress-ra
!
interface eth4
description gw: optika O2
ipv6 nd suppress-ra
!
interface lo
!
interface sit0
ipv6 nd suppress-ra
!
interface teql0
ipv6 nd suppress-ra
!
ip route 0.0.0.0/0 90.182.58.137
ip route 194.228.176.200/32 90.182.58.137
!
access-list HELAPC permit 127.0.0.1/32
!
ip forwarding
!
!
line vty
no login
!