Re: 14.1-R rc.conf/ifconfig netmask issue was really hard to figure out
Date: Wed, 12 Jun 2024 14:57:22 UTC
On Wed, 12 Jun 2024 14:36:35 +0000 "Poul-Henning Kamp" <phk@phk.freebsd.dk> 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