hostname cajda
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 backbone
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan101
 description PEER Rebeca
 ip ospf cost 5
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan106
 description Peer Kveten
 ip ospf cost 80
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan110
 description PeerMytinka
 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.162.129
 redistribute kernel metric-type 1 metric 100
!
!==== PASSIVE ====!
 passive-interface dummy0
 passive-interface vlan100
 passive-interface vlan103
 passive-interface vlan105
 passive-interface vlan107
 passive-interface vlan112
 passive-interface vlan301
!==== dummici ====!
! network 10.102.0.252/32 area 0
!==== backbone ====!
!vlan112 / dateco , zakaznik networksu
 network 10.102.135.176/29 area 5
! wlan0
 network 10.102.162.128/26 area 5
! wlan1
 network 10.102.162.192/26 area 5
! wlan2
 network 10.102.162.64/27 area 5
! Zruseno ath0
! network 10.102.194.8/29 area 5
! polni ALL 
 network 10.102.195.0/29 area 5
 network 10.102.195.8/29 area 5
 network 10.102.195.32/27 area 5
! Peer Mytinka
 network 10.102.199.8/29 area 5
! ath2
 network 10.102.162.0/29 area 5
! vlan100
 network 10.102.162.32/29 area 5
! vlan101
 network 10.102.162.8/29 area 5
! vlan102
 network 10.102.162.16/28 area 5
 network 10.102.135.160/28 area 5
! vlan106 - Peer Kveten
 network 10.102.199.0/29 area 5
 network 10.102.199.24/29 area 5
! vlan103
 network 10.102.162.96/27 area 5
! vlan105
 network 10.102.135.128/27 area 5
! vlan107
 network 10.102.135.192/27 area 5
! vlan300
 network 10.102.135.224/27 area 5
! vlan301 , cely rozsah tady je ALLL LLLL 
 network 10.218.5.0/25 area 5
!
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
!
