Set IP address __dos in DOS

Source: Internet
Author: User


To modify the gateway and IP address (XP) in DOS mode
Set/Modify IP address, subnet mask, gateway format:
Enter Netsh return first
Re-enter interface IP carriage return
Then enter set address "local connection" static 10.25.35.35 255.255.255.0 10.25.35.7 Auto

Sometimes you need to repeatedly enter set address "local connection" static 10.25.35.35 255.255.255.0 10.25.35.7 auto until the echo appears

The command means the "Local Area Connection"
IP address set to 10.25.35.35
Subnet mask is 255.255.255.0
Gateway set to 10.25.35.7 and automatic metric
Note: "Local Area Connection" please modify it according to your own situation

To set the DNS command format:
Enter Netsh return first
Re-enter interface IP carriage return
Then enter set DNS "local connection" static 202.96.128.86
The command means that DNS for local area connection is set to 202.96.128.86
Sometimes you need to repeatedly enter the set DNS "Local Area Connection" static 202.96.128.86
Until the Echo appears

The command to remove IP addresses and DNS is
Enter Netsh return first
Re-enter interface IP carriage return
Then enter set address "local connection" DHCP
or set DNS "Local Area Connection" DHCP

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.