!==================================
hostname vfault1
!
password 8 yeKMnMGi4RHWw
enable password 8 MFgq7txJsSBig

service advanced-vty
service password-encryption

agentx

!
! volby logovani:
!log stdout				= loguj na standardni vystup
!log file /var/log/ospfd.log	= loguj do souboru
!log syslog				= loguj do systemoveho logu
!log record-priority
!service advanced-vty		= Enable advanced mode VTY
!
log file /var/log/quagga/ospfd.log
!

!
interface lo
!
interface dummy0
 description router ip
 ip ospf cost 10
!
!
interface ens3
 description uplink-virt
 ip ospf cost 1
 ip ospf priority 0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf hello-interval 1
 ip ospf dead-interval 4
!
interface ens11
 description uplink-vlan5-ens11
 ip ospf cost 1
 ip ospf priority 0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan1222
 description uplink-virt-ens12
 ip ospf cost 1
 ip ospf priority 0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
 ip ospf hello-interval 1
 ip ospf dead-interval 4
!
interface vlan54
 description lan tuvok a anglicka
 ip ospf cost 20
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan59
 description lan lochy+holland+lanex + belgarat nouzovka?
 ip ospf cost 20
 ip ospf priority 1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 test
!
interface vlan302
 description zalozni_alcoma_ukrajina
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 eastpass
 ip ospf cost 100
!
interface vlan505
 description Stockholm lan
interface vlan506
 description Stockholm 5n
interface vlan507
 description Stockhom.5n jih
interface vlan508
 description Stockholm kamery
!
!
!
!==================================
! globalni nastaveni ospfd
!==================================
!
router ospf
 ospf router-id 10.102.222.156
 redistribute connected route-map just-10
 passive-interface dummy0
!
!
! uplink vlan5-ens11
  network 10.102.222.0/26 area 0
! uplink vlan1222
  network 10.102.222.128/26 area 0
!vlan52 - Svycarska
  passive-interface vlan52
  network 10.102.3.64/26 area 0 
!vlan53 - Sitna
  passive-interface vlan53
  network 10.102.94.0/24 area 0
  network 172.25.24.0/29 area 0
!vlan54 - anglicka,tuvok
  passive-interface vlan54
  network 10.102.27.0/24 area 0
  network 10.102.31.224/28 area 0
!vlan55 - Premyslik
  passive-interface vlan55
  network 10.102.19.0/25 area 0
!vlan56 - Jendall-Norska-americka,ms34
  passive-interface vlan56
  network 10.102.30.0/25 area 0
  network 10.102.20.128/26 area 0
  network 10.102.11.128/25 area 0
  network 172.25.34.0/29 area 0
!vlan57 - paris
  passive-interface vlan57
  network 10.102.30.128/25 area 0
!vlan58 - lamericka-noname
  passive-interface vlan58
  network 10.102.31.0/26 area 0
!vlan59 - stockholm
  passive-interface vlan59
  network 10.102.31.64/26 area 0
!
!vlan61 - belgarat-svedska
  passive-interface vlan61
  network 10.102.31.128/26 area 0
!vlan63 - 35MS
  passive-interface vlan63
  network 172.25.35.0/29 area 0
!vlan64 - belgarat,svedska
  passive-interface vlan64
  network 10.102.3.0/27 area 0
!vlan65 - fo-gdm
  passive-interface vlan65
  network 10.102.108.0/29 area 0
!vlan66 - sektor 5N_kokos
  passive-interface vlan66
  network 10.102.108.32/27 area 0
  network 10.102.108.64/27 area 0
!vlan68 - 2.4 sektor vyhybka
  passive-interface vlan68
  network 10.102.18.0/25 area 0
!
!vlan123 sektor 5n.silver.jih
  passive-interface vlan123
  network 10.102.2.128/27 area 0
!vlan124 sektor 5n.silver.zapad
  passive-interface vlan124
  network 10.102.2.160/27 area 0
  network 10.102.2.192/27 area 0
!vlan125 oaza
  passive-interface vlan125
  network 10.102.31.192/27 area 0 
!vlan130 sektor 5n.silver.szz
  passive-interface vlan130
  network 10.102.3.32/27 area 0
!
!vlan300 sektor 5ac.silver.zapad
  passive-interface vlan300
  network 10.102.20.224/27 area 0
!vlan301 peer silver-kds
  passive-interface vlan301
  network 10.102.20.216/29 area 0
!vlan302 alcoma ukrajina
  passive-interface vlan302
  network 10.102.1.176/29 area 0
!
!vlan400 wolker lan
  passive-interface vlan400
  network 10.102.20.16/28 area 0
!vlan401 wolker vsesmer
  passive-interface vlan401
  network 10.102.20.64/26 area 0
!vlan402 wolker5-jih
  passive-interface vlan402
  network 10.102.20.32/27 area 0
!vlan403 wolker5-sever
  passive-interface vlan403
  network 10.102.24.1/27 area 0
!
!vlan500 peer kokos,lan Pavost
  passive-interface vlan500
  network 10.102.108.112/28 area 0
!vlan501 MAO zakaznik
  passive-interface vlan501
  network 10.102.2.240/29 area 0
!vlan502 nemao
  passive-interface vlan502
  network 10.102.2.248/29 area 0
!vlan503 connetronics
  passive-interface vlan503
  network 10.102.20.192/29 area 0
!vlan504 peer biohazard
  passive-interface vlan504
  network 10.102.20.200/29 area 0
!
!vlan505 - stockholm
  passive-interface vlan505
  network 10.102.8.0/26 area 0
!vlan506 - stockholm
  passive-interface vlan506
  network 10.102.8.64/27 area 0
!vlan507 - stockholm
  passive-interface vlan507
  network 10.102.8.96/27 area 0
!vlan508 - stockholm
  passive-interface vlan508
  network 10.102.8.129/29 area 0 
!
!vlan509 - italska
  passive-interface vlan509
  network 10.102.23.0/25 area 0
!vla510 - vodarna
  passive-interface vlan510
  network 10.102.24.128/26 area 0
!
access-list net-10 permit 10.102.0.0/16
access-list net-10 permit 10.218.0.0/16
access-list net-10 deny 192.168.0.0/16
!
route-map just-10 permit 10
match ip address net-10
!
!
access-list term permit 127.0.0.1/32
access-list term deny any
line vty
 access-class term
!
