Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select incorrect network interface on ubuntu 20.04.3 #43

Closed
jakane opened this issue Dec 6, 2021 · 2 comments · Fixed by #44
Closed

select incorrect network interface on ubuntu 20.04.3 #43

jakane opened this issue Dec 6, 2021 · 2 comments · Fixed by #44

Comments

@jakane
Copy link

jakane commented Dec 6, 2021

I have a lot of interfaces (mostly virtual) on my machine. I expect eno1 to be selected (that is the physical interface), however toptop selects a virtual interface (vethacf3bfc in this case).

I would really like to define an environment variable (tiptop_net) or command-line flag (--net) to force election of an interface.

$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
vethacf3bfc: 316700731   24655    0    0    0     0          0         0 2113849936  343113    0    0    0     0       0          0
br-d266d89317cd:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
veth55c75e0: 661706604  113223    0    0    0     0          0         0 117348026  587397    0    0    0     0       0          0
  eno1: 3797543484664 4400450459    0 1088    0     0          0  10788249 3567014262499 4196462622    0    0    0     0       0          0
br-7360eb7107c1:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
br-d97c504c507d: 660121482  113223    0    0    0     0          0         0 117348026  587397    0    0    0     0       0          0
    lo: 7349578962 29952387    0    0    0     0          0         0 7349578962 29952387    0    0    0     0       0          0
docker0: 316666568   26044    0    0    0     0          0         0 2114125269  344828    0    0    0     0       0          0
veth49c7311: 952073846  304906    0    0    0     0          0         0 152216565  851237    0    0    0     0       0          0
br-867b3a9015a7: 947805162  304906    0    0    0     0          0         0 152216565  851237    0    0    0     0       0          0
br-6b911ca9bb3d:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
br-31b870ab3794:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
@zeki893
Copy link

zeki893 commented Dec 8, 2021

On mine it selects pxe0

@nschloe
Copy link
Owner

nschloe commented Dec 9, 2021

You can now manually pick your interface with --net/-n.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants