Friends who use a notebook with their home and family may have a problem. It is more troublesome to switch IP between multiple LANs. Although there are many IP switching tools, some are used. It's not very satisfactory, because I usually use a laptop between my home and the company, so I have a deep understanding of it. Today, I recommend the following 2 small scripts to your experience to ensure that you are sick immediately. except.
1 Switch to fixed IP
@echo off
netsh interface ip set address local static 192.168.0.84 255.255.255.0 192.168.0.254
netsh interface ip set dns local 192.168.0.254
netsh interface ip add dns local 202.106.196.115 index = 2
netsh interface ip add dns local 202.106.0.20 index = 3
2 switch to get IP automatically
@echo off
netsh interface ip set address name="local" source=dhcp
netsh interface ip set dns name= "local" source=dhcp
"local" is your local NIC name, or it may be "local connection", you need to replace it yourself. If it is a switch between two fixed IPs, change the second script yourself:)
In the dns setting, the first one is set, which means setting, the latter two are added, and you replace it yourself. Become a local dns server.
Often running back and forth with a laptop, you need to switch IP addresses frequently. As long as you master the above two small script methods, you no longer have to worry about switching IP addresses!
WinXPs built-in recorder function, although small and practical, the recording effect is also good,
Some WinXP users who use Conexant HD sound card chip, found that can not successfully install the so
In the process of using XP system, there will be more and more files, some of which
Whether the computer monitor is blurred is very important to people, especially our
What if WinXP cannot change the password? How to solve?
How to view DNS domain name server in WinXP
XP hotspot setting tips sharing
Novice unknown sixty-nine classic computer tips
What should I do if WinXP Device Manager is blank?
Xp system downloaded with u disk installation
What causes the file and folder to be hidden
How to make the computer start after inserting your own USB flash drive
Which one is better for WinXP and Win7?
The black screen of the display is easy to get. Nine great coups to help you
How to use Windows PE to retrieve lost administrator password
Win10 system 9879 preview command prompt full screen method
Win 8 sets the IE browser's HTML editor to Notepad method
Win10 system does not log off in the shutdown button of the menu.
Win2003 four ways to quickly improve system security
Using the history command in Linux to improve efficiency
Retaining useful emails Correcting Foxmail filtering errors
Windows verifies the activation Trojan and proposes a solution
Win10 system switching private or public network method
Win8 easily closes all wireless networks
Quickly find computer files using the Windows 7 Start menu search