Quickly switch TCPIP settings in Win2000

xiaoxiao2021-03-06  74

Quickly switch TCP / IP settings in Win2000

Your own notebook is going online in many places, but the home is automatically acquired IP. The laboratory has its own subnet. There is another subnet in the dormitory. Every time you change your place, you have to change TCP / IP settings, which is very troublesome. I saw an article online today. It is very simple to solve this problem. You don't need to install any software. Here is my approach.

First, configure TCP / IP as laboratory in the network properties. Then, run "cmd" to open the command line window, enter the following command:

Netsh

-

c

Interface

DUMP

>

Lab.txt

This gives a lab.txt file under "C: / Documents and Settings / Administrator", of course, you can also use absolute paths in the above command to change its storage location.

Next, the TCP / IP is set to the correct configuration of the rest, and use the same command to generate different files, which is home.txt and dorm.txt.

Need to change TCP / IP settings, for example, I want to switch to my home, just do the following command:

Netsh

-

f Home.txt

It's easy to switch. It is convenient. In short, two: Netsh Dump export settings, NetSH -F import settings.

Also reminded, if you switch to the way you automatically get the IP, you must force it to get the "ipconfig / renew" command, otherwise you will wait for a while to access the Internet.

转载请注明原文地址:https://www.9cbs.com/read-91806.html

New Post(0)