Get the App
SLTechnology News&Howtos  ›  Servers  › 

About the problem that the dual network card SFTP transmission can not connect to the server.

Shulou Source: shulou.com Published: 2022-06-02 14:31:50 10月26日 Update

You can set the priority of the network card as follows. Set the No.1 network card connected to the A network to the No.2 network card of the 1Magi B network and set it to 2. The interface is as follows:

No. 1 network card setting

No. 2 network card setting

Or by deleting or adding a permanent routing table

Route print prints the routing table to see if there are permanent routes

If a permanent route for 192.x.x.x or 192.168.x.x is found, delete it with the following command

Route delete 192.168.0.0 mask 255.255.0.0 192.168.1.1

Or save the command for bat processing

Route delete *

Route add 192.168.1.0 mask 255.0.0.0 192.168.1.1 metric 1-p

Route add 0.0.0.0 mask 0.0.0.0 192.168.1.5 metric 2-p

Route add 172.24.0.0 mask 255.0.0.0 172.24.24.1 metric 2-p

Ipconfig / release

Ipconfig / renew

Tags: Network card routing permanent command network processing mode method interface sequence access server problem transmission service Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Tech Info Microsoft macOS Linux