作者:温柔锝钩子勾到你疼死- | 来源:互联网 | 2023-10-10 16:46
Ihavetwonetworkconnections-wifiandethernet.Howtochooseaspecificnetworktousewhileus
I have two network connections - wifi and ethernet. How to choose a specific network to use while using command line eg. ping google.com
.
我有两个网络连接 - wifi和以太网。如何在使用命令行时选择要使用的特定网络,例如。 ping google.com。
PS: I mentioned ping as an example. I may be running a python script or curl and it should use same interface for all these.
PS:我提到ping作为例子。我可能正在运行python脚本或curl,它应该为所有这些使用相同的接口。
1 个解决方案