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