Creating IP aliases upon server reboot
Hi,
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 Code:
ifconfig eth0:1 1.1.1.1 How can I make sure that the IP aliases stay after reboot? Thank you. Regards, Rayne |
Hi,
You need to create the proper interface(s), have a look here: Interface Configuration Files (Especially 13.2.4). In short: Copy ifcfg-eth0 to ifcfg-eth0.1 and ifcfg-eth0.2. Change the appropriate fields and restart the network. Hope this helps. |
Thank you!
|
You're welcome :)
BTW: Can you put up the [SOLVED] tag. first post -> Thread Tools -> Mark this thread as solved |
All times are GMT -5. The time now is 10:36 PM. |