Windows adds static routes to DOS commands

Source: Internet
Author: User

1 Press the win key +x key and select "Command Prompt (Administrator)" In the list that pops up.





650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/81/F6/wKiom1dGZovy8UssAAA9BMew9-Y139.png "title=" 1.png " alt= "Wkiom1dgzovy8ussaaa9bmew9-y139.png"/>

2 Next, all of our operations are implemented based on the "Route" command, and you can enter "route" in the command prompt. "View the Help and syntax for the route command

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/81/F6/wKiom1dGZwLzytNfAAB1lqYF2Kg999.png "title=" 2.png " alt= "Wkiom1dgzwlzytnfaab1lqyf2kg999.png"/>

3 take the contents of the picture as an example, I add a static route to the 10.10.10.0/24 network segment, specify the route to the network segment to go 172.20.153.254 Gateway, confirm that the added content after press ENTER, eject "operation completed! "The content indicates that the route was added successfully;

The functions of several parameters used here are:

-P means permanent route, not lost after reboot

Add route

10.10.10.0 represents the network address of the destination network segment

Mask fixed command, followed by the subnet mask of the target network segment

172.20.153.254 is a shock to the destination network.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/81/F6/wKiom1dGZz3hVM-7AAA-2KWi6uQ523.png "title=" 3.png " alt= "Wkiom1dgzz3hvm-7aaa-2kwi6uq523.png"/>

4 You can view the heard static routes through the route print command

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/81/F6/wKiom1dGZ4GRzqUFAADiZuT8PcY518.png "title=" 4.png "alt=" Wkiom1dgz4grzqufaadizut8pcy518.png "/>

5  The added static route can be removed by "route Delete destination network address"

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/81/F6/wKiom1dGZ8mjQLkgAACGOWc7e5w591.png "title=" 5.png "alt=" Wkiom1dgz8mjqlkgaacgowc7e5w591.png "/>

This completes adding a static route












This article is from the "11640991" blog, please be sure to keep this source http://11650991.blog.51cto.com/11640991/1783374

Windows adds static routes to DOS commands

Related Article

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.