Document in ifconfig(8) that gre(4) accepts tunnel commands

- Also ensure wording is consistent for gif and gre

Reviewed by:	wblock
Differential Revision:	https://reviews.freebsd.org/D5667
This commit is contained in:
feld 2017-04-29 15:35:30 +00:00
parent 23c816e1ed
commit d9195b3cbf

View File

@ -28,7 +28,7 @@
.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94 .\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd January 18, 2017 .Dd April 29, 2017
.Dt IFCONFIG 8 .Dt IFCONFIG 8
.Os .Os
.Sh NAME .Sh NAME
@ -2518,7 +2518,7 @@ means
Disable lacp strict compliance on the interface. Disable lacp strict compliance on the interface.
.El .El
.Pp .Pp
The following parameters are specific to IP tunnel interfaces, The following parameters apply to IP tunnel interfaces,
.Xr gif 4 : .Xr gif 4 :
.Bl -tag -width indent .Bl -tag -width indent
.It Cm tunnel Ar src_addr dest_addr .It Cm tunnel Ar src_addr dest_addr
@ -2568,9 +2568,26 @@ Clear a flag
.Cm send_rev_ethip_ver . .Cm send_rev_ethip_ver .
.El .El
.Pp .Pp
The following parameters are specific to GRE tunnel interfaces, The following parameters apply to GRE tunnel interfaces,
.Xr gre 4 : .Xr gre 4 :
.Bl -tag -width indent .Bl -tag -width indent
.It Cm tunnel Ar src_addr dest_addr
Configure the physical source and destination address for GRE tunnel
interfaces.
The arguments
.Ar src_addr
and
.Ar dest_addr
are interpreted as the outer source/destination for the encapsulating
IPv4/IPv6 header.
.It Fl tunnel
Unconfigure the physical source and destination address for GRE tunnel
interfaces previously configured with
.Cm tunnel .
.It Cm deletetunnel
Another name for the
.Fl tunnel
parameter.
.It Cm grekey Ar key .It Cm grekey Ar key
Configure the GRE key to be used for outgoing packets. Configure the GRE key to be used for outgoing packets.
Note that Note that