version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Pobocka2
!
spanning-tree mode pvst
!
!Logicky interface pro GRE tunel
!tunnel source je pocatecni rozhrani tunelu
!tunnel destination je koncove rozhrani tunelu (Pobocka1)
!
interface Tunnel1
 ip address 172.16.1.2 255.255.255.0
 tunnel source FastEthernet0/0
 tunnel destination 192.168.1.1
!
!Konfigurace rozhrani
!
interface FastEthernet0/0
 ip address 192.168.2.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.2.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
!Staticke smerovani - druhy radek je smerovani komunikace za smerovac Pobocka1
!na sit 10.1.1.0/24 pres GRE tunel
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.1 
ip route 10.1.1.0 255.255.255.0 172.16.1.1 
!
line con 0
line vty 0 4
 login
!
end