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:19]
dotoli
configuration:gre [2021/11/10 15:45] (current)
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.
  
-Configure of Box1 TAP mode: 
  
-config.version=1.8 ​\ +Two NB1600 connected through a GRE tunnel over the mobile interface.\\ 
-config.product=1600 ​+NB1: 192.168.1.0|192.168.2.0\\ 
-network.hostname=NB1600 +NB2: 192.168.3.0|192.168.4.0\\ 
-cert.settings.phrase=[enc] +Both have public IP adresses, 138.188.X.X\\ 
-wwan.0.status=1 + 
-wwan.0.card=0 + 
-wwan.0.sim=+**TUN mode:**\\ 
-wwan.0.number=*99* + 
-wwan.0.username=testprofil +{{gre_tunnel1.png?|}}\\ 
-wwan.0.password=[enc] +  
-wwan.0.apn=corporate.swisscom.ch +Peer address: Public IP address ​of the remote station (NB1600-X, cisco router ​...)\\ 
-wwan.0.auth=3 +Local tunnel address/​netmask:​ Self defined GRE IP address (remote router local tunnel address: ​192.168.8.2)\\ 
-wwan.0.hdrcomp=0 +Remote ​network: Destination ​network ​/ Network of the remote router\\ 
-wwan.0.softcomp=0 + 
-wwan.0.isdn=0 + 
-usb.status=0 +**TAP mode:**\\ 
-usb.0.enabled=0 + 
-usb.1.enabled=0 +{{gre_tap1.png?|}}\\ 
-autorun.status=0 +  
-cliphp.status=0 +Peer address: Public IP address of the remote station (NB1600-X, cisco router ​...)\\ 
-network.lan.1.address=192.168.4.1 +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)   
-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.+
-gre.tunnel.0.brdev=lan0 +
-admin.password=[enc] +
-ssh.port=2222 +
-telnet.port=2323+
  
-**Configure of Box2: 
-** 
  
-{{:​configuration:​gre-over-ipsec-box2.png|}}