Question is why?.
Earlier I used opendaylight controller and works fine with this topology.


On 7/30/15, 牧紫星 <350959...@qq.com> wrote:
> broadstorm。
>
> ---原始邮件---
> 发件人: "_ _"<krzysiek.zalew...@gmail.com>
> 发送时间: 2015年07月30日 17:13:17
> 收件人: "ryu-devel"<ryu-devel@lists.sourceforge.net>;
> 主题: [Ryu-devel] Ryu controller have problem with forward packets intopology
> with two links between switches
>
>
> Welcome
> Ryu controller have problem with forward packets in topology with two
> links between switches. Below simple topology and logs from
> controllers. Maybe you know how to solve this?
>
> ---
> mininet topology
> ---
> """Custom topology example
>
> Two directly connected switches plus a host for each switch:
>
>    host --- switch === switch --- host
>
> Adding the 'topos' dict with a key/value pair to generate our newly defined
> topology enables one to pass in '--topo=mytopo' from the command line.
> """
> from mininet.topo import Topo
> class MyTopo( Topo ):
>     "Simple topology example."
>     def __init__( self ):
>         "Create custom topo."
>         # Initialize topology
>         Topo.__init__( self )
>         # Add hosts and switches
>         leftHost = self.addHost( 'h1' )
>         rightHost = self.addHost( 'h2' )
>         leftSwitch = self.addSwitch( 's3' )
>         rightSwitch = self.addSwitch( 's4' )
>         # Add links
>         self.addLink( leftHost, leftSwitch )
>         self.addLink( leftSwitch, rightSwitch )
>         self.addLink( leftSwitch, rightSwitch )
>         self.addLink( rightSwitch, rightHost )
> topos = { 'mytopo': ( lambda: MyTopo() ) }
> ---
> mininet test ping fail
> ---
> mininet> pingall
> *** Ping: testing ping reachability
> h1 -> X
> h2 -> X
> *** Results: 100% dropped (0/2 received)
>
> ---
> ryu log
> ---
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 1
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 1
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 3
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 3
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 3
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 1
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 1
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 1
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 3
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> packet in 3 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 3
> packet in 4 9a:ba:d1:da:57:ab ff:ff:ff:ff:ff:ff 2
>
> --
> Krzysiek
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


-- 
Krzysiek

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

Reply via email to