From nobody Sat Oct 04 16:44:32 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cfBFr6Nfkz69JXt; Sat, 04 Oct 2025 16:44:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cfBFr3tVHz3Knq; Sat, 04 Oct 2025 16:44:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759596272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0XfgHcvKzgmEQN2clQqO4/Us0T6iS0cgLvDFbyTbTXg=; b=r4LbSRxBuMFb38Cuwt7CL5bJKMt6McAJOzRlV5dmiupnN6WHwFcS49etR9ncHpDwTbnxM9 YSZP0DeFCy+KuBzI4nZ/4V2IBTUA6/kECfu8RISLVK7+HxRkxxn9eOox3t+bBh2xyKxiqq V7lerwpVUxkHWkaP1w2CGvoFvGYRLclNSvXqxEzt1PXzYmxr6mUvtHNK6PdwvyY92sYJUR cf2hZYPBeoNil11X/fi2f2OSY89mGY4qbx+DuK8DJiuHplzxi59LRuasZ33ZJQ8g5F15AN ThJyyigplGbPpol/ia+RfoqaOv8UV+GmdrvFjuAhM9AUrDzHzvcBIrKbcQFBFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759596272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0XfgHcvKzgmEQN2clQqO4/Us0T6iS0cgLvDFbyTbTXg=; b=WlG9A/248f5BK35V7/xRi6FSPC2FOyOgm39gQWALKjXoX0SCEdAipqDdBTq1n8/V4HONXs V0jIwFSfxVBcyFrDpFOfYv3qKod5WAYFMLCYvcnzLV3BAY8xg3towdQILAhVgDPHdMaUyy LuenFwuh60QgAspUj0REwxvqubd4PgSaY7c/t+jyXWuB1Ik9AZJjfX92GGMWF9s5xqMPHU 1ch9P0ixI3/M831kmcxvqyRYmRVJ5+G2+TrAy0DqgFleCE/bdT56UAD2dxNjClkAe8/iUi PK83L2HeijOPpTvCvwZSoDZWd1i6VuJ6aDh7kowpPW3WqcwkTAZ/jBXZk8sZ+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759596272; a=rsa-sha256; cv=none; b=vPB51fkk99oAJAQPH/5C7dX53UdW5T4Q/GoESZxtwDJWcMLhfuj6EVmxh5eOms8I25RHd3 4+97GIT634Qi1RPjBr8lozs96e5574K4HVa8aHH6hvlpIz+dSqQWDPkbh2jmEk0SavvUl7 XjE61PoDBTaXw5jKD7p33ZSOxajj9x0G6+RADkj9FzQ+JsYpLWgPjBfnpeBtSnD2SUJxti z32yLgByr70gVysNcspM88Wcf9E2XFnPJDLJ6yFyYhD4FSqERelF8FmO/BjZSbfetNAx07 XXWk/JZgEpgdn7mfQgM2PZFJWDztN7Cqbx3LEJx7dl2D6gK7eYaTzdny6iaCZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cfBFr2plxzqdN; Sat, 04 Oct 2025 16:44:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 594GiWvt058035; Sat, 4 Oct 2025 16:44:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 594GiWm3058032; Sat, 4 Oct 2025 16:44:32 GMT (envelope-from git) Date: Sat, 4 Oct 2025 16:44:32 GMT Message-Id: <202510041644.594GiWm3058032@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 7cbb184bbfa3 - stable/13 - gif.4: Mention that gif(4) can tunnel Ethernet traffic List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7cbb184bbfa3ffab031aca864647ddb387094e27 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=7cbb184bbfa3ffab031aca864647ddb387094e27 commit 7cbb184bbfa3ffab031aca864647ddb387094e27 Author: Zhenlei Huang AuthorDate: 2025-08-27 15:55:22 +0000 Commit: Zhenlei Huang CommitDate: 2025-10-04 16:43:21 +0000 gif.4: Mention that gif(4) can tunnel Ethernet traffic Ideally this manpage shall have examples for the EtherIP setup, but there has been one in if_bridge(4) since the introduction of EtherIP [1], so direct the setup to if_bridge(4) at this moment. While here, add RFC 3378 to the reference section. [1] 73ff045c575b Add RFC 3378 EtherIP support Reviewed by: meta MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D51781 (cherry picked from commit bf6027df0955cb79c9c56c47cc96709b2215c82a) (cherry picked from commit 1b42526ce9f4e4587f4179a7e78655ce34b95110) --- share/man/man4/gif.4 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/share/man/man4/gif.4 b/share/man/man4/gif.4 index 959510451011..03fc712bf2a6 100644 --- a/share/man/man4/gif.4 +++ b/share/man/man4/gif.4 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 21, 2018 +.Dd August 27, 2025 .Dt GIF 4 .Os .Sh NAME @@ -54,6 +54,16 @@ does not perform GRE encapsulation; use .Xr gre 4 for GRE encapsulation. .Pp +The +.Nm +interface can also tunnel Ethernet traffic over IPv4 or IPv6 +when combined with a +.Xr if_bridge 4 +interface using EtherIP protocol. +See +.Xr if_bridge 4 +for detailed setup. +.Pp Each .Nm interface is created at runtime using interface cloning. @@ -169,6 +179,7 @@ variable to the desired level of nesting. .Sh SEE ALSO .Xr gre 4 , +.Xr if_bridge 4 , .Xr inet 4 , .Xr inet6 4 , .Xr ifconfig 8 @@ -188,6 +199,13 @@ to the desired level of nesting. .%D December 1999 .%O draft-ietf-ipsec-ecn-02.txt .Re +.Rs +.%A R. Housley +.%A S. Hollenbeck +.%T EtherIP: Tunneling Ethernet Frames in IP Datagrams +.%R RFC 3378 +.%D September 2002 +.Re .\" .Sh HISTORY The