User Tools

Site Tools


flyrouter:gre

Простой GRE туннель (точка-точка)

Выдержка из файла конфигурации /etc/network/interfaces :

auto tun0 
iface tun0 inet static 
    address 172.18.1.2 
    netmask 255.255.255.0 
    pre-up ip tunnel add mode gre tun0 local 172.19.1.22 remote 172.19.1.206
    post-down ip tunnel del mode gre tun0 local 172.19.1.22 remote 172.19.1.206


Конфигурация на Cisco:

interface Tunnel0 
ip address 172.18.1.1 255.255.255.0 
ip mtu 1476 
tunnel source 172.19.1.206 
tunnel destination 172.19.1.22 
tunnel mode gre ip
flyrouter/gre.txt · Last modified: 2018/04/09 15:36 (external edit)