BTW: the reason you want to make sure to capture everything and make the changes, is that it is highly probable that not only does your IP change, but your default gateway, etc... especially since it appears that those IP Addresses are on different subnets... meaning more changes than just IP are needed! :)
FE
Main Topics
Browse All Topics





by: Fatal_ExceptionPosted on 2005-11-22 at 05:16:20ID: 15341409
Okay, there are a couple of ways to do this, but for the average user, this utility (free) does the job for you.. I use it on a few of my mobile user's laptops:
netsetman/
.txt
xt
.txt
xt
NetSetMan is a network settings manager which can easily switch between 5 different, visually structured profiles including:
IP Address
Subnet Mask
Default Gateway
Preferred & Alternate DNS Server
Computer Name
Workgroup
DNS Domain
WINS Server
Default Printer
Run Scripts
http://www.iljaherlein.de/
Or you can use the netsh command:
When you have your laptop correctly configured for your office network, you can save the network configuration for later restoration:
netsh -c interface dump > c:\configs\officeinterface
Now lets say you take it home and reconfigure it correctly for you home network. To save you home network configuration for later use:
netsh -c interface dump > c:\configs\homeinterface.t
OK. Now you take the laptop back to the office and you need to reconfigure for the office environment: nic address, wins, gateway address... Use the following command to restore your office network interface:
netsh -f c:\configs\officeinterface
At end of day, you take it home. To setup for home, run:
netsh -f c:\configs\homeinterface.t
Once you have your 'dump', you just place the config command in BAT file, and execute it depending on each location.
FE