Questions about dual network card SFTP transmission cannot connect to the server

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

No. 1 Network card settings
About the problem that dual network card SFTP transmission cannot connect to the server

No. 2 network card settings
About the problem that SFTP transmission with dual network cards cannot connect to the server

Or process by deleting or adding permanent routing table.
route print print the routing table to see if there is a permanent route.
If you find a permanent route of 192.xxx or 192.168.xx, use the following command Delete
route delete 192.168.0.0 mask 255.255.0.0 192.168.1.1

About the problem that SFTP transmission with dual network cards cannot connect to the server

Or save the command as bat for 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 /releaseipconfig / renew

Leave a Comment

Your email address will not be published.