Steve
Thu Jun 12 12:57:44 PDT 2008
On Thu, 12 Jun 2008 12:26:03 -0700, RichardR
<RichardR@discussions.microsoft.com> wrote:
>I use wireless at home and when travelling on my notebook. For some reason
>AT&T insist on having fixed IP addresses at home and on the road it's all
>dynamic of course. Surely there is an easy way to switch between the 2
>profiles in Win XP without having to go and change the actual network setting
>every time?
>Thanks
Create batch files that use the "netsh" command to change the network
settings. The command syntax is:
Fixed.bat:
netsh interface ip set address <connection> static <ip> <mask>
<gateway> <gateway metric>
DHCP.bat:
netsh interface ip set address <connection> dhcp
Examples of the commands with actual values substituted:
netsh interface ip set address "Wireless Network Connection" static
192.168.0.101 255.255.255.0 192.168.0.1 20
netsh interface ip set address "Wireless Network Connection" dhcp
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com