Ask Your Question
0

Mininet - version negotiation failed (we support version 0x01, peer supports version 0x04)**

asked 2014-10-28 10:18:55 -0700

saisujithreddy gravatar image

Controller & Mininet are on the same IP X.X.X.X

Mininet version - 21.0+

ubuntu@odl-cluster-01:~$ sudo mn --controller=remote,ip=X.X.X.X --topo tree,4 --switch ovsk,protocols=OpenFlow13

* Creating network

* Adding controller

* Adding hosts:

h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16

* Adding switches:

s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15

* Adding links:

(h1, s4) (h2, s4) (h3, s5) (h4, s5) (h5, s7) (h6, s7) (h7, s8) (h8, s8) (h9, s11) (h10, s11) (h11, s12) (h12, s12) (h13, s14) (h14, s14) (h15, s15) (h16, s15) (s1, s2) (s1, s9) (s2, s3) (s2, s6) (s3, s4) (s3, s5) (s6, s7) (s6, s8) (s9, s10) (s9, s13) (s10, s11) (s10, s12) (s13, s14) (s13, s15)

* Configuring hosts

h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16

* Starting controller * Starting 15 switches

s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15

* Starting CLI:

mininet> pingall

* Ping: testing ping reachability h1 -> X X X X X X X X X X X X X X X h2 -> X X X X X X X X X X X X X X X h3 -> X X X X X X X X X X X X X X X h4 -> X X X X X X X X X X X X X X X h5 -> X X X X X X X X X X X X X X X h6 -> X X X X X X X X X X X X X X X h7 -> X X X X X X X X X X X X X X X h8 -> X X X X X X X X X X X X X X X h9 -> X X X X X X X X X X X X X X X h10 -> X X X X X X X X X X X X X X X h11 -> X X X X X X X X X X X X X X X h12 -> X X X X X X X X X X X X X X X h13 -> X X X X X X X X X X X X X X X h14 -> X X X X X X X X ^C Interrupt

When I do Dump Flows:-

ubuntu@odl-cluster-01:~$ sudo ovs-ofctl dump-flows s1 2014-10-28T17:10:19Z|00001|vconn|WARN|unix:/var/run/openvswitch/s1.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: s1: failed to connect to socket (Broken pipe)

ubuntu@odl-cluster-01:~$ sudo ovs-ofctl -O Openflow13 dump-flows s1 OFPSTFLOW reply (OF1.3) (xid=0x2): ubuntu@odl-cluster-01:~$ sudo ovs-ofctl -O Openflow13 dump-flows s2 OFPSTFLOW reply (OF1.3) (xid=0x2): ubuntu@odl-cluster-01:~$ sudo ovs-ofctl -O Openflow13 dump-flows s2 OFPST_FLOW reply (OF1.3) (xid=0x2):

edit retag flag offensive close merge delete

Comments

The question in the title is misleading, since you seem to have solved the version mismatch problem by adding "-O OpenFlow13" to the "ovs-ofctl" commands. It looks like you receive an empty list of flows.

lori ( 2014-10-28 12:20:33 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-28 13:07:35 -0700

saisujithreddy gravatar image

updated 2014-10-28 13:23:47 -0700

Thanks Lori. regarding the protocol mismatch you were correct about the command sudo ovs-ofctl -O Openflow13 dump-flows s2 Also, I forgot to install the feature odl-l2switch in the controller. That is the reason i was not able to ping between hosts. And

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-10-28 10:18:55 -0700

Seen: 10,650 times

Last updated: Oct 28 '14