![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello everyone!
I'm losing a good 2-3 minutes every time I connect my laptop to a different wired network (I use it at more than 5 different locations). I was wondering, if Vista can store and identify different wired networks, can it switch between these stored profiles, without the need to enter network addressing information manually every time? I find several programs on the Internet with this functionality, but they either manifest lots of bugs or are too expensive for such a simple task. |
|
|||
|
Nevermind, I found a way to do this using netsh. Here is an example if anyone
is interested: netsh interface ipv4 set address "Local Area Connection" static 192.168.1.100 255.255.255.0 192.168.1.1 netsh interface ipv4 set dnsserver "Local Area Connection" static 192.168.1.1 primary netsh interface ipv4 add dnsserver "Local Area Connection" 192.168.1.2 This changes the "Local Area Connection" IPv4 adapter address to 192.168.1.100/24, default gw: 192.168.1.1; adds 192.168.1.1 as primary DNS (primary keyword is for the DNS suffix) and .2 as secondary. |