Get the App
SLTechnology News&Howtos  ›  Servers  › 

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

Shulou Source: shulou.com Published: 2022-06-02 06:56:20 11月14日 Update

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

Tags: Routing gateway network meaning method level network segment two wireless wireless network card network card Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Tech Info Redmi Shulou Technology Huawei