From nobody Wed Feb 15 13:43:01 2023 X-Original-To: dev-commits-src-all@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 4PGzmR1rf8z3q5kX; Wed, 15 Feb 2023 13:43:03 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGzmQ6nfxz4Nn6; Wed, 15 Feb 2023 13:43:02 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.16.1/8.16.1) with ESMTP id 31FDh1xV076540; Wed, 15 Feb 2023 07:43:01 -0600 (CST) (envelope-from mike@karels.net) Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id NKqvLWXh7GP6KgEAs/W3XQ (envelope-from ); Wed, 15 Feb 2023 07:43:01 -0600 From: Mike Karels To: Poul-Henning Kamp Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: fe01817876a0 - main - Add an example using /etc/rc.conf syntax Date: Wed, 15 Feb 2023 07:43:01 -0600 X-Mailer: MailMate (1.14r5937) Message-ID: In-Reply-To: <202302151139.31FBdZ2J060586@gitrepo.freebsd.org> References: <202302151139.31FBdZ2J060586@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4PGzmQ6nfxz4Nn6 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 15 Feb 2023, at 5:39, Poul-Henning Kamp wrote: > The branch main has been updated by phk: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfe01817876a08309becc9ba4= f46187a613845049 > > commit fe01817876a08309becc9ba4f46187a613845049 > Author: Poul-Henning Kamp > AuthorDate: 2023-02-15 11:39:15 +0000 > Commit: Poul-Henning Kamp > CommitDate: 2023-02-15 11:39:15 +0000 > > Add an example using /etc/rc.conf syntax > --- > share/man/man4/lagg.4 | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/share/man/man4/lagg.4 b/share/man/man4/lagg.4 > index b46566120050..f3c7d9a5f713 100644 > --- a/share/man/man4/lagg.4 > +++ b/share/man/man4/lagg.4 > @@ -214,6 +214,15 @@ The following example shows how to create an infin= iband failover interface. > # ifconfig lagg0 laggproto failover laggport ib0 laggport ib1 \e > 1.1.1.1 netmask 255.255.255.0 > .Ed > +.Pp > +Configure two ethernets for failover and static IP in /etc/rc.conf: That should be =E2=80=9C.Pa /etc/rc.conf :=E2=80=9D. You should probably also add rc.conf(5) to the SEE ALSO section. Mike > +.Bd -literal -offset indent > +cloned_interfaces=3D"lagg0" > +ifconfig_lagg0=3D"laggproto failover laggport bge0 laggport bge1 \e > + 10.1.29.21/24" > +ifconfig_bge0=3D"up" > +ifconfig_bge1=3D"up" > +.Ed > .Sh SEE ALSO > .Xr ng_one2many 4 , > .Xr ifconfig 8 ,