Assigning IP address on the setup

General support questions
Post Reply
XP_2600
Posts: 13
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
Forum Moderator
Posts: 24086
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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

XP_2600
Posts: 13
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