On Fri, 19 Oct 2018 23:56:38 +0900,
Pynbiang Hadem wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> Hi,
> 
> I am running two VMs; *VM1* and *VM2*. Each VM has a simple topology as
> follows.
> 
>        *VM1:*              * VM2:*
>        ====                                       ====
> h1------s1--------s2 <--------> s4--------s3---------h3
>             |                                              |
>            h2                                           h4
> 
> I am using *internal network* to connect the two VMs.
> VM1 has an internal adapter with IP: 192.168.1.1
> VM1 has an internal adapter with IP: 192.168.1.254
> 
> I'm  using a GRE tunnel in the mininet python script as below:
> # Configure the GRE tunnel On VM1:
> s2.cmd('ovs-vsctl add-port s2 s2-gre1 -- set interface s2-gre1 type=gre
> options:remote_ip=192.168.1.1')
> 
> # Configure the GRE tunnel On VM2:
> s4.cmd('ovs-vsctl add-port s4 s4-gre1 -- set interface s4-gre1 type=gre
> options:remote_ip=192.168.1.254')
> 
> If i run (controller -v ptcp:6633) or (sudo ryu-manager --verbose
> ryu/app/simple_switch_13.py) as controller in VM1 and VM2, i am able to
> ping from h1 to 10.0.3.3(h3 on VM2).
> 
> However, when i run (sudo ryu-manager --verbose ryu/app/rest_router.py) i
> am not able to ping from h1 to to 10.0.3.3(h3 on VM2).

They differ how L2 switching is performed.
AFAIK rest_router does L2 switching using OFPP_NORMAL, while
simple_switch_13 implements the switching logic.

I have no idea why OFPP_NORMAL doesn't work in your setup.
Please use tcpdump, ovs-ofctl dump-flows, etc. to find where your
packets are dropped to debug the problem.

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to