On Fri, Sep 21, 2012 at 9:16 PM, Binknight <zheng_hua...@163.com> wrote:
>
> many thanks,
>
> I edit the container's /etc/rc.d/rc.sysinit and add :
>      route add default gw 192.168.122.1 # address of virbr0
>      echo >> /etc/resolv.conf nameserver 10.2.0.41 #name server the same as
> that in HOST's /etc/resolv.conf
> then i can ping google successfully .

libvirt SHOULD create the bridge as well as start dnsmasq, which
functions as DHCP and dns. So if you had to do that manually you
either:
- don't use dhcp on the guest, or
- your libvirt installation is broken

-- 
Fajar

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to