Save static addressing for WiFi networks?


  1. Posts : 4
    Windows 7
       #1

    Save static addressing for WiFi networks?


    Hey guys,
    Is there a way to save different IP Addresses/sub nets/gateways for different wireless networks, without having to manually enter them in every time? I connect to several networks (mainly 1 at home and 1 at work) that have static addressing. I would like to be able to somehow save the IP address/sub net/gateway so that every time I connect to the "Home" network it would always use the correct static addressing, and do the same for the "Work" network so that it would automaticlly switch to a different saved addressing for it. It would also be nice if it could default to DHCP if I don't have saved addressing for even a different wireless network (this would be nice when I connect to hotspots on the move).

    Is this possible in Win7 or do I have to download a profiler of some sort?

    Thanks!
      My Computer


  2. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #2

    You can try the Network and Sharing center then on the left choose "manage wireless connections". All of your previous connections will be listed there.
      My Computer


  3. Posts : 4
    Windows 7
    Thread Starter
       #3

    Thanks for the reply!

    I had already checked that, doesn't seem to be anything in there about IP Addressing.
      My Computer


  4. Posts : 1,426
    7 Pro
       #4

    There is no real way to save "static" settings for wireless networks. The 'wireless' network you connect to decides that configuration and makes those changes...

    However, if you are willing to click a couple times there is a work around for this...

    you can create a .bat file that will change your settings for you when you connect to a certain network.

    Something along these lines:
    Code:
    netsh interface ip set address name="Local Area Connection"  source=static addr=111.222.333.444 mask=255.255.255.255
    netsh  interface ip set address name="Local Area Connection"  gateway=555.666.777.888 gwmetric=0
    netsh interface ip set dns  name="Local Area Connection" source=static addr=999.111.222.333  
    netsh  interface ip add = "Local Area Connection" addr =  444.555.666.777
    so basically, you'd create this .bat file then use it before connecting to a particular network.
      My Computer


  5. Posts : 4
    Windows 7
    Thread Starter
       #5

    hahaha.. not bad brady.. not bad at all. Didn't even think of writing a batch file for it. That will pretty much take care of it. It just sucks manually entering in all the numbers every time.
      My Computer


  6. Posts : 4
    Windows 7
    Thread Starter
       #6

    what's the line i need if i want to reset them to dhcp?
      My Computer


  7. Posts : 1,426
    7 Pro
       #7

    Wouldn't write a bat for dynamic addressing, would just let the device do it for me.

    but :

    Code:
    netsh interface ip set address name="Local Area Connection" dhcp
    netsh  interface ip set dns name="Local Area Connection" dhcp
      My Computer


 

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

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