LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2010, 01:33 AM   #1
jithuc83
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
Red face IP is resetting after reboot


Hello friends....I have a problem with my client PC. PC has a static ip 10.162.41.159 (supplied by editing and saving eth0 file, not by command line) in LAN. netmask is 10.162.41.128 and gateway is 10.162.41.129. My problem is after rebooting, ip is resetting into 10.162.41.130. It happens after rebooting even network cable is removed!!!if i restart network service ip will reassigned into 10.162.41.159. i dont know why this happens..Plz help me....thanks in advance...
 
Old 02-22-2010, 07:22 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Which version of linux is this ?

You probably have DHCP enabled on the client so it looks for an IP address on booting.
If the old IP address lease hasn't expired, it will continue to use it.
 
Old 02-23-2010, 01:25 AM   #3
jithuc83
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
Which version of linux is this ?

You probably have DHCP enabled on the client so it looks for an IP address on booting.
If the old IP address lease hasn't expired, it will continue to use it.


It is RHEL 5 Client version.

DHCP is disabled and network cable is removed. Still have the same problem after rebooting...could you please clarify how to expire the old IP address's lease and assign new IP address?
 
Old 02-23-2010, 01:34 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye

please recheck your netmask, this can't be 10.162.41.128. It think it should be something like 255.255.255.128.
 
Old 02-23-2010, 05:08 AM   #5
jithuc83
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mesiol View Post
Hye

please recheck your netmask, this can't be 10.162.41.128. It think it should be something like 255.255.255.128.


In my thin clients i have supplied netmask as 255.255.255.128...they have no problem...but in PC, if i gave netmask as 255.255.255.128 it will not ping, says network not reachable...if i gave 255.0.0.128, it will work...wts going wrong here?
 
  


Reply



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
Keyboard-layout keeps resetting itself to "USA" on reboot. Donati Linux - Laptop and Netbook 7 03-21-2009 04:36 AM
[SOLVED] Reboot linux without resetting machine (i.e. BIOS POST, GRUB etc.) 10110111 Linux - General 4 12-09-2008 04:17 PM
9.3 alsamixer resetting on reboot ionmich SUSE / openSUSE 4 12-08-2005 07:51 PM
/dev/nvdia* permissions keep resetting on reboot Lagg Slackware 7 05-13-2005 04:04 PM
hostname resetting to localhost on unclean reboot brian_h1 Linux - Networking 0 05-11-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:30 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