ip of my server changes, seemingly at random
My server local ip keeps changing --- one day it is 192.168.1.104 and a week later I need to change the port forwarding on my router to 192.168.1.103. My desktop retains the same ip. Is there something on the server that might be releasing the ip and requesting a new one??
just a thought --- often the problem seems to coincide with this http://www.linuxquestions.org/questi...threadid=18651 Any ideas?? |
Your router is giving out dynamic IP addresses that change from time to time.
Assign the server a static IP, and you won't have to worry about it. |
But Windows keeps the same IPA during reboots. Is there a way for Linux (Debian) to do the same?
|
Yes, set it as static...
|
Isn't there another solution that still uses DHCP, so that the system continues to work without manual changes in another network environment?
|
I know that in the lan ip setup section of my net gear rp614v3s browser based set up program thaer is asection in which I can reserve Ip addresses for each machine on my Lan.
So Id suggest that you go to your routers web browser based configuration utility and reserve an ip addrees for the spacific hardware mac address of the servers nick card. |
Are you using the -k switch when shutting down dhcpcd? This will send a SIGHUP to the dhcpcd process which will cause a DHCP_RELEASE to be sent to the server. If you don't want that to happen, try removing the -k from your shutdown script.
|
Quote:
This Debian bug summary from 2006-11-23 seems to be relevant: http://marc.theaimsgroup.com/?l=dhcp...8528918928&w=2 Specifally these bugs: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246621 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247812 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295064 HTH. |
All times are GMT -5. The time now is 10:28 PM. |