Pentru realizarea tunelului GRE se execută următoarele comenzi:
EAST:~# ip tunnel add tunel_gre mode gre remote 10.6.17.254 local 10.0.8.10 ttl 255
EAST:~# ifconfig tunel_gre 192.168.0.1
EAST:~# ifconfig tunel_gre pointopoint 192.168.0.2
WEST:~# ip tunnel add tunel_gre mode gre remote 10.0.0.8.10 local 10.6.17.254 ttl 255
WEST:~# ifconfig tunel_gre 192.168.0.2
WEST:~# ifconfig tunel_gre pointopoint 192.168.0.1
WEST:~# ip tunnel show
gre0: gre/ip remote any local any ttl inherit nopmtudisc
tunel_gre: gre/ip remote 10.0.8.10 local 10.6.17.254 ttl 255
felicitari domnu, la mai multe articole!!!