From nobody Wed Jun 12 15:11:14 2024 X-Original-To: current@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 4VzpsP0Z31z5MPB6 for ; Wed, 12 Jun 2024 15:11:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VzpsL59lfz4QTG for ; Wed, 12 Jun 2024 15:11:18 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 364A98D4A126; Wed, 12 Jun 2024 15:11:16 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id A9E702D029D8; Wed, 12 Jun 2024 15:11:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id IxtFB7EbDDQ0; Wed, 12 Jun 2024 15:11:14 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id AFBB92D029D2; Wed, 12 Jun 2024 15:11:14 +0000 (UTC) Date: Wed, 12 Jun 2024 15:11:14 +0000 (UTC) From: "Bjoern A. Zeeb" To: Poul-Henning Kamp cc: current@freebsd.org Subject: Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out In-Reply-To: <05ors010-q60q-s261-no16-1577rq1p1610@yvfgf.mnoonqbm.arg> Message-ID: <404q3127-9p57-1oqq-qqoo-3479q27830ss@yvfgf.mnoonqbm.arg> References: <202406120747.45C7lRGZ009491@critter.freebsd.dk> <5ss109s8-1086-700s-p199-rpr429on41p9@yvfgf.mnoonqbm.arg> <202406121436.45CEaZ0o011207@critter.freebsd.dk> <20240612165722.5ec89d11.grembo@freebsd.org> <05ors010-q60q-s261-no16-1577rq1p1610@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zabbadoz.net]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4VzpsL59lfz4QTG On Wed, 12 Jun 2024, Bjoern A. Zeeb wrote: > On Wed, 12 Jun 2024, Michael Gmelin wrote: > >> >> >> On Wed, 12 Jun 2024 14:36:35 +0000 >> "Poul-Henning Kamp" wrote: >> >>> -------- >>> Bjoern A. Zeeb writes: >>> >>>>> I had a machine with this line in /etc/rc.conf: >>>>> >>>>> ifconfig_bla0="192.168.87.11" >>>>> >>>>> I found out the hard way, that this defaults to /8 now. >>>> >>>> Did you track it down to a specific change? I.e. is this >>>> ifconfig/netlink or the old kernel change from like two years(?) >>>> ago? >>>> >>>> Do you have a time window when this broke as that'll help people to >>>> bisect? >>> >>> I have no idea, sorry, I just freebsd-updated this one box... >>> >> >> I just tried on 14.0-p6, same there: >> >> # ifconfig vtnet0 192.168.87.11 >> ifconfig: WARNING: setting interface address without mask is >> deprecated, default mask may not be correct. >> >> Interestingly, `ifconfig vtnet0 10.0.0.1` uses "/24" whereas >> 192.168.87.11 uses "/8". >> >> This dates back to: >> https://cgit.freebsd.org/src/commit/?id=4bf44dd73bc0a > > No it pre-dates that chnage. > > It goes back to d8237b95552807e937fc389c7e2237679ef0c984 and related > changes. Sorry I hit send too early And I think it came out of commit 2f35e7d9fa03f27543f347cd6277af5bfc6a7e95 commit 20d59403961d531467cfab22163f49c131cc8b55 -- Bjoern A. Zeeb r15:7