![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Vista Business SP1 | Automatically change IP Address Hi all, I worked for different companies and when I connect to their local network, each time I need to change my IP address to the local one, because they don't have DHCP. I was thinking of an easiest way to switch from one IP to another without to manually input the IP, gateway, DHCP server, DNS server each time... ![]() Do you think, there's a way or software I can do this please? |
My System Specs![]() |
| | #2 (permalink) |
| Vista Business SP1 | Re: Automatically change IP Address I FOUND THE ANSWER. ![]() ![]() I can do this using command prompt. Each time I need to change my IP, I run the batch file... Changing IP Code: @echo off netsh int ip set address "Local Area Connection" static 192.168.1.17 255.255.255.0 192.168.1.1 1 netsh int ip set dns "Local Area Connection" static 192.168.1.1 primary exit Code: @ECHO OFF netsh int ip set address "local area connection" dhcp netsh int ip set dns "local area connection" dhcp EXIT ![]() |
My System Specs![]() |
| | #3 (permalink) |
| Vista Home Premium 32bit | Re: Automatically change IP Address you could also a create a couple of loopback interfaces and just input the ip address for the different subnets you work at then you automatcaly have L3 connectivity |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Won't automatically get IP address when booting up | Network & Sharing | |||
| automatically completing e-mail address | Vista mail | |||
| unwanted addresses automatically added to address book | Vista mail | |||
| Automatically complete email address | Vista mail | |||
| Can't reset to obtain an IP address automatically !!!! | Vista networking & sharing | |||