User Tools

Site Tools


flyrouter:gre

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

flyrouter:gre [2018/04/09 15:36] (current)
Line 1: Line 1:
 +===== Простой GRE туннель (точка-точка)=====
  
 +Выдержка из файла конфигурации **/​etc/​network/​interfaces** :
 +
 +<​code>​
 +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
 +</​code>​
 +
 +\\
 +Конфигурация на **Cisco**: ​
 +
 +<​code>​
 +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
 +</​code>​
flyrouter/gre.txt · Last modified: 2018/04/09 15:36 (external edit)