Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
We are using NIS, and static ip in a closure environment.
Lately, I installed several linux servers with Red Hat 4.7. I used static ip on each box in sequence. For example:
Server #1 134.20.193.64 netmask 255.255.0.0
Server #2 134.20.193.65 netmask 255.255.0.0
.
.
.
Server #10 134.20.193.73 netmask 255.255.0.0
After the installation were completed, from server#1, I can not ping the server #2 because the ip of that server was changed to the ip of server #3. So, I modified the ip of server #2 back to what it was, then I could ping server #2. But the ip of #3 was changed to that of #4. I can ping #4 but #3.
After I modified the ip of #3 and I could ping it, then ip of #4 changed to that of #5, so I could not ping #4...
I've always thought that somewhere around 2, "true"* static IP's are too difficult to administer. I always use a DHCP server to assign fixed IP's based on MAC address. Do you have that option?
* I use "static" to refer only to assigned IP addresses that are implemented on the host. Others use the term to also refer to assigned IP addresses that are implemented through DHCP. I prefer to call those "fixed".
dasy2k1, thanks for the reminder of the difference between "RH" & "RHEL", saved me the trouble .
What process are you following to set the Static IP addresses?
Are you using an application to set the addresses?
Are you using ifconfig or some other cli command to set them?
Or, as above, are you trying to set them on the DHCP Server?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.