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

2015-11-12 Thread Leonid 'Beef Marsala' Isaev
On Thu, Nov 12, 2015 at 07:52:20PM +0100, Bennett Piater wrote: > > I mostly just use LAN when I need to download a lot of stuff at home, > because WIFI is much slower even at 54 Mb/s, especially since my home > network is 1 Gbps. So I could just turn WIFI off in those cases, that > would be an ac

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

2015-11-12 Thread Bennett Piater
> Well, it depends on whether wlan0 and eth0 are on different networks. If > they are, then the answer is yes, and you are screwed. > > If both interfaces get the same ip, then you can maintain persistent > connection. For example, let's assume that you constantly switch between > different interf

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

2015-11-12 Thread Leonid 'Beef Marsala' Isaev
On Thu, Nov 12, 2015 at 12:30:36PM +0100, Bennett Piater wrote: > > Say you start out on wifi, and open an ssh connection. Then you plug in > > ethernet. The ssh session will remain on the wifi route until it is > > closed. There's no way* to make an existing connection "jump ship" from > > one rou

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

2015-11-12 Thread Bennett Piater
> Say you start out on wifi, and open an ssh connection. Then you plug in > ethernet. The ssh session will remain on the wifi route until it is > closed. There's no way* to make an existing connection "jump ship" from > one route to another. If you were to disable the wifi connection as soon > as t

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

2015-11-11 Thread Sean Greenslade
On Wed, Nov 11, 2015 at 09:47:25AM +0100, 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 ac

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

2015-11-11 Thread Tinu Weber
On Wed, Nov 11, 2015 at 16:06:18 +0100, Bennett Piater wrote: > They have different metrics as per the example from the wiki. > > However, no wiki article or manpage that I encountered explained what > exactly the metric does. Could you explain that to me? > > Cheers, > Bennett > > > If there ar

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

2015-11-11 Thread Damjan Georgievski
ip route get 8.8.8.8 ip route get 7.7.7.7 will show the routes for those ip addresses. you can check several to see where they go (in case the 2 default routes have the same metric) On 11 November 2015 at 14:38, Andrew Von Stein <16vo...@gmail.com> wrote: > Expanding on the ip route command, you

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

2015-11-11 Thread Andrew Von Stein
Expanding on the ip route command, you can you see what interface is used to reach the Internet by looking at the default route. The entry that has the destination as 0.0.0.0 and the subnet mask as 0.0.0.0 is the default route. If your LAN is shown above your wifi interface I'm going to assume that

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

2015-11-11 Thread Bennett Piater
> I don't use netctl, but you can usually see what default route it uses with > > ip route Thanks for that, I didn't know that command. The LAN is shown above WIFI, which (I assume) means that it takes precedence. > > I have made the experience that newly configured interfaces "steal" the

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

2015-11-11 Thread Tinu Weber
On Wed, Nov 11, 2015 at 09:35:05 +, Ben Oliver wrote: > On 11 November 2015 at 09:18, Ludwig Zins 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: > > > > >

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

2015-11-11 Thread Ben Oliver
On 11 November 2015 at 09:18, Ludwig Zins 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 >

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

2015-11-11 Thread Ludwig Zins
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] an

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

2015-11-11 Thread Bennett Piater
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 n