Creating network interfaces with specific name in LXC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

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'/>
    </interface>

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

I found some examples here: http://libvirt.org/guide/html/Application_Development_Guide-Network_Interfaces-XML_Format.html

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.

Regards,
Harish
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux