This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
configuration:gre [2016/08/15 07:06] – created 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. | ||
+ | |||
+ | |||
+ | 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\\ | ||
+ | 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/ | ||
+ | Remote network: Destination network / Network of the remote router\\ | ||
+ | |||
+ | |||
+ | **TAP mode:**\\ | ||
+ | |||
+ | {{gre_tap1.png? | ||
+ | |||
+ | 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) | ||
- | The configurations of two NB1600 are as below: | ||