hostname lidice
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 enp1s0
 description ECWA_HIGHWAY
 ip ospf cost 2000
 ip ospf dead-interval 60
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan101
 description PEERRebeca
 ip ospf cost 80
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
router ospf
 ospf router-id 10.102.165.2
 redistribute connected route-map just-10
 redistribute kernel metric-type 1 metric 100
!
! PEEROVE SUBNETY NA OKOLNI ROUTERY
!
! ECWA Highway
 network 10.102.165.0/29 area 5
! Peer Rebeca
 network 10.102.165.24/29 area 5
! AIRCA Runway
 network 10.102.234.8/29 area 5
! 5G Hostoun
 network 10.102.165.8/29 area 5
! 5G Hrebec
 network 10.102.165.16/29 area 5
! 5G OULidice pseudopeer
 network 10.102.134.16/29 area 5
!
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
