I setup a bridge by modify the scripts in /etc/sysconfig/network-scripts/ in my
test environment,it does work but it's not a satisfied solution, since it will
change much of the HOST. My system administrator may not be pleased if I change
the system config of the product environment. Though changing system config is
inevitable, I am looking for an approach that's easy to deploy and easy to
recover. Maybe libvirt is the right way.
At 2012-10-08 18:02:34,"Fajar A. Nugraha" <l...@fajar.net> wrote:
>On Mon, Oct 8, 2012 at 11:04 AM, Binknight <zheng_hua...@163.com> wrote:
>> I want to setup nginx service on the container, so the container should be
>> visible to other hosts as well as the HOST it lives. The HOST machine's ip
>> is 10.2.132.110.
>>
>> so is it possible to setup an ip for container that's visible to other hosts
>> by configuring libvirt?
>
>Yes, setup a bridge on your physical interface. It will be just like
>any other host on your network. Note that in only works for wired
>interface though, not for wireless.
>
>My wiki has examples for several types of bridge for Debian/Ubuntu,
>but for F16 you can try Google "fedora bridge howto"
>
>--
>Fajar
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users