hostname kacka
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
!
! 10G smer VVS
interface enp1s0
 description peer vvs 10G
 ip ospf cost 10
 ip ospf priority 2
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
router ospf
 ospf router-id 10.102.155.18
! redistribute connected route-map just-10
! redistribute static metric 200
! === sektory a LANky
 passive-interface dummy0
!==== peery ====!
! vvs 10G
 network 10.102.155.16/29 area 10
!==== sektory a LAN ===
! ath0
 network 10.102.155.64/26 area 10

!vlan51
 network 10.102.155.8/29 area 10

! vlan103 vsesmer
 network 10.102.155.32/27 area 10

!vlan102 5n sektor
 network 10.102.156.128/27 area 10
 network 10.102.156.160/28 area 10

access-list net-10 deny 192.168.123.0/24
access-list net-10 permit 192.168.0.0/16
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
