Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-06 Thread Dan Williams
On Fri, 2014-06-06 at 10:52 -0400, Leonid Isaev wrote: > Hi, > > On 06/06, Lennart Poettering wrote: > > Date: Fri, 6 Jun 2014 15:43:21 +0200 > > From: Lennart Poettering > > To: Mantas Mikulėnas > > Cc: systemd Mailing List > > Subject: Re: [systemd-dev

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-06 Thread Leonid Isaev
Hi, On 06/06, Lennart Poettering wrote: > Date: Fri, 6 Jun 2014 15:43:21 +0200 > From: Lennart Poettering > To: Mantas Mikulėnas > Cc: systemd Mailing List > Subject: Re: [systemd-devel] Systemd-networkd, default route and multiple > interfaces > User-Agent: Leviathan/1

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-06 Thread Lennart Poettering
On Wed, 04.06.14 00:29, Mantas Mikulėnas ([email protected]) wrote: > > On Tue, Jun 3, 2014 at 9:58 PM, Lennart Poettering > wrote: > > > > On Mon, 02.06.14 21:02, Tom Gundersen ([email protected]) wrote: > > > > > On Mon, Jun 2, 2014 at 8:47 PM, Reventlov > > > wrote: > > > > Since network files ar

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Mantas Mikulėnas
On Tue, Jun 3, 2014 at 9:58 PM, Lennart Poettering wrote: > > On Mon, 02.06.14 21:02, Tom Gundersen ([email protected]) wrote: > > > On Mon, Jun 2, 2014 at 8:47 PM, Reventlov > > wrote: > > > Since network files are applied to links whenever the links > > > appear, how do systemd manage the "disappear

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Tom Gundersen
On Tue, Jun 3, 2014 at 8:58 PM, Lennart Poettering wrote: > On Mon, 02.06.14 21:02, Tom Gundersen ([email protected]) wrote: > >> On Mon, Jun 2, 2014 at 8:47 PM, Reventlov >> wrote: >> > Since network files are applied to links whenever the links >> > appear, how do systemd manage the "disappearance"

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Lennart Poettering
On Mon, 02.06.14 21:02, Tom Gundersen ([email protected]) wrote: > On Mon, Jun 2, 2014 at 8:47 PM, Reventlov > wrote: > > Since network files are applied to links whenever the links > > appear, how do systemd manage the "disappearance" of a default route ? > > You can have several default routes, so

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Tom Gundersen
On Mon, Jun 2, 2014 at 8:47 PM, Reventlov wrote: > Hello. > > Since network files are applied to links whenever the links > appear, how do systemd manage the "disappearance" of a default route ? > > For example, let's say i have one wireless interface and one ethernet > interface that are both up,

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-02 Thread Tom Gundersen
On Mon, Jun 2, 2014 at 8:47 PM, Reventlov wrote: > Since network files are applied to links whenever the links > appear, how do systemd manage the "disappearance" of a default route ? You can have several default routes, so we just configure them all and let the kernel handle it for us. We probab

[systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-02 Thread Reventlov
Hello. Since network files are applied to links whenever the links appear, how do systemd manage the "disappearance" of a default route ? For example, let's say i have one wireless interface and one ethernet interface that are both up, with the route default using the wireless interface, and syst