Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Two wireless network cards under windows, one internal network and one external network

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Cmd sets routing table under windows

Delete the previous routing table first

Route delete 0.0.0.0

Then set the route direction

Route add-p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10route add-p 192.168.5.0 mask 255.255.0.0192.168.5.21 metric 20

This setting means:

All networks go to 10.0.0.1 gateway, metric 10 is to set priority.

Route add-p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10

Set the network to access the 192.168 network segment to go to the 192.168.5.1 gateway

Route add-p 192.168.5.0 mask 255.255.0.0 192.168.5.21 metric 20

Just set it up.

Route print is a way to view the routing table under cmd

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report