1.\" $KAME: gif.4,v 1.28 2001/05/18 13:15:56 itojun Exp $
2.\"
3.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
--- 13 unchanged lines hidden (view full) ---
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\" $FreeBSD: head/share/man/man4/gif.4 193664 2009-06-07 23:00:40Z hrs $
31.\"
32.Dd June 8, 2009
33.Dt GIF 4
34.Os
35.Sh NAME
36.Nm gif
37.Nd generic tunnel interface
38.Sh SYNOPSIS
39.Cd "device gif"
40.Sh DESCRIPTION
--- 210 unchanged lines hidden (view full) ---
251device does not translate ICMP messages for the outer header into the inner header.
252.Pp
253In the past,
254.Nm
255had a multi-destination behavior, configurable via
256.Dv IFF_LINK0
257flag.
258The behavior is obsolete and is no longer supported.
259.Pp
260On
261.Fx
2626.1, 6.2, 6.3, 7.0, 7.1, and 7.2
263the
264.Nm
265sends and receives incorrect EtherIP packets with reversed version
266field when
267.Xr if_bridge 4
268is used together. As a workaround on this interoperability issue, the
269following two
270.Xr ifconfig 8
271flags can be used:
272.Bl -tag -width "accept_rev_ethip_ver" -offset indent
273.It accept_rev_ethip_ver
274accepts both correct EtherIP packets and ones with reversed version
275field, if enabled. If disabled, the
276.Nm
277accepts the correct packets only. This flag is enabled by default.
278.It send_rev_ethip_ver
279sends EtherIP packets with reversed version field intentionally, if
280enabled. If disabled, the
281.Nm
282sends the correct packets only. This flag is disabled by default.
283.El
284.Pp
285If interoperability with the older
286.Fx
287machines is needed, both of these two flags must be enabled.
2.\"
3.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
--- 13 unchanged lines hidden (view full) ---
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\" $FreeBSD: head/share/man/man4/gif.4 193664 2009-06-07 23:00:40Z hrs $
31.\"
32.Dd June 8, 2009
33.Dt GIF 4
34.Os
35.Sh NAME
36.Nm gif
37.Nd generic tunnel interface
38.Sh SYNOPSIS
39.Cd "device gif"
40.Sh DESCRIPTION
--- 210 unchanged lines hidden (view full) ---
251device does not translate ICMP messages for the outer header into the inner header.
252.Pp
253In the past,
254.Nm
255had a multi-destination behavior, configurable via
256.Dv IFF_LINK0
257flag.
258The behavior is obsolete and is no longer supported.
259.Pp
260On
261.Fx
2626.1, 6.2, 6.3, 7.0, 7.1, and 7.2
263the
264.Nm
265sends and receives incorrect EtherIP packets with reversed version
266field when
267.Xr if_bridge 4
268is used together. As a workaround on this interoperability issue, the
269following two
270.Xr ifconfig 8
271flags can be used:
272.Bl -tag -width "accept_rev_ethip_ver" -offset indent
273.It accept_rev_ethip_ver
274accepts both correct EtherIP packets and ones with reversed version
275field, if enabled. If disabled, the
276.Nm
277accepts the correct packets only. This flag is enabled by default.
278.It send_rev_ethip_ver
279sends EtherIP packets with reversed version field intentionally, if
280enabled. If disabled, the
281.Nm
282sends the correct packets only. This flag is disabled by default.
283.El
284.Pp
285If interoperability with the older
286.Fx
287machines is needed, both of these two flags must be enabled.