Stop local IP address from changing a few hours after boot time


  1. Posts : 11,247
    Windows / Linux : Arch Linux
       #1

    Stop local IP address from changing a few hours after boot time


    Hi folks

    I've only noticed this recently after ISP upgraded its network. I have a Linux NAS sysem server which serves to a few Windows clients .

    The server gets at boot time an assigned an IP address via DHCP -- that's fine - I rarely re-boot the server - but since the ISP upgrade the local IP address changes after a few hours for example from 192.168.1.20 to 192.168.1.27 -- this means that all the Windows clients go Bonkers as they can't see the server any more.

    I get round this by stopping and restarting the samba services (smb(d) and nmb(d) and then the Windows clients can immediately see the server again without them having to do anything like re-booting their machines but it's a pain to have to do this. Also if I'm away you can imagine if the Windows clients can't get their video streams, backups or files etc.

    However while your external IP address (the one people see on the Public Internet) can change and that's fine why on earth should the local addresses be affected. I really want to get away from using fixed local IP addresses.

    There doesn't seem to be any settings on the router to preserve DHCP assigned addresses either.

    here the local IP has changed to 192.168.1.27 from 192.168.1.20 which hoses up windows clients as they can't see it any more until samba is restarted. After a Samba restart Windows clients can see the server again.

    The change in local IP takes place after about 1 day or so but is random so unpredictiable.

    Stop local IP address from changing a few hours after boot time-snapshot3.png

    On the Router should I enable this "auto reserve" --I'm not sure what that means.

    Stop local IP address from changing a few hours after boot time-snapshot4a.png

    Attachment 238325

    Cheers
    jimbo
      My Computer


  2. Posts : 8,111
    windows 10
       #2

    You have on the router lease time of 1 day that's what's doing it set it to a week or even a month to solve it
      My Computer


  3. Posts : 11,247
    Windows / Linux : Arch Linux
    Thread Starter
       #3

    Hi there

    @Samuria

    Thanks

    Now set to 999 days !!! -- If that doesn't work the whole thing Servers and client computers can have a 1 way trip to the City Tip. !!!!!

    Marking as solved

    Cheers
    jimbo
    Last edited by jimbo45; 25 Jun 2019 at 07:12. Reason: marked as solved
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:15.
Find Us




Windows 10 Forums