TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Randall Parker
from: John Beckett
date: 2004-01-12 10:26:12
subject: Re: XP: Multiple different default gateways for home or office?

From: John Beckett 

Randall Parker 
wrote in message news::
> How to make XP maintain multiple different sets of TCP/IP settings for
different
> networks that one plugs the same laptop into at different times?

ISTR reading that Microsoft is or will be supporting network switching
.... I can't find what I vaguely
recall, so I'll mention that apart from netswitcher you can just use a
batch file in XP.

You would have two (or more) batch files. Each batch file uses netsh to set
the IP address + DNS + default gateway (and more, if wanted). This does not
require a reboot.

Below is something I just found from a newsgroup

John.

-+-
From: Robert L (noreply{at}hotmail.com)
Subject: Re: How can I modify IP configuration of my XP through command
line ?
Newsgroups: microsoft.public.windowsxp.network_web Date: 2003-03-03 10:35:11 PST

quoted from http://www25.brinkster.com/ChicagoTech

How to switch network settings without reboot

As a network consultant, I work on different network every day and need to
switch network settings such as IP and DNS accordingly. Fortunately, W2K/XP
comes with a useful tool, netsh.exe, that can switch network settings
quickly.  To copy abc.com network settings, type command netsh -c interface
dump >c:\abc.txt. The abc.com network settings will be saved at the root
of the C drive. You can create as many network settings as I like. When you
work at abc.com next time,  you will load the settings by typing netsh -f
abc.txt command and the abc.com network settings will take effect
immediately.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.