route -n
(sentence-embedding-3.9) gw00241401@gw00241401-pc:/data2/04_embedding/finetune/sentence-embedding/sbert$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.53.207.254 0.0.0.0 UG 100 0 0 eno1
0.0.0.0 10.53.207.254 0.0.0.0 UG 101 0 0 eno2
10.53.207.0 0.0.0.0 255.255.255.0 U 100 0 0 eno1
10.53.207.0 0.0.0.0 255.255.255.0 U 101 0 0 eno2
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eno1
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-2ade9e762864
172.19.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-5de9cb0d647c
1.先起一个下载任务,此时默认使用eno1 网卡
2.使用ifmetric命令
sudo apt install ifmetric
sudo ifmetric eno2 1
再起另一个下载任务,此时默认使用eno2进行下载