Quickly switch TCP/IP Settings in Win2000

Source: Internet
Author: User

Your laptop needs to access the Internet in multiple places, but the IP address is automatically obtained at home. The lab has its own subnet and the dormitory has another subnet, you have to manually change the TCP/IP settings for each change, which is very troublesome. I saw an article on the internet today.ArticleIn the past, it was very simple to solve this problem without installing any software. The following is my practice.

First, set TCP/IP to lab in network properties. Run cmd to open the command line window and enter the following command:

Netsh - C Interface Dump > Lab.txt

 

In this way, you can get a lab.txt file under "C: \ Documents ents and Settings \ administrator.pdf". Of course, you can also use the absolute path in the command above to change its storage location.

Next, let's talk about home.txtand dorm.txt by setting TCP/IP as their respective configuration and using the same command to generate different files.

When you need to change the TCP/IP settings, for example, if you want to switch to the Internet, you just need to execute the following command:

Netsh - F home.txt

 

The switchover is complete. It is very convenient. In short, there are two: netsh dump export settings and netsh-f import settings.

Note that if you switch to the automatic IP address acquisition method, you 'd better use the "ipconfig/renew" command to forcibly obtain the IP address. Otherwise, you will have to wait for a while before accessing the Internet.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.