Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] request. dpctl cannot add flow !!! ???

Gregory Gee gee.developer at gmail.com
Mon Apr 7 08:17:29 PDT 2014


  A few issues here.

1. Are you trying to run without a controller?

2. Is the dpctl succeeding for you?  Each switch will have its own dpctl port
number.

Greg



On Mon, Apr 7, 2014 at 2:54 AM, Hamid Tahaei <tahaei.hamid at gmail.com> wrote:

> Hello all
>
> Would you plz help. I am very new in mininet
>
> I have this topology in mininet. However, when I add some flows in flow
> table the host h1 and h2 cannot ping each other, though there is no error
> when adding dpctl add-flow.
>
> Can anyone help please????
>
>
>
> sudo mn --topo=linear,3 --mac --switch ovsk --controller=remote
>
>
>
> mininet> net
>
> c0
>
> s1 lo:  s1-eth1:h1-eth0 s1-eth2:s2-eth2
>
> s2 lo:  s2-eth1:h2-eth0 s2-eth2:s1-eth2 s2-eth3:s3-eth2
>
> s3 lo:  s3-eth1:h3-eth0 s3-eth2:s2-eth3
>
> h1 h1-eth0:s1-eth1
>
> h2 h2-eth0:s2-eth1
>
> h3 h3-eth0:s3-eth1
>
>
>
>
>
> s1 dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:2
>
> s1 dpctl add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:1
>
> s2 dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:2
>
> s2 dpctl add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:1
>
> s3 dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:2
>
> s3 dpctl add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:1
>
>
>
>
>
> mininet> pingall
>
> *** Ping: testing ping reachability
>
> h1 -> X X
>
> h2 -> X X
>
> h3 -> X X
>
> *** Results: 100% dropped (6/6 lost)
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140407/4aa295ce/attachment.html>


More information about the mininet-discuss mailing list