Date: Sat, 17 May 2025 23:57:17 +0200 From: Kristof Provost <kp@FreeBSD.org> To: Mitchell Horne <mhorne@freebsd.org> Cc: Lexi Winter <ivy@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: b61850c4e6f6 - main - bridge(4): default net.link.bridge.member_ifaddrs to false Message-ID: <C5E86940-9C1B-428B-980B-693FE92E7AED@FreeBSD.org> In-Reply-To: <d839f137-b43b-416b-968f-439301f0a5c6@freebsd.org> References: <202505150004.54F04FhR046897@gitrepo.freebsd.org> <d839f137-b43b-416b-968f-439301f0a5c6@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_MailMate_20E2E8F1-9F1C-4A79-AF23-A5301B2C373E_= Content-Type: text/plain; charset=UTF-8; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable On 17 May 2025, at 23:18, Mitchell Horne wrote: > On 5/14/25 21:04, Lexi Winter wrote: >> The branch main has been updated by ivy: >> >> URL: = >> https://cgit.FreeBSD.org/src/commit/?id=3Db61850c4e6f6b0f21b36da7238db= 969d9090309e >> >> commit b61850c4e6f6b0f21b36da7238db969d9090309e >> Author: Lexi Winter <ivy@FreeBSD.org> >> AuthorDate: 2025-05-14 14:26:24 +0000 >> Commit: Lexi Winter <ivy@FreeBSD.org> >> CommitDate: 2025-05-15 00:02:52 +0000 >> >> bridge(4): default net.link.bridge.member_ifaddrs to false >> >> As discussed on arch@, this behaviour is broken and confuses = >> users, so >> disable it by default. For 15.0-RELEASE, allow it to be = >> re-enabled >> using a sysctl, but the sysctl will be removed in 16.0R. >> > > Hi Lexi, > > I just updated my workstation past this commit. I found that my main > ethernet interface didn't receive an IP address, and had to set the > sysctl to proceed as before. > > I have the following network configuration lines in my rc.conf: > > cloned_interfaces=3D"bridge0 tap0" This ought to do the trick: > ifconfig_bridge0=3D"DHCP addm re0 addm tap0=E2=80=9D Ensure the address gets assigned to the bridge, not to a bridge member = interface. =E2=80=94 Kristof --=_MailMate_20E2E8F1-9F1C-4A79-AF23-A5301B2C373E_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"= > </head> <body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty= le=3D"white-space: normal;"> <p dir=3D"auto">On 17 May 2025, at 23:18, Mitchell Horne wrote:</p> <blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px= solid #136BCE; color: #136BCE;"> <p dir=3D"auto">On 5/14/25 21:04, Lexi Winter wrote:</p> <blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px= solid #136BCE; border-left-color: #4B89CF; color: #4B89CF;"> <p dir=3D"auto">The branch main has been updated by ivy:</p> <p dir=3D"auto">URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D= b61850c4e6f6b0f21b36da7238db969d9090309e">https://cgit.FreeBSD.org/src/co= mmit/?id=3Db61850c4e6f6b0f21b36da7238db969d9090309e</a></p> <p dir=3D"auto">commit b61850c4e6f6b0f21b36da7238db969d9090309e<br> Author: Lexi Winter <a href=3D"mailto:ivy@FreeBSD.org">ivy@FreeBSD.or= g</a><br> AuthorDate: 2025-05-14 14:26:24 +0000<br> Commit: Lexi Winter <a href=3D"mailto:ivy@FreeBSD.org">ivy@FreeBSD.or= g</a><br> CommitDate: 2025-05-15 00:02:52 +0000</p> <pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; border= : thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #= E4E4E4;"><code style=3D"padding: 0 0.25em; background-color: #E4E4E4;">br= idge(4): default net.link.bridge.member_ifaddrs to false As discussed on arch@, this behaviour is broken and confuses users, so disable it by default. For 15.0-RELEASE, allow it to be re-enabled using a sysctl, but the sysctl will be removed in 16.0R. </code></pre> </blockquote> <p dir=3D"auto">Hi Lexi,</p> <p dir=3D"auto">I just updated my workstation past this commit. I found t= hat my main<br> ethernet interface didn't receive an IP address, and had to set the<br> sysctl to proceed as before.</p> <p dir=3D"auto">I have the following network configuration lines in my rc= =2Econf:</p> <p dir=3D"auto">cloned_interfaces=3D"bridge0 tap0"</p> </blockquote> <p dir=3D"auto">This ought to do the trick:</p> <blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px= solid #136BCE; color: #136BCE;"> <p dir=3D"auto">ifconfig_bridge0=3D"DHCP addm re0 addm tap0=E2=80=9D= </p> </blockquote> <p dir=3D"auto">Ensure the address gets assigned to the bridge, not to a = bridge member interface.</p> <p dir=3D"auto">=E2=80=94<br> Kristof</p> </div> </div> </body> </html> --=_MailMate_20E2E8F1-9F1C-4A79-AF23-A5301B2C373E_=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5E86940-9C1B-428B-980B-693FE92E7AED>