Re: [systemd-devel] networkd config for dummy0 interface

2014-07-02 Thread Tom Gundersen
On Wed, Jul 2, 2014 at 8:31 AM, Matthias Schiffer wrote: > I don't think it's always possible to set the address when an interface > is created; one example would be interfaces that aren't created > explicitly, but as a side effect (I'm thinking of things like the peer > side of a veth pair; batma

Re: [systemd-devel] networkd config for dummy0 interface

2014-07-01 Thread Matthias Schiffer
On 07/01/2014 01:58 PM, Tom Gundersen wrote: > On Mon, Jun 30, 2014 at 11:47 PM, Matthias Schiffer > wrote: >> On 06/24/2014 12:25 PM, Tom Gundersen wrote: >>> On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov >>> wrote: Hi. I have very strange task: >>> >>> Not tested, but I would start wi

Re: [systemd-devel] networkd config for dummy0 interface

2014-07-01 Thread Tom Gundersen
On Tue, Jul 1, 2014 at 1:55 PM, Tom Gundersen wrote: > So I had another look at this: > > On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov wrote: >> Hi. I have very strange task: >> 1) Nedd modprobe dummy > > Don't (will be autoloaded in 2)). > >> 2) Assign specific mac address to it > > Do this

Re: [systemd-devel] networkd config for dummy0 interface

2014-07-01 Thread Tom Gundersen
On Mon, Jun 30, 2014 at 11:47 PM, Matthias Schiffer wrote: > On 06/24/2014 12:25 PM, Tom Gundersen wrote: >> On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov >> wrote: >>> Hi. I have very strange task: >> >> Not tested, but I would start with trying: >> >>> 1) Nedd modprobe dummy >> >> Use modu

Re: [systemd-devel] networkd config for dummy0 interface

2014-07-01 Thread Tom Gundersen
So I had another look at this: On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov wrote: > Hi. I have very strange task: > 1) Nedd modprobe dummy Don't (will be autoloaded in 2)). > 2) Assign specific mac address to it Do this when creating the dummy device: # ip link add my-dummy address 6e:f

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Christian Hesse
Matthias Schiffer on Tue, 2014/07/01 07:08: > On 07/01/2014 05:56 AM, Christian Hesse wrote: > > Matthias Schiffer on Mon, 2014/06/30 > > 23:47: > >> On 06/24/2014 12:25 PM, Tom Gundersen wrote: > >>> On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov > >>> wrote: > Hi. I have very strange t

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Matthias Schiffer
On 07/01/2014 05:56 AM, Christian Hesse wrote: > Matthias Schiffer on Mon, 2014/06/30 23:47: >> On 06/24/2014 12:25 PM, Tom Gundersen wrote: >>> On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov >>> wrote: Hi. I have very strange task: >>> >>> Not tested, but I would start with trying: >>> >

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Christian Hesse
Matthias Schiffer on Mon, 2014/06/30 23:47: > On 06/24/2014 12:25 PM, Tom Gundersen wrote: > > On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov > > wrote: > >> Hi. I have very strange task: > > > > Not tested, but I would start with trying: > > > >> 1) Nedd modprobe dummy > > > > Use modules-

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-30 Thread Matthias Schiffer
On 06/24/2014 12:25 PM, Tom Gundersen wrote: > On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov wrote: >> Hi. I have very strange task: > > Not tested, but I would start with trying: > >> 1) Nedd modprobe dummy > > Use modules-load.d > >> 2) Assign specific mac address to it > > Possibly use

Re: [systemd-devel] networkd config for dummy0 interface

2014-06-24 Thread Tom Gundersen
On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov wrote: > Hi. I have very strange task: Not tested, but I would start with trying: > 1) Nedd modprobe dummy Use modules-load.d > 2) Assign specific mac address to it Possibly use .link files, or check if it is possible to spcify this as module

[systemd-devel] networkd config for dummy0 interface

2014-06-24 Thread Vasiliy Tolstov
Hi. I have very strange task: 1) Nedd modprobe dummy 2) Assign specific mac address to it 3) Bring up it 4) Assign specific address to it How can i do that via networkd ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ system