This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
configuration:gre [2017/01/03 12:38] dotoli |
configuration:gre [2021/11/10 15:45] (current) schmitt |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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.\\ | Two NB1600 connected through a GRE tunnel over the mobile interface.\\ | ||
NB1: 192.168.1.0|192.168.2.0\\ | NB1: 192.168.1.0|192.168.2.0\\ | ||
NB2: 192.168.3.0|192.168.4.0\\ | NB2: 192.168.3.0|192.168.4.0\\ | ||
+ | Both have public IP adresses, 138.188.X.X\\ | ||
+ | |||
**TUN mode:**\\ | **TUN mode:**\\ | ||
- | {{:configuration:gre_tun_a.jpg?|}}\\ | + | {{gre_tunnel1.png?|}}\\ |
Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ | Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ | ||
- | Local tunnel address/netmask: Self defined GRE IP address (remote router: 192.168.8.2)\\ | + | 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\\ | Remote network: Destination network / Network of the remote router\\ | ||
Line 14: | Line 21: | ||
**TAP mode:**\\ | **TAP mode:**\\ | ||
- | {{:configuration:gre_tap.png?|}}\\ | + | {{gre_tap1.png?|}}\\ |
Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ | Peer address: Public IP address of the remote station (NB1600-X, cisco router ...)\\ |