Date: Sat, 4 May 2024 14:37:28 -0500 From: Kelly Hays <j.kelly.hays@gmail.com> To: Warner Losh <imp@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: cb808de400c7 - main - rc.conf.5: modernise network_interfaces Message-ID: <CA%2BSWn32AWaov2TMvBDPEupdoymG3byxokk6ijoef79-y91DEcw@mail.gmail.com> In-Reply-To: <202405041645.444Gjn2b099621@gitrepo.freebsd.org> References: <202405041645.444Gjn2b099621@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 4, 2024 at 11:45=E2=80=AFAM Warner Losh <imp@freebsd.org> wrote= : > > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcb808de400c798302177ea2b8e= f6d1c7870baf57 > > rc.conf.5: modernise network_interfaces > > @@ -2045,9 +2062,9 @@ interfaces with: > .Bd -literal > gif_interfaces=3D"gif0 gif1" > gifconfig_gif0=3D"100.64.0.1 100.64.0.2" > -ifconfig_gif0=3D"inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252" > +ifconfig_gif0=3D"inet 10.0.0.1/32 10.0.0.2" > gifconfig_gif1=3D"inet6 2a00::1 2a01::1" > -ifconfig_gif1=3D"inet 10.1.0.1 10.1.0.2 netmask 255.255.255.252" > +ifconfig_gif1=3D"inet 10.1.0.1/32 10.1.0.2" In the last example above the CIDR notation for the netmask of 255.255.255.252 would be /30 not /32. -- Kelly Hays
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BSWn32AWaov2TMvBDPEupdoymG3byxokk6ijoef79-y91DEcw>