Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
configuration:gre [2016/08/15 07:59]
dotoli
configuration:gre [2021/11/10 15:45]
schmitt
Line 1: Line 1:
-Two NB1600 connected through a GRE tunnel over the mobile interface.+====== ​GRE Tunnel ======
  
 +The Generic routing encapsulation (GRE) is a communication protocol used to establish a direct, point-to-point connection between network nodes. Being a simple and effective method of transporting data over a public network, such as the Internet, GRE lets two peers share data they wouldn’t be able to share over the public network itself.
  
  
-TAP mode+Two NB1600 connected through a GRE tunnel over the mobile interface.\\ 
-{{:configuration:​gre_tap.pdf|}}+NB1192.168.1.0|192.168.2.0\\ 
 +NB2192.168.3.0|192.168.4.0\\ 
 +Both have public IP adresses, 138.188.X.X\\
  
  
 +**TUN mode:**\\
  
 +{{gre_tunnel1.png?​|}}\\
 + 
 +Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\
 +Local tunnel address/​netmask:​ Self defined GRE IP address (remote router local tunnel address: 192.168.8.2)\\
 +Remote network: Destination network / Network of the remote router\\
  
  
-Configure of Box1 TAP mode:+**TAP mode:**\\
  
-config.version=1.8 ​\\ +{{gre_tap1.png?|}}\\ 
-config.product=1600 \\ +  
-network.hostname=NB1600\\ +Peer address: Public IP address of the remote station (NB1600-X, cisco router ​...)\\ 
-cert.settings.phrase=[enc]\\ +Bridge interface: LANX; the IP address ​on both sides must be in the same subnet(e.g local=192.168.1.1 ​/ remote=192.168.1.2)   
-wwan.0.status=1\\ +
-wwan.0.card=0\\ +
-wwan.0.sim=0\\ +
-wwan.0.number=*99*\\ +
-wwan.0.username=testprofil\\ +
-wwan.0.password=[enc]\\ +
-wwan.0.apn=corporate.swisscom.ch\\ +
-wwan.0.auth=3\\ +
-wwan.0.hdrcomp=0\\ +
-wwan.0.softcomp=0\\ +
-wwan.0.isdn=0\\ +
-usb.status=0\\ +
-usb.0.enabled=0\\ +
-usb.1.enabled=0\\ +
-autorun.status=0\\ +
-cliphp.status=0\\ +
-network.lan.1.address=192.168.4.1\\ +
-network.dhcp.0.end=192.168.1.120\\ +
-network.dhcp.1.start=192.168.4.100\\ +
-network.dhcp.1.end=192.168.4.199\\ +
-wanlink.0.mode=1\\ +
-wanlink.0.name=wwan0\\ +
-wanlink.0.prio=1\\ +
-wanlink.0.weight=0\\ +
-gre.status=1\\ +
-gre.tunnel.0.mode=1\\ +
-gre.tunnel.0.type=tap\\ +
-gre.tunnel.0.peer=138.188.50.3\\ +
-gre.tunnel.0.brdev=lan0\\ +
-admin.password=[enc]\\ +
-ssh.port=22\\ +
-telnet.port=23\\+
  
-**Configure of Box2: 
-** 
  
-{{:​configuration:​gre-over-ipsec-box2.png|}}