我有 3 个网卡,1 个 LAN(有线),1 个无线网卡和 1 个无线 USB
我如何从特定网卡ping通?
以及如何将特定网卡用于特定应用程序
例子
i want to ping google from wlan1
Run Code Online (Sandbox Code Playgroud)
特定应用示例
i want to use firefox or transmission from wan1
Run Code Online (Sandbox Code Playgroud)
Lan ip 192.168.0.2 > 工作正常
pin -I wlan1 google.com

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
172.16.221.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
192.168.0.0 0.0.0.0 255.255.255.0 U …Run Code Online (Sandbox Code Playgroud)