On Tue, Jul 1, 2014 at 1:55 PM, Tom Gundersen <t...@jklm.no> wrote: > So I had another look at this: > > On Tue, Jun 24, 2014 at 12:14 PM, Vasiliy Tolstov <v.tols...@selfip.ru> 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:f0:0c:93:cf:e3 type dummy > > (I'd be happy to take a patch to add dummy support to networkd so that > we can create this from a .netdev file).
Just added support for this to networkd, so the .netdev file you want is: --8<------------- [NetDev] Name=my-dummy Kind=dummy MACAddress=6e:f0:0c:93:cf:e3 --8<------------- >> 3) Bring up it >> 4) Assign specific address to it > > As mentioned earlier, just use a .network file: > > --8<------------- > > [Match] > Name=my-dummy > > [Network] > Address=192.168.0.1/24 > > --8<------------- > > HTH, > > Tom _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel