hostname spital
password klfzebra3
enable password klfzebra3
log stdout
!log file /var/log/ospfd.log
!log record-priority
!service advanced-vty
!
!
interface lo
!
interface dummy0
 description dummy-IP
 ip ospf cost 10
!
interface enp1s0
 description Billa backbone
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan302
 description crusader_deda
 ip ospf cost 20
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan227
 description alcoma_element
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan304
 description zaloha_deda
 ip ospf cost 50
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test

router ospf
 ospf router-id 10.102.48.1

 redistribute kernel metric 100 metric-type 1
 passive-interface dummy0

!==== dummici ====!
! network 10.102.0.252/32 area 0

! Crussader 100Mbit, Deda-Spital
 network 10.102.32.88/29 area 1

! Alcoma smerem na Element
 network 10.102.32.240/29 area 1

!Zaloha 5G Deda-Billa
 network 10.102.32.192/29 area 1

! backbone Billa
	network 10.102.32.40/29 area 1

! Mistni site
        network 10.102.37.0/25 area 1
	network 10.102.37.128/25 area 1
	network 10.102.52.0/25 area 1
	network 10.102.38.0/24 area 1
	network 10.102.36.0/27 area 1
	network 10.102.48.0/25 area 1
	network 10.102.48.128/26 area 1
!
!
access-list net-10 deny 192.168.123.0/24
access-list net-10 permit 10.102.0.0/16
access-list net-10 permit 10.218.0.0/16
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
