dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

hosts randomly are unreachable #97

Open nasrin-seifi opened 7 years ago

nasrin-seifi commented 7 years ago

Hi, I use image of opennet on fedora and when run a simple topology everything works properly but it has problem with "wifiroaming.py" , sometimes hosts are unreachable and sometimes not! I run them in this ways: pox mininet2

what should I do? Thanks in advance.

charlesmcchan commented 7 years ago

Hi,

Is "sometime" always the "first time"? I suspect for some reason the flows might not be ready when the first ping come in. I would suggest that you first do a packet dump and see if the failed ping reach the controller.

nasrin-seifi commented 7 years ago

Hi, No, it is haphazardly sometime there is ping and sometime hosts are unreachable : new mininet new mininet2 new pox I don't know how can dump packet, but I think there is problem with pox. what's your solution? thanks.

charlesmcchan commented 7 years ago

I notice that there is no flows in the switch when the ping fails, which means the problem is probably on the controller side.

nasrin-seifi commented 7 years ago

so what should I do? what's the best command for running POX with this problem? and I must mention that there is problem only in running wifiroaming topology not in wired connection.

charlesmcchan commented 7 years ago

I would suggest you do a tcpdump on the OF control channel and see if expected packet_ins and messages are delivered to your controller