[arch-general] systemd-networkd and netctl with multiple interfaces

Tinu Weber takeya at bluewin.ch
Wed Nov 11 10:05:34 UTC 2015


On Wed, Nov 11, 2015 at 09:35:05 +0000, Ben Oliver wrote:
> On 11 November 2015 at 09:18, Ludwig Zins <lz at luanzi.de> wrote:
> 
> > On 11/11/15 09:47, Bennett Piater wrote:
> > > Hello!
> > > I installed Arch on my new Thinkpad T450s over the weekend.
> > > Everything works well, but I have a question:
> > >
> > > I use systemd-networkd to manage my network interfaces and netctl for
> > > the connections. I set everything up according to (this)[0] and
> > > (this)[1] to get automatic activation of wifi via netctl-auto and
> > > netctl-ifplugd.
> > >
> > > My question is as follows: I use i3wm, and i3status shows *both*
> > > ethernet and wifi as connected if I plug in the cable while having a
> > > wifi connection. What does this mean exactly, and how is my traffic
> > routed?
> > >
> > > Thanks in advance for clearing that up.
> > >
> > > Cheers,
> > > Bennett
> > >
> > > [0]:
> > >
> > https://wiki.archlinux.org/index.php/Systemd-networkd#Wired_and_wireless_adapters_on_the_same_machine
> > >
> > > [1]:
> > >
> > https://wiki.archlinux.org/index.php/Netctl#Automatic_switching_of_profiles
> > >
> > > --
> > > GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
> > >

I don't use netctl, but you can usually see what default route it uses with

	ip route

I have made the experience that newly configured interfaces "steal" the
default route (although this can usually be configured - again, I don't
use netctl).

I can imagine the default route passing through the WiFi interface in
your scenario.

~Tinu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20151111/61fa5ff9/attachment-0001.asc>


More information about the arch-general mailing list