Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi!
I'm trying to configure IP Aliasing.I was able making that by creating a new file ifcfg-eth0:1 and that was ok,and after rebooting.
Now, me was suggested to follow this howto http://www.faqs.org/docs/Linux-mini/IP-Alias.html
but after rebooting it doesn't exist.There is a sugestion to do for that but for me is not working.Any suggestion ???I'm using RHEL5.
thank you
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
If those are the exact steps you enter to get it up and running then place those commands with their full path like you already have. Place those commands at the end of /etc/rc.local. That would be the easiest.
...I'm probably more of a newbie than you are so take my suggestion with a handful of salt.
(...if I'm way off base here, someone please feel free to humiliate me publicly %-)
It seems to me, with my < VERY LIMITED > experience that configuration setting in an if-cfg file in /etc/sysconfig/network-scripts/ don't seem to get applied consistently after a reboot.
If you use the GUI Networking utility to configure an interface, you will find that it creates the if-cfg file in /etc/sysconfig/networking/devices/
I have therefore found it helpful to copy all the if-cfg files I want to maintain after a system reboot to this secondary location.
Bottomline: Try putting your if-cfg files in /etc/sysconfig/networking/devices/ and see if that causes your IP alias settings to be maintained across system resets.
--Steve
...RHEL is the only distro that I have really worked with, so all of the proceeding is based on my (possibly flawed) observations of the workings of RHEL4 and RHEL5...other distro's may not exhibit these behaviors ...hell, RHEL may not even exhibit these behaviors at the hands of someone who knows what they are doing. %-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.