Switching Between Multiple Network Configurations
Switching Between Multiple XP Network Configurations
To Save the current Settings:
netsh interface ip dump >C:\networksetting.txt
This will create a file that looks like this:
# Interface IP Configuration for "Local Area Connection"
set address name = "Local Area Connection" source = static addr = 209.10.108.197 mask = 255.255.255.192
add address name = "Local Area Connection" addr = 209.10.108.195 mask = 255.255.255.192
set address name = "Local Area Connection" gateway = 204.193.152.161 gwmetric = 1
set dns name = "Local Area Connection" source = static addr = 209.10.108.197 register=PRIMARY
add dns name = "Local Area Connection" addr = 68.166.96.2 register=PRIMARY
set wins name = "Local Area Connection" source = static addr = none
XP can not read this file, remove all of the "register=PRIMARY" and it will work.
# Interface IP Configuration for "Local Area Connection"
set address name = "Local Area Connection" source = static addr = 209.10.108.197 mask = 255.255.255.192
add address name = "Local Area Connection" addr = 209.10.108.195 mask = 255.255.255.192
set address name = "Local Area Connection" gateway = 204.193.152.161 gwmetric = 1
set dns name = "Local Area Connection" source = static addr = 209.10.108.197
add dns name = "Local Area Connection" addr = 68.166.96.2
set wins name = "Local Area Connection" source = static addr = none
You should create a fixed up dump file for every Network that you use.
To Load the Settings again:
netsh -f C:\networksetting.txt
In this way you can easily switch between different Configuration Sets.
Switching Between Multiple W2K Network Configurations
To Save the current Settings:
netsh -c interface dump >networksetting.txt You can then create a dump file for every Network that you use. To Load the Settings again:
netsh -f networksetting.txt In this way you can easily switch between different Configuration Sets.
|