From nobody Wed Jun 12 14:57:22 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 4VzpZ40y0Hz5MN9m for ; Wed, 12 Jun 2024 14:58:04 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VzpZ40G6gz4LYX; Wed, 12 Jun 2024 14:58:04 +0000 (UTC) (envelope-from grembo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718204284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S4a2JDOJedB3FV8MYlkPBbXlr8ZKYENqMOlEfHnqzO0=; b=xCgdMwQVKHb5srBdFv6Wt/cTTRysat4v9PjPW4++00NrO7TuOKoFBI8QDEIfy6hL43m4bd epo4Icx6KUaJkDcCUgOUif8sqgTww3Rgb3Wh4REKWlwPd26XB+VlZPub7HYLpvxg+GDCW5 +vlvSaPrT/Chh0CwEpIeSVOFmb8HXSXpZ3B0wgJqBqoE3meGK448s0PuddcVPn25Ak6o8p ZcuMGqoxI4SiQcyEqy7s9He75PsDCnsozz+0W0S89+0jysSDH00tRfjtGOo/2+qUB4WsxG E0PxrI9vKq1tNRQd+vQst7/KgNuuOimZF1Fiy2spM2CPVZdo98+aP2JISIWSAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718204284; a=rsa-sha256; cv=none; b=whgjQqTDaj+mz2RWlZfJZDfqWhiIdbuPzQdBwmO60lzZXx8DUluJtZVmSV/gSYWAgqdkbP YC8qzxhAtDqIavbrTnKm4thaZ/m6+ffQKuXNEgioHnGQ6DJ41zOvHLN+iBn9YGcp06bfSk nqX/v/NfC/HgKE4jzFApVNqP2ABFtEMzQaiOofQ00nfLBPXrEsfQHcsf6xZUZA3thchqg3 XAfDtdLyRYghTZuJTmNf+Ax1S5+fWLI1ii5LeHMJoFvOxqSLLPhwFddLZ0sFKMhB8KFqlq BenTHEKe1ZvsAjN55P5jeWkBy7AvQBkHaLHsJi1rDVBFOIxNgTenAbru1E897w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718204284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S4a2JDOJedB3FV8MYlkPBbXlr8ZKYENqMOlEfHnqzO0=; b=vL6wkEKIYaX0zWrlUECi0FLmhmsTC0nw6pkm7jn2QHmd1huV7Rxo8LnPExvhiQ3y/vjXTt rVeDTV6bM1f2RUarHSRKxnx2cby3C4AGWjYib1Ow2g5Nn98haoF+UAccNChUrtCWwgZKo2 DwFi52wW1hj0Mct/mQBA/w1Lacf3FueCCehhw7rVZxfYV3/7hQ9v2tTIptglDQZgOaohZQ 4uNir1QT01XkJyAW4Hxxkk0U+WDF77/PihAm6Na5ULpuQ+VFmnhT8d8jW+F6YnvIx1Cj7y CA2AQfoZ6+LpKANNSfD7bSV6JU1imteZQdUCfmmMiiJmYp0uyOG7OrR3eFFV2g== Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) (Authenticated sender: grembo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VzpZ33sswz19d5; Wed, 12 Jun 2024 14:58:03 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id f53bf6ef (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 12 Jun 2024 14:58:02 +0000 (UTC) Date: Wed, 12 Jun 2024 16:57:22 +0200 From: Michael Gmelin To: "Poul-Henning Kamp" Cc: "Bjoern A. Zeeb" , current@freebsd.org Subject: Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out Message-ID: <20240612165722.5ec89d11.grembo@freebsd.org> In-Reply-To: <202406121436.45CEaZ0o011207@critter.freebsd.dk> References: <202406120747.45C7lRGZ009491@critter.freebsd.dk> <5ss109s8-1086-700s-p199-rpr429on41p9@yvfgf.mnoonqbm.arg> <202406121436.45CEaZ0o011207@critter.freebsd.dk> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= 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 Content-Transfer-Encoding: 7bit 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 -m -- Michael Gmelin