On Sat, 2022-03-26 at 15:41 -0700, Geoffrey Leach wrote:
Device vendor insists on a netmask 255.255.0.0, so
% ifconfig eno1 169.254.10.6 netmask 255.255.0.0
which changes netmask, but it soon reverts to the original
value 255.255.255.255
ifdown/ifup does not change the situation
What device vendor? What kind of device? What are trying to do?
169.254.x.y addresses are link-local addresses. Used by machines
automatically setting their own IPs to a random address (rather than by
an external DHCP server giving them an IP, or you manually setting
one). As such, those addresses will only work within their own little
network.
Generally speaking, computers will automatically use link-local
addresses as a last resort when not configured in some other way, and
it will have the expected 255.255.0.0 netmask. If something else sets
its address, you'll get whatever *that* dictated.
I've never seen link-local addresses work outside a LAN. i.e. all
computers inside the LAN on those addresses can intercommunicate, but
none can access the internet through the router. Though I've never
tried setting the router into that address pool, to see if it can act
as a gateway, nor do I want to (it's a pain to reconfigure, and if I
had to factory reset there's a lot of work that needs doing to unset
the crappy factory default settings).
--
uname -rsvp
Linux 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 23 16:47:03 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.