Changed segment while accessing remotely - ip on PC should update?


Recommended Posts

I have a server and main desktop that I access remotely. While trying to set up openvpn, I changed the default segment to 192.168.72.x. My main desktop is online already with a new ip but not sure if it's because I was making the router change while remoting into that pc.

My server doesn't have a new ip yet though and so I can't access. It should try to get a valid ip after a certain point right? I can always switch back to the previous segment but it should be automatic right?

Was/is it dhcp? If so then yes once its lease is at 50% it should try and renew and get a new one - what is the lease time on your leases? If you set it static on the box, then no it would never ask for a new IP.

Hey Budman. Yeah I switched to dhcp on both pcs before making the change

I checked the pc that is online and looks like the lease expires in 24 hours. Anyway to force it from the router? Like if I have the Mac address?

No not really.. Unless you can get someone to reboot it, it should not try and renew until it hits 50%.. Should of set the lease time to like 1 hour if wanting it to auto change to new segment ;)

You could setup secondary IP on your other machine that changed, and then say rdp to it from that box and do ipconfig /renew

Hah yeah I didn't think of the leasing issue.  In fact, I was pretty close to making the segment change without switching to DHCP lol.  Good thing I didn't

 

As for the secondary IP, wouldn't it also need proper gateway IP for me to connect to it?  I can wait out the lease release if necessary but curious what you're referring to

No it just needs an IP on the segment that other machine is still on, your not trying to get off that network.. Your using the other IP to connect to it with.

I actually ended up switching back the segment, changing the IP on the server manually, and then changing back the segment.  Now everything back online

 

The reason I went this way is because I stupidly used the second tab in the Network Adapter Configuration - the private IP address.   I didn't notice what I did till after I made the changes above.  I now know I should have added the IP through the button on the first tab.  Doh!

Another thing you can do to force a DHCP refresh, is restart the router/switch/gateway/... That usually resets the network connection and will make Windows ask for a new IP. But if you have a "dumb" switch in between you can't do that either.

  On 29/12/2014 at 17:07, Ambroos said:

Another thing you can do to force a DHCP refresh, is restart the router/switch/gateway/... That usually resets the network connection and will make Windows ask for a new IP. But if you have a "dumb" switch in between you can't do that either.

Yeah I had a switch between the server and router. And I was wondering before why main pc would get a new ip every time I made a change on my router but you just reminded me that I have connected directly into the router

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I am low-key enjoying the new start menu of 25H2 build. Looks like the management team who shoved the Recommended Section down our throats up till now got fired in recent gommage at MS. Also loving the 6Ghz Hotspot feature. I only enabled these 2 features and I am happy. I keep an eye on MDL forums for 26200.xxxx updates once a week to stay up to date manually. I downloaded the latest build from https://uupdump.net selected Dev Channel tab and downloaded amd64 build. Let the script ripp. Then I used vivetool to enable the above 2 features • 25H2 New Start Menu ViVeTool.exe /enable /id:47205210,49221331,49381526,49402389,49820095,55495322,48433719 • Enable Wifi 6Ghz Hotspot ViVeTool.exe /enable /id:40466470,48433719 Reboot and enjoy. Almost all the above info was provided by Neowin at some point.
    • Indeed, I do think its sad in some ways a corporation can never be content with "performing well across every metric" and having over £59 billion cash on hand.
    • They've been focusing on security and quality? Could have fooled me. Their own paying customers literally just got breached because they failed to push SharePoint updates downstream to on prem servers operating outside of their "365" ecosystem.
    • The animosity is unnecessary, when I opened the page I only saw one response which never mentioned your other steps, and when I hit reply it jumped straight to the bottom and again, I saw no other responses.  I was simply agreeing with the first comment that said yes, you should be fine if you erase its current operating system. Using another PC, or the copy of Windows that comes on that PC (former option is more trustworthy), download and run the Windows Media Creation tool.  It will walk you thru the process of downloading Windows and writing it to a USB stick.  It will even ask you at one point whether you're reinstalling it to the current machine or installing it on another machine. Then just boot the PC in question from that USB stick.  Usually spamming Esc, Del, F-8, F-9, F-10, F-11, F-12 or F-2 immediately after power on will bring up a boot menu, it varies by manufacturer.  If Windows starts booting you either missed your window or hit the wrong key. Follow the on-screen instructions.  When it gets to the disk formatting part I usually just delete all the partitions on the destination drive, then select the unpartitioned space as my destination.  The Windows installer will then automatically partition the drive as needed. Be prepared to download drivers from the PC manufacturer's website, they may not come bundled with Windows and you may not be able to use things like WiFi or ethernet until you have them.  They "might" work straight away, but they also might not.  Better to be prepared with a spare PC and a USB stick to transfer them over.
    • Wise Disk Cleaner 11.2.5 by Razvan Serea Wise Disk Cleaner is a free disk utility designed to help you keep your disk clean by deleting any unnecessary files. Usually, these unnecessary, or junk files appear as a result of program's incomplete uninstalls, or Temporary Internet Files. It is best if these files are wiped out from time to time, since they may, at some point, use a considerable amount of space on your drives. Wise Disk Cleaner, with its intuitive and easy to use interface, helps you quickly wipe out all the junk files. Using the program is indeed easy. It also works fast when both scanning for files and deleting files. The new Wise Disk Cleaner has more advantages: improved performance, better interface and scans/cleans more thoroughly. Wise Disk Cleaner Free provides lifetime free update service and Unlimited Free technical support. The first Slimming System software Wise Disk Cleaner is the first system slimming tool, which will help you to remove Windows useless files that you don't need, such as Korean IME, Windows Sample music, videos, pictures, Installers and Uninstallers of Updates Patches etc. Wise Disk Cleaner 11.2.5 Build 845 changelog: Added cleaning rules for Legacy Games Launcher, Letasoft Sound Booster, Macrium Reflect, MagicLine4NX, MAGIX Photostory, MakeHuman, Max Recorder, Maxprog iCash, Lexware, LG PC Suite, Lightworks, LINE, Listary, and LockHunter. Improved cleaning rules for Xunlei, PowerToys, Meitu, OneDrive, and Tencent Video. For security reasons, users can no longer delete the latest system restore point in the Restore Center. Enhanced System Slimming. Fixed minor bugs from the previous version. Download: Wise Disk Cleaner 11.2.5 | 6.9 MB (Freeware) Download: Portable Wise Disk Cleaner 11.2.5 | 7.3 MB View: Wise Disk Cleaner Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      armandointerior640 earned a badge
      One Year In
    • One Month Later
      armandointerior640 earned a badge
      One Month Later
    • One Month Later
      Itbob513626 earned a badge
      One Month Later
    • Week One Done
      Itbob513626 earned a badge
      Week One Done
    • Rookie
      EdwardFranciscoVilla went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      615
    2. 2
      ATLien_0
      236
    3. 3
      Xenon
      156
    4. 4
      +FloatingFatMan
      122
    5. 5
      Michael Scrip
      115
  • Tell a friend

    Love Neowin? Tell a friend!