In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In certain situations, it is sometimes necessary to use the netsh tool to configure the Windows system TCP/IP. Here is a brief description of the common configuration commands.
1. Set fixed IP address and subnet mask:
Netsh interface ip set address name= "Local connection" source=static addr=192.168.0.12 mask=255.255.255.0
two。 Set the default gateway:
Netsh interface ip set address name= "Local connection" gateway=192.168.0.254 gwmetric=0
3. Set the preferred DNS:
Netsh interface ip set dns name= "Local connection" source=static addr=192.168.0.1 register=primary
4. Set up a backup DNS:
Netsh interface ip add dns name= "Local connection" addr=114.114.114.114 index=2
5. Set up the WINS:
Netsh interface ip set wins name= "Local connection" source=static addr=none
6. Set to obtain the IP address automatically:
Netsh interface ip set address name= "Local connection" source=dhcp
7. Set to obtain the DNS address automatically:
Netsh interface ip set dns name= "Local connection" source=dhcp
8. Export Import configuration:
Export TCP/IP configuration: netsh-c interface ip dump > c:\ tcpip.txt
Import TCP/IP configuration: netsh-f c:\ tcpip.txt
Note:
The above command can be abbreviated as: netsh interface ip set address "local connection" static 192.168.0.12 255.255.255.0192.168.0.254 0
The above command 3 can be abbreviated as: netshinterface ip set dns "local connection" static 192.168.0.1 other commands have similar abbreviations.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.