hostname hrebcin
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 vlan107
 description peer Mytinka OU
 ip ospf cost 500
 ip ospf dead-interval 60
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan199
 description peer Lidicenew
 ip ospf cost 250
 ip ospf dead-interval 60
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan100
 description backbone
 ip ospf cost 10
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan101
 description 5G n 
 ip ospf cost 50
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan102
 description mistni lan
 ip ospf cost 50
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface eth0
  description alcoma_rebeca
  ip ospf cost 10
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan1001
  description ceragon_prazska
  ip ospf cost 10
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan106
  description peer_komenius
  ip ospf cost 50
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan104
  description PEER OU
  ip ospf cost 50
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan108
  description OU 5N vsesmer
  ip ospf cost 50
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan109
  description LAN OU
  ip ospf cost 50
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
router ospf
  ospf router-id 10.102.149.1
  redistribute kernel metric-type 1 metric 100
!
  passive-interface dummy0
  passive-interface wlan0
  passive-interface wlan1
  passive-interface vlan100
  passive-interface vlan500
!
!PeerPrazska
  network 10.102.194.104/29 area 0
!backbone (vlan100)
  network 10.102.194.0/29 area 5
!sektor 5G n (vlan101)
  network 10.102.194.16/28 area 5  
  network 10.102.194.9/29 area 5
!lan (vlan102)
  network 10.102.193.16/28 area 5  
!al rebeca (vlan103)
  network 10.102.193.40/29 area 5
! ZRUSENO !!! peer mytinka (ath0) 
!  network 10.102.133.224/29 area 5
!peer mytinka pres OU (vlan107)
  network 10.102.195.88/29 area 5
!peer Komenius (vlan106)
  network 10.102.193.0/29 area 5
  network 10.102.195.64/29 area 5
! ZRUSENO !!! peer hrebec2 (ath2)
!  network 10.102.194.8/29 area 5
!peer lidicenew (ath3)
  network 10.102.165.16/29 area 5
!vsesmer hrebec (wlan1)
  network 10.102.194.64/27 area 5
!sektor hrebcin (wlan0)
  network 10.102.194.32/27 area 5
!PEER OU vlan104
  network 10.102.195.72/29 area 5
!5G Vsesmer OU vlan108
  network 10.102.195.96/27 area 5
!LAN OU vlan109
  network 10.102.195.16/29 area 5
!5AC sektor OU 
  network 10.218.3.0/27 area 5
!peer Komenius vlan106
  network 10.102.193.32/29 area 5  
!5n klisna vlan105
  network 10.102.239.96/27 area 5
!Routovani klisna
 network 10.102.194.192/26 area 5
 network 10.102.239.0/26 area 5
 network 10.102.239.64/27 area 5  
! vlan301
 network 10.102.194.64/27 area 5
!
!  area 5 virtual-link 10.102.15.1
!
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
