Re: [gentoo-user] Systemd and static network

2013-07-26 Thread Stefan G. Weichinger
Am 25.07.2013 17:42, schrieb Canek Peláez Valdés: What do you use - and what are the benefits of your method? I use the following unit in one of my servers: # --- [Unit] My current version, using

Re: [gentoo-user] Systemd and static network

2013-07-26 Thread Michael Hampicke
Am 2013-07-26 11:26, schrieb Stefan G. Weichinger: Am 25.07.2013 17:42, schrieb Canek Peláez Valdés: What do you use - and what are the benefits of your method? I use the following unit in one of my servers: #

[gentoo-user] Systemd and static network

2013-07-25 Thread Michael Hampicke
Howdy folks, currently I am migrating some servers to systemd, and I am wondering what's the best way to set up static networking. Until now, I always used dhcp + networkmanager (workstations, laptops). Some suggested creating your own network unit and manually start ifconfig/route or ip via

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Douglas J Hunley
On Thu, Jul 25, 2013 at 6:46 AM, Michael Hampicke m...@hadt.biz wrote: What do you use - and what are the benefits of your method? Why not continue to use DHCP and simply set a static assignment based on the MAC inside the DHCP server? Then it doesn't matter how the system is setup, it just

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Pavel Volkov
On Thursday 25 July 2013 17:23:56 I wrote: Systemd will not read /etc/conf.d/net like /etc/init.d/net.* scripts do. You need some service that will prepare the network. I personally prefer netctl, it is KISS enough. It was me who asked the devs to add it to the tree :) I tried NM too, it does

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Pavel Volkov
KMail is messing with my emails here, quotations in sent letters are not the way they used to look in edit mode :)

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Pavel Volkov
On Thursday 25 July 2013 08:18:00 Douglas J Hunley wrote: On Thu, Jul 25, 2013 at 6:46 AM, Michael Hampicke m...@hadt.biz[1] wrote: What do you use - and what are the benefits of your method? Systemd will not read /etc/conf.d/net like /etc/init.d/net.* scripts do. You need some service

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Michael Hampicke
Am 2013-07-25 14:18, schrieb Douglas J Hunley: On Thu, Jul 25, 2013 at 6:46 AM, Michael Hampicke m...@hadt.biz wrote: What do you use - and what are the benefits of your method? Why not continue to use DHCP and simply set a static assignment based on the MAC inside the DHCP server? Then it

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Canek Peláez Valdés
On Thu, Jul 25, 2013 at 5:46 AM, Michael Hampicke m...@hadt.biz wrote: Howdy folks, currently I am migrating some servers to systemd, and I am wondering what's the best way to set up static networking. Until now, I always used dhcp + networkmanager (workstations, laptops). Some suggested

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Michael Hampicke
Am 25.07.2013 17:42, schrieb Canek Peláez Valdés: On Thu, Jul 25, 2013 at 5:46 AM, Michael Hampicke m...@hadt.biz wrote: Howdy folks, currently I am migrating some servers to systemd, and I am wondering what's the best way to set up static networking. Until now, I always used dhcp +

Re: [gentoo-user] Systemd and static network

2013-07-25 Thread Keith Dart
Re CADPrc803kq_c76b1oqp3PksvDgyP5MD+zqLGqcsxk=eCT2iYRA@mail.gmail.comCADPrc803kq_c76b1oqp3PksvDgyP5MD+zqLGqcsxk=eCT2iYRA@mail.gmail.com51f10221.1080...@hadt.biz, Michael Hampicke said: Tanks. I will give netctl a try in a VM. For now, on real machines, I am going with the unit you suggested.