LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   static ip keep changing. (https://www.linuxquestions.org/questions/linux-newbie-8/static-ip-keep-changing-678872/)

robin_2802 10-24-2008 02:49 PM

static ip keep changing.
 
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...


Help...

dasy2k1 10-25-2008 09:07 AM

with all this modifying of IPs you are probabbly only confusing the matter...

to sucsessfully ping any server from any other all servers must have differnt IP adresses.

if any 2 have the same ip at the same time it wont work.


also i presume this is redhat entaprise 4.7 not the origanal redhat 4.7 which was out of date in 1995

archtoad6 10-26-2008 05:24 AM

Welcome to LQ.

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 :).

billymayday 10-26-2008 05:59 AM

Are you sure you want you netmask to be 255.255.0.0 and not 255.255.255.0?

john test 10-26-2008 09:52 AM

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?


All times are GMT -5. The time now is 08:31 PM.