Centos installed, how to set IPs?

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Hi guys, i already installed centos, the server is for colocation

i got 5 ips from my provider, how to add it?

do i need edit /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network file manually
or it will set automatically after install cpanel > whm setup
 

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
you need to set up ifcfg-eth0 so you can install cpanel
the rest can bee added during the set up wizard
if there tutorial link the ifcfg-eth0 should be please share it

in previous host, there is these lines in ifcfg-eth0 content, is this necessary?
PREFIX=29
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
363
Hello :)

It's important to keep in mind that invalid modification to the network configuration can result in a loss of access to your server. It's advised to consult with your data center or a qualified system administrator if you are not comfortable making these changes on your own.

Thank you.