Re: Mapping physical interface to a container

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

 



What I'm ultimately trying to accomplish is the Ubuntu/LXC based instructions described at this link:

http://computingnote.blogspot.com/2013/07/set-up-networkings-between-linux.html?showComment=1461253896749#c5912606568282990028

This presumably provides a solution to the EC2 networking issue when using LXC containers. These instructions are for Ubuntu and LXC, not CentOS and libvirt-lxc. I've tried to map the instructions over to equivalent operations in CentOS and libvirt but something isn't working. My suspicion is this LXC config for mapping a physical interface on a host to an interface on the container. The link

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-attch-nic-physdev.html

appears to be what I'm looking for but I'm not 100% sure if this in in fact what I need. Am I on the right track with this?

Peter

On 04/21/2016 06:33 AM, Peter Steele wrote:
In the "other" LXC project (linuxcontainers.org), you can map a host's physical ethernet interface to a container, e.g.

lxc.network.type = phys
lxc.network.flags = up
lxc.network.link = eth1
lxc.network.name = eth1

Is there an equivalent option for doing this with libvirt lxc?

Peter



_______________________________________________
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