Manual:Interface/Gre6: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
(gre6)
 
m (small changes and example)
Line 1: Line 1:
{{Versions|v5.11+}}
__TOC__
==Summary==
==Summary==
<p id="shbox"><b>Sub-menu:</b> <code>/interface gre6</code>
<p id="shbox"><b>Sub-menu:</b> <code>/interface gre6</code>
</p>
<br />
<br />
Interface ''gre6'' is a Generic Routing Encapsulation (GRE) tunnel over IPv6 network. It can encapsulate IPv4 or IPv6 network packets and transfer them over the tunnel.
Interface ''gre6'' is a Generic Routing Encapsulation (GRE) tunnel over IPv6 network. It can encapsulate IPv4 or IPv6 network packets and transfer them over the tunnel.


Line 73: Line 79:
|desc=IP address of remote tunnel end.
|desc=IP address of remote tunnel end.
}}
}}
==Example==
on router 1:
/interface gre6 add local-address=2001:db8:bad:ee1::a remote-address=2001:db8:f00:baa::b keepalive=5
on router 2:
/interface gre6 add local-address=2001:db8:f00:baa::b remote-address=2001:db8:bad:ee1::a keepalive=5
[[Category:Manual|E]]
[[Category:VPN|E]]
[[Category:Interface|E]]

Revision as of 09:47, 15 December 2011

Version.png

Applies to RouterOS: v5.11+

Summary

Sub-menu: /interface gre6


Interface gre6 is a Generic Routing Encapsulation (GRE) tunnel over IPv6 network. It can encapsulate IPv4 or IPv6 network packets and transfer them over the tunnel.


Properties

Property Description
arp (disabled | enabled | proxy-arp | reply-only; Default: ) Address Resolution Protocol mode
comment (string; Default: ) Short description of the tunnel.
disabled (yes | no; Default: no) Whether tunnel is enabled.
keepalive (integer [1..4294967295]; Default: ) Tunnel keepalive timeout in seconds. By default keepalive is disabled.
l2mtu (integer [0..65536]; Default: 65535) Layer2 Maximum transmission unit.
local-address (IP; Default: ) IPv6 addres that will be used as local tunnel end.
mtu (integer [0..65536]; Default: 1476) Layer3 Maximum transmission unit.
name (string; Default: ) Name of the tunnel.
remote-address (IP; Default: ) IP address of remote tunnel end.

Example

on router 1:

/interface gre6 add local-address=2001:db8:bad:ee1::a remote-address=2001:db8:f00:baa::b keepalive=5

on router 2:

/interface gre6 add local-address=2001:db8:f00:baa::b remote-address=2001:db8:bad:ee1::a keepalive=5