Ohhh, I found it myself. I didn't turn on the ip_forward option)) If someone will also have this problem, try this :
*cat /proc/sys/net/ipv4/ip_forward* and if there is *0* in this file, change it to *1* *echo 1 > /proc/sys/net/ipv4/ip_forward* On Fri, May 24, 2013 at 12:34 PM, Andranik Hayrapetyan < andranik....@gmail.com> wrote: > Good day. > > I have an OpenNebula 4 setup on Centos 6.4. Not it consists only from 2 > nodes - controller and worker node. > The hypervizor is kvm and the network driver is dummy. > The Controllers network configuration is - eth0 - ip 93.xx.xx.50 (real IP) > and br0 on eth0.0 with ip 10.0.11.1 . > The worker nodes network is eth0 - ip 93.xx.xx.51 (real IP) and br0 on > eth0.0 with ip 10.0.11.2 . > I have this rule in my nat section which I expect to do masquarade > -A POSTROUTING -s 10.0.11.0/24 -o eth0 -j MASQUERADE > and WM s can have internet. But it don't do it. > > In the WM the gateway is 10.0.11.1. and I can ping it. also I can ping to > 93.xx.xx.50 - the public ip of the controller. But behind that I cannot > ping anywhere. So I think that the masquarade rule is not working. > > Can anyone help me or give an advice how to configure network. > > Thanks in advance. >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org