Re: Setting netmask permanently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux