Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows system routing Settings

Shulou Source: shulou.com Published: 2022-06-03 09:57:00 09月21日 Update

1. To add a permanent route with a destination of 10.41.0.0, a subnet mask of 255.255.0.0, and the next hop address of 10.27.0.1, type:

Route-p add 10.41.0.0 mask 255.255.0.0 10.27.0.1

2. To add a route with a destination of 10.41.0.0, a subnet mask of 255.255.0.0, a next hop address of 10.27.0.1, and a hop number of 7, type:

Route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 metric 7

3. To add a route with a destination of 10.41.0.0, a subnet mask of 255.255.0.0, a next hop address of 10.27.0.1, and an interface index of 0x3, type:

Route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 if 0x3

4. To delete a route with a destination of 10.41.0.0 and a subnet mask of 255.255.0.0, type:

Route delete 10.41.0.0 mask 255.255.0.0

5. To delete the IP routing table by 10. For all routes to start, type:

Route delete 10.*

6. To change the next hop address of a route with a destination of 10.41.0.0 and a subnet mask of 255.255.0.0 from 10.27.0.1 to 10.27.0.25, type:

Route change 10.41.0.0 mask 255.255.0.0 10.27.0.25

Tags: Routes destinations subnets addresses interfaces points indexes permanent system Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker Huawei Shulou Technology Shulou Information