hostname dobroviz
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 vlan51
 description lan
 ip ospf cost 30
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan101
 description ECWA-jenec-dobroviz
 ip ospf cost 80
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan102
 description dobroviz-hostoun2
 ip ospf cost 80
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
!
interface vlan103
  description sektor-5g-dobroviz-west
  ip ospf cost 100
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan104
  description peer-hostoun2-dobroviz
  ip ospf cost 100
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface eth0
  description peer-hostoun-dobroviz-NB
  ip ospf cost 40
  ip ospf priority 1
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 eastpass
!
interface vlan120
!
router ospf
  ospf router-id 10.102.186.192
  passive-interface dummy0
  passive-interface vlan51
  passive-interface ath1
  passive-interface wlan0
  passive-interface wlan1

!lan
  network 10.102.186.8/29 area 5
!peer hosotun2
  network 10.102.186.16/29 area 5
!wlan0
  network 10.102.186.64/26 area 5
!wlan1
  network 10.102.186.128/26 area 5
!ath0 
  network 10.102.186.0/29 area 5
!vlan101
 network 10.102.186.24/29 area 5
! vlan103 5g sektor
 network 10.102.186.192/27 area 5
! vlan105 peer hostoun NB
 network 10.102.167.120/29 area 5
! vlan104 peer hostoun2
 network 10.102.167.192/29 area 5
! vlan120 peer zsdobroviz
 network 10.102.233.128/29 area 5
 network 10.102.233.192/27 area 5
! ath2
 network 10.102.186.224/27 area 5
! Hostoun2 ALL
 network 10.102.198.128/26 area 5
 network 10.102.198.192/27 area 5
 network 10.102.198.224/29 area 5
 network 10.102.167.128/27 area 5
 network 10.102.167.160/27 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 172.24.0.0/15
access-list net-10 permit 10.102.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
