[Lxc-users] Is there any document on networking?
magicloud.magiclouds at gmail.com
Tue Nov 12 06:22:31 UTC 2013
Thank you for the reply. I may be not clear in the original question.
For example, in KVM, the system setup a virtual network device pair in
host, and added on end to bridge. So when an program is using the other
end, its communication will be bridged to actual hardware. And KVM exposes
a virtual network device to the guest and links it to "the other end". And
in guest, it is just a normal network device.
But in LXC, first of all, it does not vitualize hardware. The guest is just
a child process of LXC. Then, how does it make the guest using "the other
end"? The guest is just using general socket APIs.
On Tue, Nov 12, 2013 at 3:24 AM, Tony Su <tonysu at su-networking.com> wrote:
> In general,
> I've found that LXC networking is no different than any other type of
> In fact,
> If you implement libvirt, the virtual networking objects (ie br,
> virbr, etc) once created can be utilized by any/all virtual networking
> So, for example I also have KVM installed on my machine and Guests
> using either KVM or LXC can use the same define Linux Bridge Devices.
> And, I've read that the same should be possible with Virtual Box and
> likely VMware.
> Generally speaking, it's preferable to bind Guest (Container)
> networking to a Linux Bridge Device instead of directly to hardware.
> Benefits are supposed to be superior ability to manage your virtual
> networking with options like assigned network names, their own ip
> address ranges, default gateway, NAT and maybe more
> On Sun, Nov 3, 2013 at 6:19 PM, Magicloud Magiclouds
> <magicloud.magiclouds at gmail.com> wrote:
> > Thank you. Exactly what I want.
> > On Sun, Nov 3, 2013 at 12:03 AM, Marc Aymerich <glicerinu at gmail.com>
> >> On Wed, Oct 30, 2013 at 4:51 AM, Magicloud Magiclouds
> >> <magicloud.magiclouds at gmail.com> wrote:
> >>> Hi,
> >>> I am curious how network is virtualized in container kind of
> >>> virtualization. But searching through google, I did not see a relavent
> >>> document.
> >> I believe you have to search by "network namespace"
> >> --
> >> Marc
> > --
> > 竹密岂妨流水过
> > 山高哪阻野云飞
> > And for G+, please use magiclouds#gmail.com.
> > Android is increasing in popularity, but the open development platform
> > developers love is also attractive to malware creators. Download this
> > paper to learn more about secure code signing practices that can help
> > Android apps secure.
> > _______________________________________________
> > Lxc-users mailing list
> > Lxc-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/lxc-users
And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lxc-users