hostname mladeznicka
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 UPLINK
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!

interface vlan1515
 description UPLINK-vmach3fw1
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
router ospf
  ospf router-id 10.113.0.2
  redistribute connected route-map just-10
  redistribute kernel metric-type 1 metric 100
  passive-interface dummy0
!
! PEEROVE SUBNETY NA OKOLNI ROUTERY
! peer MladeznickaFirewall
  network 10.113.0.0/29 area 0

! virtualni fw
  network 10.113.0.8/29 area 0

!LIBOCANY ALL
  network 10.113.8.0/24 area 0
!
access-list net-10 permit 10.113.0.0/16
access-list net-10 permit 10.218.0.0/16
access-list net-10 permit 10.102.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


