Re: Openflow on XEN
Hi,
First, check the routes on each bridge, it is recommended to put data
and control in a different subnets, then check how virtual interfaces
are connected, by default each VM will have a virtual interface
connected to each bridge, so if you use xenbr0 for control be sure to
use eth1 (which is connected to xenbr1) on each VM for data traffic.
Hope that helps,
Ibrahim
Date: Tue, 31 Jul 2012 15:20:40 -0400
From: vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: nick.bastin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; nox-dev-l/puERxW6IFAfugRpC6u6w@public.gmane.org
CC: openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org
Subject: Re: [openflow-discuss] Openflow on XEN
Hi All,
using XCP (Xen Cloud Platform) which comes with openvswitch - I was able to start 2 VM's and configure the openvswitch to speak to nox. I didn't need to uninstall the default bridge etc. just executed the commands ovs-vsctl set-controller /
Only issue is both the outbound traffic from VM's and control traffic to NOX goes on same eth0 (xenbr0).
Ideally, I would like to use eth0 (xenbr0) for openflow control traffic and eth1(xenbr1) connected directly to an software based openflow switch to send/recv vm's traffic. But, this is not working.
Thanks a lot for your help.
Regards,
Vishal
(p.s., not really a NOX question, but just cross posting if someone has already solved openvswitch configuration for openflow on xen or xen cloud platform)
On Mon, Jul 30, 2012 at 3:49 PM, Vishal
<vishal.kr.singh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
After installing XEN and few VM's running, I have following interfaces:
xenbr0, vif1.0...., and virbr0.
Now, I can compile openvswitch from tar ball. From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?
Basically, I want to know - what is the next step to do after compiling openvswitch ? I am able to run openvswitch with nox on linux with multiple physical ports.
Thanks a lot,
Vishal
On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin
<nick.bastin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
In what environment? XCP and XenServer both come with OVS and
ovs-vsctl. If you are building your own XenSource-based solution,
obviously is incumbent upon you to provide OVS yourself.
--
Nick
_______________________________________________
openflow-discuss mailing list
openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
<div><div dir="ltr">
<div dir="ltr">Hi,<br><br>
First, check the routes on each bridge, it is recommended to put data
and control in a different subnets, then check how virtual interfaces
are connected, by default each VM will have a virtual interface
connected to each bridge, so if you use xenbr0 for control be sure to
use eth1 (which is connected to xenbr1) on each VM for data traffic.<br><br>Hope that helps,<br><br>Ibrahim<br><br><br><div>
<div></div>Date: Tue, 31 Jul 2012 15:20:40 -0400<br>From: vishal.kr.singh@...<br>To: nick.bastin@...; nox-dev@...<br>CC: openflow-discuss@...<br>Subject: Re: [openflow-discuss] Openflow on XEN<br><br>Hi All,<br><br>using XCP (Xen Cloud Platform) which comes with openvswitch - I was able to start 2 VM's and configure the openvswitch to speak to nox. I didn't need to uninstall the default bridge etc. just executed the commands ovs-vsctl set-controller / <br><br>Only issue is both the outbound traffic from VM's and control traffic to NOX goes on same eth0 (xenbr0).<br><br>Ideally, I would like to use eth0 (xenbr0) for openflow control traffic and eth1(xenbr1) connected directly to an software based openflow switch to send/recv vm's traffic. But, this is not working. <br><br>Thanks a lot for your help. <br><br><br>Regards,<br>Vishal<br>(p.s., not really a NOX question, but just cross posting if someone has already solved openvswitch configuration for openflow on xen or xen cloud platform)<br><br><div class="ecxgmail_quote">On Mon, Jul 30, 2012 at 3:49 PM, Vishal <span dir="ltr"><<a href="mailto:vishal.kr.singh@...">vishal.kr.singh@...</a>></span> wrote:<br><blockquote class="ecxgmail_quote">
After installing XEN and few VM's running, I have following interfaces: <br><br>xenbr0, vif1.0...., and virbr0.<br><br>Now, I can compile openvswitch from tar ball. From what I understand, I can replace - the xen bridge with openvswitch bridge ? but I am not sure, if that allows me to enable openflow ?<br><br>Basically, I want to know - what is the next step to do after compiling openvswitch ? I am able to run openvswitch with nox on linux with multiple physical ports.<br><br>Thanks a lot,<br>Vishal<div class="ecxHOEnZb"><div class="h5">
<br><br><div class="ecxgmail_quote">
On Fri, Jul 27, 2012 at 5:25 PM, Nicholas Bastin <span dir="ltr"><<a href="mailto:nick.bastin@...">nick.bastin@...</a>></span> wrote:<br><blockquote class="ecxgmail_quote">
<div>On Fri, Jul 27, 2012 at 11:22 PM, Vishal <<a href="mailto:vishal.kr.singh@...">vishal.kr.singh@...</a>> wrote:<br>
> Whats the best/easiest way to achieve Openflow on XEN?<br>
><br>
> Also, Openvswitch has ovsctl as well as ofctl.<br>
><br>
> But, XEN comes with its own script using brctl.<br><br>
</div>In what environment? XCP and XenServer both come with OVS and<br>
ovs-vsctl. If you are building your own XenSource-based solution,<br>
obviously is incumbent upon you to provide OVS yourself.<br><br>
--<br>
Nick<br>
</blockquote>
</div>
<br>
</div></div>
</blockquote>
</div>
<br><br>_______________________________________________
openflow-discuss mailing list
openflow-discuss@...
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss</div>
</div>
</div></div>