<div dir="rtl"><div dir="ltr">thx man for reply :) <br><br>hmm. u mean, I'm creating br0 from <b>/etc/network/interfaces</b> ? that's my config <br><br><br>iface p5p1 inet manual <br> pre-up ifconfig $IFACE up<br>
pre-down ifconfig $IFACE down<br>auto br0<br>iface br0 inet static<br> address 172.20.0.14<br> network 172.20.0.0<br> netmask 255.255.255.0<br> gateway 172.20.0.1<br> bridge_ports p5p1<br> dns-nameservers 8.8.8.8<br>
<br></div><div dir="ltr">with this config, i think so ubuntu use brctrl, <br></div><div><div class="gmail_extra"><br></div><div dir="ltr" class="gmail_extra"><b>brctl show<br>bridge name bridge id STP enabled interfaces<br>
br0 8000.3085a9b07cae no p5p1</b></div><div class="gmail_extra">ovs-vsctl add-br br0<br></div><div dir="ltr" class="gmail_extra">and then use this command <b>ovs-vsctl add-br br0</b> ?<br><br></div><div dir="ltr" class="gmail_extra">
or i changing my config to below?<br><br>auto p5p1<br>iface p5p1 inet static<br> address 172.20.0.14<br> network 172.20.0.0<br> netmask 255.255.255.0<br> gateway 172.20.0.1<br> dns-nameservers 8.8.8.8<br></div>
<div dir="ltr" class="gmail_extra"> <br></div><div dir="ltr" class="gmail_extra">and then use <b>ovs-vsctl add-br br0</b>?<br></div><div class="gmail_extra"><div class="gmail_quote"><div dir="ltr">2013/9/4 Dmitri Chebotarov <span dir="ltr"><<a href="mailto:dchebota@gmu.edu" target="_blank">dchebota@gmu.edu</a>></span></div>
<blockquote class="gmail_quote" style="margin:0px 0.8ex;border-left:1px solid rgb(204,204,204);border-right:1px solid rgb(204,204,204);padding-left:1ex;padding-right:1ex">
<div dir="ltr">
<div name="divtagdefaultwrapper" style="font-size:12pt;margin:0px;font-family:Calibri,Arial,Helvetica,sans-serif">
Can you create br0 with real interfaces before you add host to ONE and use br0 in network config section? The same way you created fake br10, but use ethXX . This should work...
<div><br>
</div>
<div>You don't need brctl, OVS takes care of creating br0 with 'ovs-vsctl addbr'.<br>
<div>
<div><br>
<div style="color:rgb(40,40,40)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a> <<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>> on behalf of <a href="mailto:12navidb2@gmail.com" target="_blank">12navidb2@gmail.com</a> <<a href="mailto:12navidb2@gmail.com" target="_blank">12navidb2@gmail.com</a>><br>
<b>Sent:</b> Wednesday, September 04, 2013 6:28 AM<br>
<b>To:</b> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
<b>Subject:</b> [one-users] haveing problem with vswitch</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="rtl">
<div dir="ltr">I read openvswitch document completely about openvswitch <a href="http://opennebula.org/documentation:rel4.2:openvswitch" target="_blank">
http://opennebula.org/documentation:rel4.2:openvswitch</a><br>
<br>
</div>
<div dir="ltr">there is 2 way for using openvswitch, i can implant second way (<b><code>ovswitch_brcompat)
</code></b>but this way is deprecated<br>
<b>Bridge compatibility is deprecated and may be removed no earlier than February 2013</b><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">now but when I'm using first way, (using from openvswith without <b>
<code>brcompat </code></b>and use from brctrl instead), opennebula when deploying new vm get error.
<br>
<br>
<br>
<br>
<span style="color:rgb(153,0,0)">Wed Sep 4 06:05:28 2013 [VMM][I]: post: Executed "sudo /usr/bin/ovs-vsctl set Port vnet0 tag=550".<br>
Wed Sep 4 06:05:28 2013 [VMM][I]: ovs-ofctl: br0 is not a bridge or a socket<br>
<span>Wed Sep 4 06:05:28 2013 [VMM][E]: post: Command "sudo /usr/bin/ovs-ofctl add-flow br0 in_port=,dl_src=02:00:ac:14:04:04,priority=40000,actions=normal" failed.</span><br>
<span>Wed Sep 4 06:05:28 2013 [VMM][E]: post: ovs-ofctl: dl_src=02:00:ac:14:04:04: bad syntax for in_port</span><br>
<span>Wed Sep 4 06:05:28 2013 [VMM][E]: ovs-ofctl: dl_src=02:00:ac:14:04:04: bad syntax for in_port</span></span><br>
<br>
</div>
<div dir="ltr">the main problem is that br0 is not created with openvswitch and create with brctl :)
<br>
<br>
</div>
<div dir="ltr">but for solve this problem, I create fake bridge with openvswith <br>
<br>
# ovs-vsctl add-br br0<br>
# ovs-vsctl add-port br0 eth1<br>
# ovs-vsctl add-br br10 br0 10<br>
# ovs-vsctl list-br<br>
br0<br>
br10<br>
<br>
</div>
<div dir="ltr">so I inform to opennebula, br10 is my bridge <br>
</div>
<div dir="ltr">now problem is <span style="color:rgb(153,0,0)"><span>ovs-ofctl
</span></span>using br10 instead br0 and i get error from <span style="color:rgb(153,0,0)">
<span>ovs-ofctl . <br>
</span></span></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">in this situation, ovs-vsctl must use fake bridge (br10) and ovs-ofctl must use real bridge (br0) until anything work well
<br>
<br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br></div></div></div>