[P4-dev] simple_switch on mininet sends all to port 0

Regis Martins regisftm at gmail.com
Fri Apr 28 20:47:03 EDT 2017


Hello everyone!

I'm trying to run the 1sw_demo.py using simple_switch.

sudo python 1sw_demo.py --behavioral-exe /usr/local/bin/simple_switch
--json ../../switch/p4-build/bmpd/switch.json

It starts mininet with no problem... however no ping between h1 and h2.

Looking in the nanomsg I could see that all packets are sent to port_out:
0, which does not exists.


mininet> pingall
*** Ping: testing ping reachability
h1 -> X

type: PACKET_IN, switch_id: 0, cxt_id: 0, sig: 8913935704055548682, id: 13,
copy_id: 0, port_in: 1
...
type: PACKET_OUT, switch_id: 0, cxt_id: 0, sig: 8913935704055548682, id:
13, copy_id: 0, port_out: 0


h2 -> X

type: PACKET_IN, switch_id: 0, cxt_id: 0, sig: 7739991354702958702, id: 14,
copy_id: 0, port_in: 2
...
type: PACKET_OUT, switch_id: 0, cxt_id: 0, sig: 7739991354702958702, id:
14, copy_id: 0, port_out: 0

Any clue about what is happening?

Thank you so much,


*Regis Martins*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170428/c500ddc5/attachment-0002.html>


More information about the P4-dev mailing list