Assigning IP address on the setup

General support questions
Post Reply
XP_2600
Posts: 15
Joined: 2017/12/18 11:48:35

Assigning IP address on the setup

Post by XP_2600 » 2018/04/17 09:51:22

When i assign ip address to anaconda, by hitting tab after booting from CentOS CD, and enter "IP= subnet= gateway =" this IP address remain configured on the system after finishing installation, my question is where its saved ? i assigned this IP address to the system before Anaconda configure anything on system before formatting partitioning the hard disk and so on , so how and why the system keep the IP settings after finishing the installation ?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Assigning IP address on the setup

Post by TrevorH » 2018/04/17 09:58:23

It has always worked that way. If you perform the installation using DHCP then the installed system will also use DHCP. If you give it a fixed ip address then it will use that. It's stored in the same place as usual - /etc/sysconfig/network-scripts/ifcfg-$interface.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

XP_2600
Posts: 15
Joined: 2017/12/18 11:48:35

Re: Assigning IP address on the setup

Post by XP_2600 » 2018/04/18 08:46:15

Thank you!

Post Reply