Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Not able to ping between hosts from Mininet and ODL Helium

asked 2014-11-09 09:05:31 -0700

Hi I downloaded ODL Helium( and I am trying to get l2switch application working to be able to ping between hosts created from Mininet.

I installed the following from Karaf: feature:install odl-l2switch-all feature:install odl-openflowplugin-all feature:install odl-dlux-core

I created following topology from Mininet: sudo mn --controller=remote,ip= --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow10

After I try "pingall" from Mininet, this is what I see in DLUX. I am able see the switches as well as the hosts connected to switches. The ping itself does not work. I also dont see any flows installed, I assume thats why the ping itself does not work.

In Hydrogen release, with simpleforwarding application, I was able to get ping working.

Appreciate any help on this.

Thanks Sreenivas

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2014-11-09 19:32:45 -0700

I tried with Openflow11, no luck. In Hydrogen release, simpleforwarding application runs by default. Is that the case with Helium as well?

Thanks Sreenivas

edit flag offensive delete publish link more


There was no need for the simple-forwarding application as l2switch should have replaced that. ODL only support 1.0 and 1.3, please try with OpenFlow13, (This is what we test in Integration). If work can you open a bug on L2Switch about unable to support OpenFlow1.0

Chris O'Shea ( 2014-11-09 23:17:45 -0700 )edit

Hi Chris I have tried with Openflow 1.3 and I see similar result(ping not working) Started mininet with: sudo mn --controller=remote,ip= --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow13 Wondering if I am missing any step. Just to make sure that everything is fine with mininet side, i started Hydrogen virt edition and I was able to ping and see the flows. Thanks Sreenivas

Sreenivas ( 2014-11-10 00:21:47 -0700 )edit

what is the cmd and output of the dump-flows cmd you are running when you notice no flows are installed? At this point, I think you might need to try a packet capture to see the flow_mods being sent and if there is some kind of rejection from OVS.

jamoluhrsen ( 2014-11-10 08:58:41 -0700 )edit

Hi I tried capturing the following info: When I got flows from gui, I looked at logs/webaccess* log file for REST api, this is what I saw: 2014-11-10 22:59:16.360 IST - [] - OPTIONS /controller/nb/v2/staticroute/default/routes HTTP/1.1 2014-11-10 22:59:16.390 IST - [] - OPTIONS /controller/nb/v2/containermanager/containers HTTP/1.1 2014-11-10 22:59:17.072 IST - [] - OPTIONS /controller/nb/v2/flowprogrammer/default HTTP/1.1 2014-11-10 22:59:17.123 IST - [] - GET /controller/nb/v2/flowprogrammer/default HTTP/1.1 2014-11-10 22:59:17.227 IST - [] - OPTIONS /controller/nb/v2/connectionmanager/nodes HTTP/1.1 Also, saw these errors when I did the log:display from Karaf: 2014-11-10 23:11:05,575 | ERROR | OFmsgProcessor-3 | TicketProcessorFactoryImpl | 179 - org.opendaylight.openflowplugin - 0.0 ...(more)

Sreenivas ( 2014-11-10 09:43:33 -0700 )edit

Na that just the GUI trying to connect to some API's that you haven't installed, but they're not needed. In the GUI do you see the links? or just the switch and the host.

Chris O'Shea ( 2014-11-10 09:57:02 -0700 )edit

answered 2014-11-09 17:17:23 -0700

Seunghyeon gravatar image

I think hellium can not support Openflow1.0 ver. I dont know why this problem occurs ( I havent tested yet) But, i supposed to expect the the reason is OF version. How about change sudo mn --controller=remote,ip= --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow10 => to sudo mn --controller=remote,ip= --mac --topo=linear,3 --switch ovsk,protocols=OpenFlow11 ?

edit flag offensive delete publish link more


In Helium Architecture , This is clearly mention that Helium support OF10 and OF13 . I observed that destination host is not getting any ARP request. In Hydrogen ODL broadcast ARP request by which destination resolve the arp . After this Controller push the flows on switches. I think some more feature is to be installed. @ODLTEAM -- Any comment???

devverma ( 2014-11-11 05:41:19 -0700 )edit

@devverma, Little more issue is need, if you look at all the comments in the other answer you see that upgrade the OVS fix this issue.

Chris O'Shea ( 2014-11-11 08:23:33 -0700 )edit

I am using OVS 1.4.6 to which version, should I suppose to upgrade OVS. @Chris : Can you please put some light on why ping is not working???

devverma ( 2014-11-12 01:28:18 -0700 )edit

I have upgraded my OVS to 2.1.2 and made the topology of mn --controller=remote,ip= --mac --topo=linear,3 . But unfortunately DLUX topology page is not showing anything and my ovs-vsctl also not showing controller connected as true.

devverma ( 2014-11-12 04:01:31 -0700 )edit

Which features do you have installed? feature:list -i also just check that the controller is listening on 6633 and 6653.

Chris O'Shea ( 2014-11-12 06:43:50 -0700 )edit

answered 2015-08-30 23:25:21 -0700

Jon Castro gravatar image

If you want hosts being reachable by ping, then you must ensure ARP Handler is enabled in proactive flood mode.

Go to /opt/bvc/controller/etc/opendaylight/karaf/54-arphandler.xml file and ensure proactive flood mode is enabled. This will require to restart the controller in case of change.


edit flag offensive delete publish link more

answered 2015-09-08 08:36:24 -0700

zaccantte gravatar image

Hi everyone,

I need to catch the flows between pings to a treatment, which java class i could using in the Helium version. In Hydrogen version i able to through to implement IlistenDataPacket.

Can someone help me?

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

Question Tools

1 follower


Asked: 2014-11-09 09:05:31 -0700

Seen: 3,011 times

Last updated: Sep 08 '15