CentOS-7 Reinstall
I have a test system that I am using to investigate CentOS-7. I note the following difficulty when booting from the Minimal Install DVD.
Neither on the initial install nor on subsequent attempts at re-installing CentOS-7 can I set the IPv4 interface to a static IP address. I can configure it but I cannot save the changes. The save button remains greyed out.
2 thoughts on - CentOS-7 Reinstall
If fisxed IP Addresses are to bo set up, I usually do it in
/etc/sysconfig/network-scripts/ifcfg-interfacename. This file, on a CentOS 7 installation, looks like this:
DEVICE=”eth0″
ONBOOT=yes NETBOOT=yes NM_CONTROLLED=no UUID=”2c15111b-dd3d-4b31-9c5c-e01f13e36242″
BOOTPROTO=static
#BOOTPROTO=dhcp HWADDR=”90:1b:0e:11:f9:28″
TYPE=Ethernet NAME=”eth0″
#IPADDR2.168.97.67
IPADDR!2.90.206.131
#NETMASK%5.255.255.0
NETMASK%5.255.255.224
MTU50
#GATEWAY2.168.97.2
GATEWAY!2.90.206.129
#
IPV6INIT=yes
# global scope IPV6ADDR=”2002:d45a:ce86::163/64″
# site scope IPV6ADDR_SECONDARIES=”fec0::240:5ff:fe51:d92d/64″
if you do changes in this file, you have to
ifdown interfacename ifup interfacename
in order to activate them.
suomi
Once the system is up and running then one has several options. What I wanted to do, and what the installer apparently will not permit, is to set a static address during the install. The GUI installer seemingly will not allow this. I wish to know if this is by design, a bug, or I am just not doing something right.