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:19] – dotoli | configuration:gre [2017/01/03 12:38] – dotoli | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Two NB1600 connected through a GRE tunnel over the mobile interface. | + | Two NB1600 connected through a GRE tunnel over the mobile interface.\\ |
+ | NB1: 192.168.1.0|192.168.2.0\\ | ||
+ | NB2: 192.168.3.0|192.168.4.0\\ | ||
+ | **TUN mode:**\\ | ||
- | Configure | + | {{: |
+ | |||
+ | Peer address: Public IP address | ||
+ | Local tunnel address/ | ||
+ | Remote network: Destination network / Network of the remote router\\ | ||
- | config.version=1.8 \ | ||
- | config.product=1600 \ | ||
- | network.hostname=NB1600 | ||
- | cert.settings.phrase=[enc] | ||
- | 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=2222 | ||
- | telnet.port=2323 | ||
- | **Configure of Box2: | + | **TAP mode:**\\ |
- | ** | + | |
+ | {{: | ||
+ | |||
+ | Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ | ||
+ | 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) | ||
- | {{: |