From nobody Sat Sep 27 15:13:51 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 4cYrZS1BWJz68DNW; Sat, 27 Sep 2025 15:13:52 +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 4cYrZR57hFz440d; Sat, 27 Sep 2025 15:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986031; 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=Bsp++8Iir+xkRVRDpG6CT1osF96flTQhquS6E3P+NXE=; b=fHPKGqt8iaTAbJOjOrIs7YeU8AeScQUcs5TUlQiF4q6fMtOSH6I6J7S0heIERxrODhR7+B 3+KNVXGNHuN18HBtOlZQb33EySF+80ejIRVh4nQKW63PRG1mSlHsq63qydMGY5j109h3Ba MS5RUvlUPRqzhrDXZz5ILSq2ZX0S9t64NUcvhWRNIfmMVqjhpx1hqrhC76tIDBlPByu7xw v2PjRMuhsj/F3lF8yE1W+WewC9YMtxO3KKU+d/ZEZmRLy/FOHDHheZAeo6KwtWAqkIUqco TQ0/S8gDVhA7n1xycHg4k/ib1/cXn647c/NbFfxK4ocX4RRGeqn027HcxiHVLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986031; 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=Bsp++8Iir+xkRVRDpG6CT1osF96flTQhquS6E3P+NXE=; b=RpkX/3zPQNbvtjZ2J3aLSHfK4SPetjL7zLXL8WmlzrUwXeFSOaodzLmtlF50Q91NMQLiFo YU4iiWV22Hjul9X3th9DH8ZKbNkYDR6UgyTsiX6vA6h2m6OJXWFLBne6eDNl+Aq3nwSeyy JFpggtRAqHROCe5eFDl87yxe57kMCQVObxOK2cogWRo9kZEIF5qY7UzyJHwyaEFXH2b8xX 0cDbv4EJJlq3RjN5xLRM07+O5g42v8n549Ub/52bJ2zvBKB/n/+c/LUNE/V3uc+RZeX1TU ZVsGzWf7hT+MelsFU57gJ4XVEteyPBLpVP/6pvKiKA6kG4BRf9WaR3xBEU45pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758986031; a=rsa-sha256; cv=none; b=QwN9lmFZkRcsWblh4t+xYQuiTJM75M3XBAGHknpzjmXVywcAUZYZn9Et0TkOhCQjM3hMBo 4ViHUFI6UYI5sX9E8/34EogySnFTL74uuPtw7ncsgrl1y85VymHdEFcGw+AI9YFO7cAwvA vGoRn5gwQu6CQeRgbXyw9j9moxqc8SJI1c94AjhU2PvhO4nTG178gEr1oijXFsnLlUlAI+ Vtpa1NE6hkBewVyOwznoJLdIrhrm7BrWxIa8ao7eFkS0lrQVbtV/mWBdB1pf/Dx3/qykCY R4bn48hvT1wqhSa9nHwHN3Ak8wKvYO/MzC3MoXFFv5PLMnqGQMa2fappb6Ex+w== 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 4cYrZR4k3Nzfs7; Sat, 27 Sep 2025 15:13:51 +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 58RFDpK8082945; Sat, 27 Sep 2025 15:13:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58RFDptc082941; Sat, 27 Sep 2025 15:13:51 GMT (envelope-from git) Date: Sat, 27 Sep 2025 15:13:51 GMT Message-Id: <202509271513.58RFDptc082941@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: 1b42526ce9f4 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 1b42526ce9f4e4587f4179a7e78655ce34b95110 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=1b42526ce9f4e4587f4179a7e78655ce34b95110 commit 1b42526ce9f4e4587f4179a7e78655ce34b95110 Author: Zhenlei Huang AuthorDate: 2025-08-27 15:55:22 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-27 15:11:34 +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) --- 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