hostname prumka
password klfzebra3
enable password klfzebra3
log stdout
!log file /var/log/ospfd.log
!log record-priority
!service advanced-vty
!
interface lo
!
interface dummy0
 description router ip
 ip ospf cost 10
!
interface eth0
 description lan
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

! peer silver
interface vlan100
 description 5gn_silver
 ip ospf cost 100
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf network non-broadcast
! nechodi pres rockety?

! zalozni peer Delvita
interface vlan202
 description peer Delvita
 ip ospf cost 1000
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
router ospf
 ospf router-id 10.102.88.225
! redistribute con.nected route-map just-10
! redistribute kernel metric metric-type 1 metric 100
!redistribute static metric 200
 passive-interface dummy0
 passive-interface vlan54
! passive-interface eth0
!
! virtual link na fault via delvita-mrk
! nebo na nagasaki?
! area 1 virtual-link 10.102.0.65
! nechodi broadcast na fault
! rocket FW verze 5.1.2
 neighbor 10.102.64.145

! PEEROVE SUBNETY NA OKOLNI ROUTERY
!
! peer Silver - vlan100
! area 1 nebude tady ABR
 network 10.102.64.144/29 area 1
! peer Delvita - ath0
 network 10.102.88.232/29 area 1

! PRIMO PRIPOJENE
! LAN SPS
 network 10.102.88.224/29 area 1
!
access-list net-10 permit 10.102.0.0/16
access-list net-10 permit 10.218.0.0/16
access-list net-10 permit 192.168.0.0/16
access-list net-10 deny 192.168.123.0/24
access-list net-10 deny 192.168.0.0/24
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
!
line vty
 access-class term

