LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-31-2004, 07:22 PM   #1
duality
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
FC 1 Samba server - IP address changed on its own


I have a Fedora Core 1 box running Samba 3.x (can't remember the exact version). It's been running fine since I set it up 3 weeks ago. All machines in the network receive an IP address via DHCP from the Linksys Cable/DSL router.

Today, out of the blue, nobody could access the fileserver. SMBD and NMBD were running, so I ran ifconfig. Found it. The IP address for eth0 suddenly became 192.184.x.x - not the standard 192.168.1.x that is assigned by default by Linksys routers. Restarted the network service and restarted Samba, and all is well.

What may have caused this to happen? I'm clueless...
 
Old 08-31-2004, 11:43 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

it might have happened that while ur system was getting eth0 up ,it could not get contacted with ur DHCP server, so since it could not get any ipadress,it got itself some out of the blue Ip address
this happend with me,in cases,either the DHCP is down,or some firewall is up

but one thing here is that ,,this above hapened with windows more often,with linux i have seen that ,if it cannot find an ip addresss from DHCP,then rather that getting a garbage IP it does not bring up the eth0,so on ifconfig we get only the loopback device(lo)


regards
 
Old 09-01-2004, 12:11 AM   #3
duality
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by masand
hi

it might have happened that while ur system was getting eth0 up ,it could not get contacted with ur DHCP server, so since it could not get any ipadress,it got itself some out of the blue Ip address
this happend with me,in cases,either the DHCP is down,or some firewall is up

but one thing here is that ,,this above hapened with windows more often,with linux i have seen that ,if it cannot find an ip addresss from DHCP,then rather that getting a garbage IP it does not bring up the eth0,so on ifconfig we get only the loopback device(lo)


regards
So, could this have occurred when the Linux server was attempting to renew the IP address after its lease expired? The thing is, the server has been up for several weeks straight. eth0 has been up the entire time. I was able to login to the Linksys router immediately after discovering that nobody was able to connect to the Linux box and I renewed the IP several minutes after discovering that the server was down.
 
Old 09-01-2004, 12:18 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
thats what i am saying
but what i have seen with my machine is that ,if it cannot get an ipaddress ,it does not bring up eth0

since ur machine was up and running an durimg that the lease expired,may be that may be a problem,then u might be having this same situation again when the lease expires.. and then u can get on to something

regards
 
Old 09-01-2004, 11:46 AM   #5
duality
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Our MS Exchange server just reported an error regarding its DHCP lease/renewing its IP address. I had to open the command prompt and renew it manually. Very strange. I'm almost certain it's an issue with the Linksys router.

The firmware on the router is dated from December of 2002, so I upgraded the it to the latest version today. According to the readme file on Linksys's website, the new firmware incorporates changes to the DHCP server, and fixes a problem with DHCP renew. We'll see how this goes...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba: How to restrict access to server via MAC-address? johnny1959 Linux - Networking 5 03-27-2008 05:43 AM
how source address can be changed in packet payal_shah Linux - Networking 3 03-29-2005 07:56 AM
IP Address Is Getting Changed When System Get Suspend mehuljv Linux - Newbie 0 11-20-2004 04:15 AM
Changed modems: eth0 cant find IP address suggardaddy4242 Linux - Newbie 2 09-09-2004 12:45 PM
Samba server only reachable by IP address, not showing in Network Neighbourhood mdkelly069 Linux - Networking 14 11-10-2003 09:41 AM


All times are GMT -5. The time now is 05:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration