gre tunnel ipv4

#tussen de () is na eigen invulling

Int tunnel 0
ip addr 192.168.3.1 255.255.255.0
tunnel source f0/0
tunnel destination 10.0.0.2
tunnel mode gre ip
no sh
exit


ip route 192.168.2.0 255.255.255.0 192.168.3.2

Int tunnel 0
ip addr 192.168.3.2 255.255.255.0
tunnel source f0/0
tunnel destination 10.0.0.1
tunnel mode gre ip
no sh
exit


ip route 192.168.1.0 255.255.255.0 192.168.3.1