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