This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
configuration:gre [2016/08/15 07:59] – dotoli | configuration:gre [2020/06/04 07:58] – dodenhoeft | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Two NB1600 connected through a GRE tunnel over the mobile interface. | + | ====== |
+ | 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: | + | NB1: 192.168.1.0|192.168.2.0\\ |
+ | NB2: 192.168.3.0|192.168.4.0\\ | ||
+ | Both have public IP adresses, 138.188.X.X\\ | ||
+ | **TUN mode:**\\ | ||
+ | {{: | ||
+ | |||
+ | Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ | ||
+ | Local tunnel address/ | ||
+ | Remote network: Destination network / Network of the remote router\\ | ||
- | Configure of Box1 TAP mode: | + | **TAP mode:**\\ |
- | config.version=1.8 | + | {{: |
- | 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 |
- | 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: | ||
- | ** | ||
- | {{: |