Resilient network configuration

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

 



On every version of Fedora in the last ten years or so, the basic
network configuration is stored in files under /etc/sysconfig. When the
machine boots or I run "systemctl restart network" (or "service network
restart"), those files determine how the network gets set-up. After
that, I can change the configuration with several tools. For example, I
can run something like,

 # ip address add 192.168.0.37/24 dev eth0 label eth0:xx

and a new interface alias will be created. But how do I make this alias
resilient so that it will appear automatically after a boot or a network
restart?

For a primary interface with a static address, I may be able to add the
information as IPADDR2 (etc) in ifcfg-eth0. But how do I do this if the
primary interface gets its address via DHCP?
-- 
	Dave Close
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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