[libvirt-users] Creating network interfaces with specific name in LXC

Harish Vishwanath harish.shastry at gmail.com
Fri Oct 30 14:46:33 UTC 2015


I am trying to create interfaces within an LXC container with specific
name. I am using the following XML:

    <interface type='network' name='blah'>
      <source network='dpbr_n_0'/>

This doesn't seem to work; it always ends up creating interface with name
as "eth0".

I found some examples here:

That uses interface type as "ethernet" and specifies name also, If I do
that, I get back an error while starting the container as "Unsupported
network type ethernet".

Appreciate your help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20151030/5dede105/attachment.htm>

More information about the libvirt-users mailing list