Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-28 Thread Lennart Poettering
On Tue, 27.05.14 22:14, Kirill Elagin (kirela...@gmail.com) wrote: > > > > The container usecase alone is already the reason why I am so very sure > > I want this stuff, and that it needs to be in networkd, and just work. I > > want this fully automatic, so that we can create a hundred of veth > >

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-28 Thread Lennart Poettering
On Tue, 27.05.14 14:48, Tollef Fog Heen (tfh...@err.no) wrote: > > ]] Lennart Poettering > > > If we set up links (and especially, create them like > > we do for veth), then hel, yeah we should be prepared to make sure > > everybody gets an address on it. > > Should we also include BGP, OSPF,

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-28 Thread Patrik Flykt
On Tue, 2014-05-27 at 13:39 +0200, David Herrmann wrote: > I strongly disagree. One major example is Wifi-P2P which requires a > DHCP-Server for ad-hoc P2P connections. A network-daemon manages the > local address-space, so it should also be responsible of assigning > those ranges to an ad-hoc DHCP

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Lennart Poettering
On Tue, 27.05.14 16:04, Eelco Dolstra (eelco.dols...@logicblox.com) wrote: > > I am very sure this should be in networkd. > [snip] > > That sounds reasonable. However, to be honest, I've never really understood > why > networkd needs to be part of systemd in the first place. It seems to > me th

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Lennart Poettering
On Tue, 27.05.14 14:28, Michael Biebl (mbi...@gmail.com) wrote: > > 2014-05-27 14:00 GMT+02:00 Lennart Poettering : > > > > In many ways, if people complain about a dhcp server in networkd, then > > it's like complaining about the fact that pppd also can assign addresses > > to the other side...

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Reindl Harald
Am 27.05.2014 20:14, schrieb Kirill Elagin: > The container usecase alone is already the reason why I am so very sure > I want this stuff, and that it needs to be in networkd, and just work. I > want this fully automatic, so that we can create a hundred of veth > tunnels, and trivi

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Kirill Elagin
> > The container usecase alone is already the reason why I am so very sure > I want this stuff, and that it needs to be in networkd, and just work. I > want this fully automatic, so that we can create a hundred of veth > tunnels, and trivially easy (simply by setting DHCPServer=yes for their > .ne

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Jóhann B. Guðmundsson
On 05/27/2014 03:20 PM, Tom Gundersen wrote: On Tue, May 27, 2014 at 2:48 PM, Tollef Fog Heen wrote: >]] Lennart Poettering > >>If we set up links (and especially, create them like >>we do for veth), then hel, yeah we should be prepared to make sure >>everybody gets an address on it. > >Shou

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tollef Fog Heen
]] Tom Gundersen > On Tue, May 27, 2014 at 2:48 PM, Tollef Fog Heen wrote: > > ]] Lennart Poettering > > > >> If we set up links (and especially, create them like > >> we do for veth), then hel, yeah we should be prepared to make sure > >> everybody gets an address on it. > > > > Should we also

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tom Gundersen
On Tue, May 27, 2014 at 4:04 PM, Eelco Dolstra wrote: > However, to be honest, I've never really understood why > networkd needs to be part of systemd in the first place. It seems to me that > it > would work just as well as a separate package with its own releases. To me as > a > downstream tha

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tom Gundersen
On Tue, May 27, 2014 at 2:48 PM, Tollef Fog Heen wrote: > ]] Lennart Poettering > >> If we set up links (and especially, create them like >> we do for veth), then hel, yeah we should be prepared to make sure >> everybody gets an address on it. > > Should we also include BGP, OSPF, RIP, ISIS (and t

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Cristian Rodríguez
El 27/05/14 07:39, David Herrmann escribió: > I strongly disagree. One major example is Wifi-P2P which requires a > DHCP-Server for ad-hoc P2P connections. OOk. that convinced me, thanks.. -- Cristian "I don't know the key to success, but the key to failure is trying to please everybody." ___

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Cristian Rodríguez
El 27/05/14 10:04, Eelco Dolstra escribió: ¿ That sounds reasonable. However, to be honest, I've never really understood why networkd needs to be part of systemd in the first place. For the start, to share a large amount code.. It seems to me that it would work just as well as a separate pac

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Eelco Dolstra
Hi, On 27/05/14 13:50, Lennart Poettering wrote: >> On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: >>> When enabled in [Network] it will set up a dhcp server on the interface, >>> listening >>> on one of its statically configured IPv4 addresses and with a fixed size >>> pool of

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tollef Fog Heen
]] Lennart Poettering > If we set up links (and especially, create them like > we do for veth), then hel, yeah we should be prepared to make sure > everybody gets an address on it. Should we also include BGP, OSPF, RIP, ISIS (and their IPv6 variants) to make sure it's possible to push routes?

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Michael Biebl
2014-05-27 14:00 GMT+02:00 Lennart Poettering : > > In many ways, if people complain about a dhcp server in networkd, then > it's like complaining about the fact that pppd also can assign addresses > to the other side... I don't see pppd implementing a DHCP server. -- Why is it that all of the i

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Lennart Poettering
On Tue, 27.05.14 13:39, David Herrmann (dh.herrm...@gmail.com) wrote: > Hi > > On Tue, May 27, 2014 at 12:41 PM, Michael Biebl wrote: > > 2014-05-27 4:38 GMT+02:00 Zbigniew Jędrzejewski-Szmek : > >> before looking at the code, a couple of general questions: > >> - does the DHCP server have to be

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Lennart Poettering
On Tue, 27.05.14 04:38, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: > > When enabled in [Network] it will set up a dhcp server on the interface, > > listening > > on one of its statically configured IPv4 addresses and

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread David Herrmann
Hi On Tue, May 27, 2014 at 12:41 PM, Michael Biebl wrote: > 2014-05-27 4:38 GMT+02:00 Zbigniew Jędrzejewski-Szmek : >> before looking at the code, a couple of general questions: >> - does the DHCP server have to be part of networkd? Isn't the job >> of acquiring addresses and giving out address

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tom Gundersen
On Tue, May 27, 2014 at 12:41 PM, Michael Biebl wrote: > 2014-05-27 4:38 GMT+02:00 Zbigniew Jędrzejewski-Szmek : >> On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: >>> When enabled in [Network] it will set up a dhcp server on the interface, >>> listening >>> on one of its staticall

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Michael Biebl
2014-05-27 4:38 GMT+02:00 Zbigniew Jędrzejewski-Szmek : > On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: >> When enabled in [Network] it will set up a dhcp server on the interface, >> listening >> on one of its statically configured IPv4 addresses and with a fixed size >> pool of

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-27 Thread Tom Gundersen
Hi Zbyszek, On 27 May 2014 04:38, "Zbigniew Jędrzejewski-Szmek" wrote: > > On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: > > When enabled in [Network] it will set up a dhcp server on the interface, listening > > on one of its statically configured IPv4 addresses and with a fixed

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-26 Thread Marcel Holtmann
Hi Cristian, >>> When enabled in [Network] it will set up a dhcp server on the interface, >>> listening >>> on one of its statically configured IPv4 addresses and with a fixed size >>> pool of >>> leases determined from it. >> Hi Tom, >> before looking at the code, a couple of general questions:

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-26 Thread Cristian Rodríguez
El 26/05/14 22:38, Zbigniew Jędrzejewski-Szmek escribió: On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: When enabled in [Network] it will set up a dhcp server on the interface, listening on one of its statically configured IPv4 addresses and with a fixed size pool of leases dete

Re: [systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-26 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 26, 2014 at 09:39:46PM +0200, Tom Gundersen wrote: > When enabled in [Network] it will set up a dhcp server on the interface, > listening > on one of its statically configured IPv4 addresses and with a fixed size pool > of > leases determined from it. Hi Tom, before looking at the cod

[systemd-devel] [PATCH 17/17] networkd: add dhcp server support

2014-05-26 Thread Tom Gundersen
When enabled in [Network] it will set up a dhcp server on the interface, listening on one of its statically configured IPv4 addresses and with a fixed size pool of leases determined from it. Example: [Match] Name=ve-arch-tree [Network] Address=192.168.12.5/24 DHCPServer=yes [Route] Gateway=192