we will be hosting multiple sites on this box and I need to use different IPs in ssl.conf etc so how can I configure the IPs on the interface?
in an old rhel box I've seen in /etc/rc.d/rc.local stuff like: ifconfig eth0:10 10.30.0.117 netmask 255.0.0.0
, but I was told this is pretty "predestrian" way of doing it
what is the recommended way this should be done? best practice even
I've come across suggestions to copy ifcfg-eth0 for all aliases incrementing the value after :
cp ifcfg-eth0 ifcfg-eth0:0
cp ifcfg-eth0 ifcfg-eth0:1 etc
is this how it is supposed to be done?