Hey guys,
I am new to the forums and new to the Linux world. Although I am fairly new, I am picking up ground extremely fast due to the fact that my new job is administering 8 CentOS web/email/ftp/dns servers. Here is my question...
One of our servers is getting up in age and I decided to build a new server to be used as a web hosting server (same as all the rest of my servers). During the construction process, I was going to go with the two NIC configuration until I noticed that all of the other servers have only one nic with two IP's assigned to them, and I want to do the same.
I have done alot of reading and playing around and have found tons of information on how to do it using ifconfig and then creating a script so the interfaces run during bootup. From what I have read, only an IP address and a netmask can be assigned, but I also need obviously a default gateway and dns for not only eth0:0, but for eth0:1 as well. Can someone please explain to me, step by step, the commands involved in creating a virtual IP address on my nic with a default gateway, netmask, and dns also assigned to that virtual addres and a script that will run and activate the virtual address on bootup? Thank you in advance for any help, it's much appreciated. I need to get this server running ASAP.
How to create a virtual IP - CentOS 4.4
How to create a virtual IP - CentOS 4.4
Here is the info you require.
http://www.howtoforge.com/perfect-server-centos-5.2-p3
OR
http://forums.devshed.com/linux-help-33/help-w-multp-id-address-in-centos-5-2t-549521.html
http://www.howtoforge.com/perfect-server-centos-5.2-p3
OR
http://forums.devshed.com/linux-help-33/help-w-multp-id-address-in-centos-5-2t-549521.html