Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/gre.4
Show All 23 Lines | |||||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||||
.\" POSSIBILITY OF SUCH DAMAGE. | .\" POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd June 29, 2020 | .Dd August 21, 2020 | ||||
.Dt GRE 4 | .Dt GRE 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm gre | .Nm gre | ||||
.Nd encapsulating network device | .Nd encapsulating network device | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
To compile the | To compile the | ||||
driver into the kernel, place the following line in the kernel | driver into the kernel, place the following line in the kernel | ||||
▲ Show 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | |||||
.Nm | .Nm | ||||
device needs a route to the decapsulating host that does not run over the tunnel, | device needs a route to the decapsulating host that does not run over the tunnel, | ||||
as this would be a loop. | as this would be a loop. | ||||
.Pp | .Pp | ||||
The kernel must be set to forward datagrams by setting the | The kernel must be set to forward datagrams by setting the | ||||
.Va net.inet.ip.forwarding | .Va net.inet.ip.forwarding | ||||
.Xr sysctl 8 | .Xr sysctl 8 | ||||
variable to non-zero. | variable to non-zero. | ||||
.Pp | |||||
By default, | |||||
.Nm | |||||
tunnels may not be nested. | |||||
This behavior may be modified at runtime by setting the | |||||
.Xr sysctl 8 | |||||
variable | |||||
.Va net.link.gre.max_nesting | |||||
to the desired level of nesting. | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr gif 4 , | .Xr gif 4 , | ||||
.Xr inet 4 , | .Xr inet 4 , | ||||
.Xr ip 4 , | .Xr ip 4 , | ||||
.Xr me 4 , | .Xr me 4 , | ||||
.Xr netintro 4 , | .Xr netintro 4 , | ||||
.Xr protocols 5 , | .Xr protocols 5 , | ||||
.Xr ifconfig 8 , | .Xr ifconfig 8 , | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |