[systemd-devel] networkd config for dummy0 interface

Christian Hesse list at eworm.de
Mon Jun 30 20:56:52 PDT 2014


Matthias Schiffer <mschiffer at universe-factory.net> 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 <v.tolstov at selfip.ru>
> > 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 options (didn't check).
> > 
> >> 3) Bring up it
> >> 4) Assign specific address to it
> > 
> > Use a regular .network file... Should wokr.
> > 
> > HTH,
> > 
> > Tom
> 
> I'm not sure if this has changed recently, but I think it is not
> possible to use .link files to configure virtual network devices as
> there is _nothing_ to match on.

Sure. You have a name. That is what I tried first and it works perfectly.

[Match]
Name=dummy0

Or did I miss anything?

-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140701/27fbdd2f/attachment.sig>


More information about the systemd-devel mailing list