Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Save static addressing for WiFi networks?



 
03-15-2010   #1


Windows 7
 
 

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 Windows 7 or do I have to download a profiler of some sort?

Thanks!

My System SpecsSystem Spec
03-15-2010   #2


Windows 7 RTM X64
 
 


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 System SpecsSystem Spec
03-15-2010   #3


Windows 7
 
 


Thanks for the reply!

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


03-15-2010   #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 System SpecsSystem Spec
03-15-2010   #5


Windows 7
 
 


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 System SpecsSystem Spec
03-15-2010   #6


Windows 7
 
 


what's the line i need if i want to reset them to dhcp?
My System SpecsSystem Spec
03-15-2010   #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 System SpecsSystem Spec
Reply

Save static addressing for WiFi networks? problems?



Thread Tools



Similar Threads for: Save static addressing for WiFi networks?
Thread Forum
How to use Wifi and lan networks simantanously Network & Sharing
Specific IP configuration for WiFi networks Network & Sharing
Assign different Static IPs for Wireless Networks Network & Sharing
BSOD when accessing public wifi networks... Crashes and Debugging
any way to hide multiple wifi networks Network & Sharing


All times are GMT -5. The time now is 02:24 AM.



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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30