[Lxc-users] how to configure lxc's route table without route cmd?

陈竞 cj.magina at gmail.com
Wed Mar 7 06:55:19 UTC 2012


thankyou, i will try it

在 2012年3月7日 下午12:11,Fajar A. Nugraha <list at fajar.net>写道:

> 2012/3/7 陈竞 <cj.magina at gmail.com>:
> > i start a container with virtual network without configuring route,  i
> > wonder if i can configure route table according to
> >
> > lxc configure file or changing some file in host os. i dont want to
> execute
> > route command in lxc.
>
> IMHO it's easier to:
> - create bridged networking + NAT on host
> - use dhcp on guest
> - use iptables on host to restrict guest access, if needed
>
> --
> Fajar
>



-- 
陈竞,中科院计算技术研究所,高性能计算机中心
Jing Chen HPCC.ICT.AC China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120307/36c48108/attachment.html>


More information about the lxc-users mailing list