IP Settings for new server

IP Settings for new server

I am colocating a server so I need to be sure that IP settings are correct before it gets installed. This is a new minimal Centos 6.2 x64 build destined for Directadmin. There will be no other hardware installed. I have 5 usable IP’s.

The following is my best guess as to the settings I need to have when I send out the server. Please help me out with the questions.

If my server is karuna.divineled.com, would it look like this?

/etc/sysconfig/network

Quote:

NETWORKING=yes
HOSTNAME="karuna.divineled.com"
GATEWAY="xxx.xxx.xxx.xxx" <- THIS WILL BE PROVIDED BY DATACENTER
GATEWAYDEV="eth0"
FORWARD_IPV4="yes"


/etc/resolv.conf

Quote:

search divineled.com – <- SHOULD THIS BE MYDOMAIN.COM?
nameserver XXX.XXX.XXX.XXX – <- SHOULD THIS BE 8.8.8.8 Google?
nameserver XXX.XXX.XXX.XXX – <- 8.8.4.4?


/etc/hosts

Quote:

::1 localhost6.localdomain6 localhost6 <-ENTER EXACTLY AS SHOWN?
# Do not remove the following line, or various programs
# that require network functionality will fail.
111.222.333.444 karuna.divineled.com karuna <-MY FIRST IP ADDRESS?
127.0.0.1 localhost <- ???


/etc/sysconfig/network-scripts/ifcfg-eth0

Quote:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=111.222.333.255 <- ???
IPADDR=XXX.XXX.XXX.XXX <- SERVER’S FIRST IP?
NETMASK=255.255.255.248 <-THIS NUMBER WAS PROVIDED
NETWORK=111.222.333.0 <- ???
ONBOOT=yes


Most of this info comes from http://www3.wiredgorilla.com/content/view/346/51/
but I want to double check with folks here because if I get locked out it will be a major bummer.

Last question. I currently own but do not use divineled.com. If I have future plans for it for an ecommerce site, should I reserve another domain name for the server name, such as divineledserver.com?

Thanks for helping a newbie out!

Comments are closed.