IP address conflicts after waking up from standby/hibernation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • japlytic
    Badcaps Legend
    • Oct 2005
    • 2086
    • Australia

    #1

    IP address conflicts after waking up from standby/hibernation

    On rare occasions, I get an IP address conflict after waking up from standby or hibernation.
    On our network with three computers (set to DHCP), we have a printer at 192.168.1.20 (static) and an ADSL/wireless router at 192.168.1.254 and the DHCP server starts from 192.168.1.1
    It is highly unlikely that there is a conflict with the printer.

    To say simply (taking note that both PCs are set to DHCP), PC "A" has an IP address of 192.168.1.2 and PC "B" is off. PC "A" hibernates and PC "B" is turned on and receives an IP address of 192.168.1.2.
    When PC "B" still has this IP address, PC "A" resumes from hibernation and tries to use IP address 192.168.1.2 , resulting in an IP address conflict.

    Why can't network clients configured for DHCP renew its IP address after standby or hibernation (even though some renew the IP address when there is a conflict)?
    My first choice in quality Japanese electrolytics is Nippon Chemi-Con, which has been in business since 1931... the quality of electronics is dependent on the quality of the electrolytics.
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30964
    • Albion

    #2
    Re: IP address conflicts after waking up from standby/hibernation

    use fixed i.p.'s

    standby will lose the dhcp table,
    suspend will make the other machine delete the dhcp entry after a timeout period.

    or:
    run a nameserver and assign a fixed i.p. to each domain-name.
    then when you start the pc it will always be assigned the same i.p.

    Comment

    • kikkoman
      Badcaps Veteran
      • Jul 2007
      • 691

      #3
      Re: IP address conflicts after waking up from standby/hibernation

      or check if your router can be set to always use the same adress for each device.
      some can, some not.
      my Thomson router does it via binding the IPs to the MACs (and can be set individually for each client).
      it's a bit less trouble than the all-static way since you don't have to configure the DNS settings client-side.
      "Every normal man must be tempted at times to spit on his hands, hoist the black flag, and begin slitting throats." - H.L. Mencken

      Comment

      • seanc
        Badcaps Legend
        • Nov 2008
        • 1319

        #4
        Re: IP address conflicts after waking up from standby/hibernation

        Agreed, set your router to always give the same IP address to a particular device/MAC address.

        If your router doesn't support that, turn it's DHCP server off, build a Smoothwall. Enjoy.

        Comment

        • retiredcaps
          Badcaps Legend
          • Apr 2010
          • 9271

          #5
          Re: IP address conflicts after waking up from standby/hibernation

          On some home based routers, you can set the DHCP lease time to 1 hour through 1 week. If you set it for a "longer" period, this *should* force the router to keep the MAC to IP binding even if the end device is asleep or hibernating. It *should* also prevent the router from handing out that used IP address because the MAC to IP binding still exists.

          Originally posted by japlytic
          On rare occasions, I get an IP address conflict after waking up from standby or hibernation.
          On our network with three computers (set to DHCP), we have a printer at 192.168.1.20 (static) and an ADSL/wireless router at 192.168.1.254 and the DHCP server starts from 192.168.1.1
          It is highly unlikely that there is a conflict with the printer.

          To say simply (taking note that both PCs are set to DHCP), PC "A" has an IP address of 192.168.1.2 and PC "B" is off. PC "A" hibernates and PC "B" is turned on and receives an IP address of 192.168.1.2.
          When PC "B" still has this IP address, PC "A" resumes from hibernation and tries to use IP address 192.168.1.2 , resulting in an IP address conflict.

          Why can't network clients configured for DHCP renew its IP address after standby or hibernation (even though some renew the IP address when there is a conflict)?
          --- begin sig file ---

          If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

          We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

          Please do not post inline and offsite as they slow down the loading of pages.

          --- end sig file ---

          Comment

          • AudioCraZ
            Senior Member
            • Sep 2009
            • 147

            #6
            Re: IP address conflicts after waking up from standby/hibernation

            There is an easier way to fix this.

            In most routers, you can set the IP address via MAC address of a computer. That way, on some rare chance that something else gets on your network, it won't get your ip address because the router (DHCP server) is assigning the IP's, and it knows not to give away the IP set for your computer.

            Comment

            • NxB
              Badcaps Legend
              • Feb 2009
              • 1595

              #7
              Re: IP address conflicts after waking up from standby/hibernation

              Just extend lease time. That is the easiest way.

              Comment

              • mattch
                Senior Member
                • Mar 2010
                • 121

                #8
                Re: IP address conflicts after waking up from standby/hibernation

                Originally posted by NxB
                Just extend lease time. That is the easiest way.
                aggreed.

                static ips for the home computers with exception of wireless client is way to go. so much easier and after a while you begin to correspond computers to IP internally without netbios or dns so your not always second guessing or having to do that extra step.

                i got a low memory and dont use page files so that extra step would irritate or possibly mess me up when im in the zone doing a project. LOL

                Comment

                Related Topics

                Collapse

                • tvguy12012012120
                  Zombie Samsung UN55NU6900F dead / no standby voltage - randomly came to life after hours of troubleshooting then died
                  by tvguy12012012120
                  This is my first attempt at troubleshooting a board like this, I know I could just buy a new board but I'm curious to figure out how this works. I've been testing different components in the evenings this week and I think the problem is with the IC failing to start up for some reason. When the board is plugged in there is no standby voltage.

                  Then today it randomly sprung to life like a zombie but shortly died thereafter. I have no idea why it would have done that and its the first time I've seen it running. I discharged capacitors on the board last night, then it was sitting today....
                  02-07-2025, 05:13 PM
                • bobale
                  Samsung S2230N not waking up from standby
                  by bobale
                  Hello guys, I have this Samsung S2230N LCD monitor which is not waking up from standby, I've checked a lot of things, but came up short.

                  So, when you plug the monitor in AC outlet, it starts up and then immediately goes to standby, as if computer is connected, but it is switched off (the computer, that is). Of course, VGA cable is not connected, and there should be Check cable, No signal, or something similar on the screen, but there isn't. When you press MENU button, the panel does turn on, it shows Test Good, in the upper left of the sceen, and then goes off. As I understood, this...
                  12-25-2020, 10:43 AM
                • fharris1977
                  Vizio D50u-D1 Dead Set No Standby
                  by fharris1977
                  Hi. I got a Vizio with no power or standby, and won't turn on with remote or button. I checked the voltages on the connector and all read 0.00V or nearly 0(0.050 ON/OFF pin). None of the pins are labeled STB for standby although I do see some 5V pins. Other than the obvious standby led, which isn't coming on, is there a way to check for standby voltage on this PS. I'm trying to see if my problem is the PS or mainboard. Some Vizios I have fixed with no standby led me to think it was the PS but it turned out being the mainboard. Any experience with this set would be greatly appreciated.
                  12-28-2023, 10:25 AM
                • Crystaleyes
                  Samsung BN44-00259A standby question
                  by Crystaleyes
                  Hi all.

                  I started a thread while back regarding TV power supply standby circuitry as it is something I am not quite on top of.
                  SMPS theory and function is becoming more familiar, however the standby part is still a bit of a mystery.

                  Anyway, a friend has this TV with the above mentioned power supply board which has no standby voltage, nor any other voltages leaving the board.
                  The mains AC comes in fine, gets filtered and rectified with power is on the main filter cap as well as the transformer and drain pins of the ICE3B0665J, but that's it.
                  ...
                  08-11-2023, 05:15 AM
                • reessi
                  JSK4228-050 Power Supply Standby voltage changing! (Possible from Wharfedale LTF37K1)
                  by reessi
                  Hello,

                  I am trying to re-purpose this power supply that I saved years ago from a tv with a cracked screen for a monitor but that is not really that relevent at the moment. I do not recall which tv but a google search looks like it is from Wharfedale LTF37K1.

                  You may notice I made some alterations moving some components to the top and some wires which are from a 5v regulator I fitted to the 12v output as the monitor requires 5v. The standby was already at fault from the beginning, it has nothing to do with the alterations...

                  Years ago it had some bulging caps...
                  04-26-2021, 11:42 AM
                • Loading...
                • No more items.
                Working...