From nobody Wed Jun 12 15:06:23 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 4Vzplt4sfMz5MP6C for ; Wed, 12 Jun 2024 15:06:34 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (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 4Vzplt2BsXz4Nxd; Wed, 12 Jun 2024 15:06:34 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none 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 89B2E8D4A127; Wed, 12 Jun 2024 15:06:25 +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 235DF2D029D9; Wed, 12 Jun 2024 15:06:25 +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 O8XV_Ulzi9tZ; Wed, 12 Jun 2024 15:06:24 +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 38C1D2D029D2; Wed, 12 Jun 2024 15:06:24 +0000 (UTC) Date: Wed, 12 Jun 2024 15:06:23 +0000 (UTC) From: "Bjoern A. Zeeb" To: Michael Gmelin cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out In-Reply-To: <20240612165722.5ec89d11.grembo@freebsd.org> Message-ID: <05ors010-q60q-s261-no16-1577rq1p1610@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> 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-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Vzplt2BsXz4Nxd 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. -- Bjoern A. Zeeb r15:7