Thank you Yamahata San

Ryu experts,

Adding some notes to clarify my problem at hand.

I am trying to setup a test bed to replicate the rest-router sample app
using 2 switches and 2 hosts *without* mininet.  I am using a linux server
with multiple nic cards and open vSwitch and have created 2 switches (S1,
S2).  Then using 2 laptops to emulate my client(H1) and server(H2) as
shown in the figure below (file attached as well):


H1 (10.0.0.2)  -->  (10.0.0.1)  S1  (??)  ---  (??)  S2   (20.0.0.1)  -->
 (20.0.0.2)  H2
 
H1 default gw: 10.0.0.1

H2 default gw: 20.0.0.2
S1 default gw: S2 (192.168.0.20?)
S2 default gw: S1 (192.168.0.10?)

If I used veth or patch to connect S1 --- S2, and assign 192.168.0.10 and
192.168.0.20 respectively, would the sample rest router app work once I
configure the ryu using curl with correct ip address for S1 and S2?

I am able to ping from H1 10.0.0.2   --> S1 10.0.0.1 and 20.0.0.2 S2 -->
20.0.0.1 S1 
I am also able to ping 10.0.0.2 and 20.0.0.2 from my linux server.

I am missing soemthing basic. Any suggestions on how to troubleshoot and
what to look out for will be helpful.
I can provide the ryu, ovs-vsctl and ovs-ofctl output  and any tcpdump
traces for arp, icmp etc ...

Any advice or pointers appreciated.

Thanks
rk

On 4/1/16, 11:10 AM, "Isaku Yamahata" <[email protected]> wrote:

>Forwarding this to ryu-devel.
>
>----- Forwarded message from Raghavan Kripakaran
><[email protected]> -----
>
>Date: Thu, 31 Mar 2016 16:06:22 +0000
>Subject: Excellent RYU presentation - seek advice
>user-agent: Microsoft-MacOutlook/14.4.4.140807
>
> Yamahata San,
>
>Firstly, thanks for an excellent presentation of "RYU: SDN framework and
>Python experience" at the PyCon APAC 2013.  I watched the video and
>studied the RYU documentation.
>You got me excited to have RYU installed and try out the examples.  The
>RYU documentations were detailed, well written and  they worked.  Amazing.
>
>After successfully trying out the examples from the RYU documentation
>using RYU sample apps and mininet, I thought I'll try RYU and Open
>vSwitch on a real hardware without mininet.
>So I took a linux server having multiple ethernet NIC cards  and I
>connected 2 laptops to 2 physical ports for my linux server.  I then
>created 2 ovs-bridges,  added each NIC ports to each OVS bridge and tried
>out the ryu.app.rest_router application with RYU.  The idea was to mimic
>the mininet  "--topo=linear,2"  topology.
>
>I seek your advice and insights.   I am stuck on finding information on
>how to connect the 2 OVS bridges (veth/patch/tun).  What might be your
>advice?  Please help
>
>Basically, I want to run this demo using 2 hosts(client, server)  and 2
>ovs bridges as in:
>https://osrg.github.io/ryu-book/en/html/rest_router.html
>
>I have 2 test cases:
>
>1)  UDP/TCP packets to be switched from 10.0.0.2:6000 <-->  20.0.0.2:6000
>2)  UDP/TCP packets when sent from  10.0.0.2:00 -->  10.0.0.1:6000, the
>RYU controller to make the packet to appear to originate/destined as
>20.0.0.1:6000  -->  20.0.0.2:6000
>
>[cid:4F8CB2E3-4858-45C4-A760-A16A69F5C0AC]
>Appreciate your attention, input and pointers
>
>Thanks
>
>Regards,
>Raghavan
>
>
>
>----- End forwarded message -----
>
>-- 
>Isaku Yamahata <[email protected]>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to