I have a server running RHEL 6, and have created multiple IP aliases on it. However, when I restart the server, the IP aliases are gone.
I tried to edit the /etc/rc.d/rc.local file to include
ifconfig eth0:1 22.214.171.124 ifconfig eth0:2 126.96.36.199
But it didn't work.
How can I make sure that the IP aliases stay after reboot?