<div dir="ltr"><div>dont bother , i found instructions for  802.1Q and its working ,<br><br></div><div>thanks.<br><br></div><div><br><br>--------------------------------------------------<br><br><div><div class="gmail_quote">

<div dir="ltr"><div><div><div><div>Hello  to everyone, my name is fernando, from the canary island (a piece of earth lost in the middle of the atlantic ocean), and this is my first mail to this list.<br>
<br></div>At last, after three hard days having a fight with my virtual enviroment i manage to get opennebula half running (well, almost all works, vnc, sunstone, virtual machines working ok), the biggest problem was that  all "big" machines downloaded from market were incomplete thanks to a shitty net connection, i managed to wget a centos server image after 54 continues and register it manually...<br>



<br>Well, lets get into the problem.<br><br>I have the following working setup (all virtualized in vmware player from the ground up).<br>
<br></div><div>Centos 6.4 for all machines<br>Freenas for nas storage<br>Two working nodes.<br><br>Open Nebula last version installed<br></div><div><br></div><div>all machines virtualized with tree nics:<br>eth0 : for internet conectivity (ill setup a proxy later)<br>



eth1 : for internal data transfer between nodes <br>eth2 : for  "vm's".<br>IPtables : disabled<br><br>Defined ranges for nic's:<br><br></div><div>eth0: <a href="http://192.168.10.0/24" target="_blank">192.168.10.0/24</a><br>



</div><div>eth1: <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a></div><div>eth2: <a href="http://10.11.10.0/24" target="_blank">10.11.10.0/24</a></div><div><br></div><div>I have setup the bridge as follow in the nodes, example of one node, configured by script at boot (along other modifications, too lazy to modify config files...) :<br>



<br>ifconfig eth2 0.0.0.0<br>....<br></div><div>brctl addif virbr0 eth2<br>....<br></div><div>ifconfig virbr0 10.11.10.15<br><br></div><div>resulting in following node ips :<br><br></div><div>eth0: 192.168.10.15<br></div>



<div>eth1: 10.10.10.15<br></div><div>eth2: 0.0.0.0<br></div><div>virbr: 10.11.10.15<br></div><div><br></div>I configured in sunstone a network as follows:<br><br></div><div>type : ranged network<br><br></div><div>define a subnet by ip : checked<br>



<br></div><div>IP start 10.11.13.5<br></div><div>IP end : 10.11.13.254<br><br></div><div>Network model : Open vswitch<br></div><div>Bridge: virbr0<br></div><div>Vlan : yes<br></div><div>Vlan id: 2<br><br></div><div>All works as espected, machine gets ip from defined range and i cant ping machines in other networks, but if i change ip' inside one opennebula's vm in that network (vlan id 2), for example: ifconfig eth0 10.10.10.54 netmask 255.0.0.0  I can ping all machines in every net range.<br>



<br></div><div>My objetive is that, every machine in that subnet receive and send traffic only to the other machines in the same subnet, even if i force change the ip in the launched vm.<br></div><div><br>I searched for a solution or similar problem in the mail list archive an
 internet but i didnt found a solution for a similar problem.<br><br></div><div>What I am doing wrong?<br>How can it be fixed?<br></div><div>Im explaining myself correctly?<br><br></div><div>ps: first, sorry for my english if its badly written and second, my experience in linux is only about a year, Im not an idiot (well not entirely :-) , but Im not a linux gurú, I google examples/tutorials/documentation, and can think I little by myself, but please if you're going to help me I would thank a lot, a little explanation of the problem and possible solutions (i would preffer ther easiest solution possible) to enlighth me.<br>



<br></div><div>Thanks in advance.</div><span><font color="#888888">-- <br><div><div><div><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>...---...<br><br><a href="http://www.fherking.com" target="_blank">www.fherking.com</a></div>
</blockquote></div></div></div></div></div></font></span></div></div>
</div><br><br clear="all"><br>-- <br><div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>...---...<br><a href="http://www.fherking.com" target="_blank">WWW.FHERKING.COM</a><br>


</div></blockquote></div>
</div></div></div>