LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-24-2008, 02:49 PM   #1
robin_2802
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
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...
 
Old 10-25-2008, 09:07 AM   #2
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
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
 
Old 10-26-2008, 05:24 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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 .
 
Old 10-26-2008, 05:59 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you sure you want you netmask to be 255.255.0.0 and not 255.255.255.0?
 
Old 10-26-2008, 09:52 AM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
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?
 
  


Reply

Tags
assignment, ip, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Static IP keeps changing pruhnke Linux - Networking 2 10-16-2005 10:57 PM
DHCPD with static IP is changing itself gunterjl Linux - Networking 1 03-16-2005 12:58 AM
changing from dynamic to static ip sterrenkijker Debian 4 05-24-2004 04:11 PM
Changing from DHCP to static jbrashear Debian 2 02-18-2004 06:14 AM
Changing from static IP to dynamic one cijunet Linux - Networking 1 04-10-2003 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration