You are not logged in.

#1 2013-08-05 20:10:47

hddnhrst
Member
From: Germany
Registered: 2012-11-20
Posts: 26

netctl-ifplugd and netctl-auto at the same time

Hello,

I started both services on my laptop concurrently, they are both running.
How can I see which interface is being used?

systemctl status ... doesn't really help me.
It shows them both as active and running.
My router also sees both connections.

When I download something, which interface will be used?
Should I use "Priority" in my wired connection profile?

I expected the system would always prioritize wired over wireless...
I am confused... tongue

Last edited by hddnhrst (2013-08-05 20:11:04)

Offline

#2 2013-08-06 22:10:55

studentik
Member
Registered: 2013-05-24
Posts: 38

Re: netctl-ifplugd and netctl-auto at the same time

$ ip ro

should tell you the default interface

Offline

#3 2020-09-24 23:19:50

baturvit
Member
Registered: 2019-01-13
Posts: 4

Re: netctl-ifplugd and netctl-auto at the same time

i'm also interested in the answer. When i have both netctl-auto@wlan0 and netctl-ifplugd@eth0 working ip route returns following:

papa@pobeda ~ % ip ro
default via X.X.X.1 dev eth0 proto dhcp src X.X.X.214 metric 202
default via Y.Y.Y.1 dev wlan0 proto dhcp src Y.Y.Y.114 metric 303
X.X.X.0/24 dev eth0 proto dhcp scope link src X.X.X.214 metric 202
Y.Y.Y.0/20 dev wlan0 proto dhcp scope link src Y.Y.Y.114 metric 303

I monitored traffic across both interfaces for couple of hours of normal use. eth0 sent and received around 4 Gb while wlan0 sent and recieved around 5 Mb.
In my scenario netctl-ifplugd@eth0 was started after firefox and couple other apps were already using netctl-auto@wlan0. So i assume firefox created some posix sockets bound to wlan0, and continued to send traffic through them. But since default gateway related to eth0 occurs before wlan0's default gateway in route table - new sockets are bound to eth0.

Would be glad if somebody explained this behavior precisely though.

Last edited by baturvit (2020-09-24 23:23:44)

Offline

#4 2020-09-24 23:34:51

baturvit
Member
Registered: 2019-01-13
Posts: 4

Re: netctl-ifplugd and netctl-auto at the same time

Ineresting, but when i ran speedtest.net first time - all traffic went only through eth0. Than i unplugged ethernet, reopened closed tab with speedtest - wlan0 was working well. But when i plugged ethernet back in and launched the test again - both interfaces were fully utilized and i've got speed which is the sum of usual speeds on each interface.
10141763475.png

Offline

#5 2020-09-25 07:15:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: netctl-ifplugd and netctl-auto at the same time

Please open your own thread instead of necrobumping a 7 year old one.

https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.

Offline

Board footer

Powered by FluxBB