afmurillo / ICS-SDN

MIT License
5 stars 5 forks source link

Unable_to_contact_remote_controller #4

Open ahmadbashusman opened 3 years ago

ahmadbashusman commented 3 years ago

Dear Andres Murillo Another issue related to the remote controller. When i run the environment as it is ( also tried modifying), but unfortunately unable to connect, I noticed that paper and fran are using ip and port numbers 192.168.56.100:5543 respectively and for the pox in utils.py file, while the ip and port numbers are 127.0.0.1:6633 in the run.py file. For the "make paper" not only that is not unable to contact the remote controller, but also it pops an error with permission denied. Kindly find the screenshots attached for both fran and paper terminal.

Screenshot 2021-03-05 at 1 30 34 PM Screenshot 2021-03-05 at 1 28 52 PM
afmurillo commented 3 years ago

This is because that topology is supposed to run on an Ubuntu machine but still using a virtual machine for MiniCPS. In this sense, the remoter sits outside of the MiniCPS topology, at an host-only interface (192.168.56.100). I'm guessing this is not the setup that you have. You could try changing the controller IP parameter in francisco-topoutils.py to localhost and the port in "run.py". You would also need to modify "controller.sh" to include such port, using the parameter "--port=6633" in the line:

~/pox/pox.py log.level --WARNING dynamic_controller

ahmadbashusman commented 3 years ago

Dear Andres Murillo Thank you for clarification. After several attempt and investigation, successfully able to make the fran folder works. But for the paper folder, it shows an error says "invalid user mininet:mininet" thisI believe is related to database connection, or since a virtual machine is involved in your experiments, this could also be a the reason.

afmurillo commented 3 years ago

Hellow Ahamd, sorry for my late response. I had a hectic month. Are you still having the issue?

ahmadbashusman commented 3 years ago

Hi Andres, keep pushing on on your life. For the experiment, yes, the issue still exist in my case though stopped attempting to find a solution for the moment. I come to a conclusion that since you are using a separated Mininet virtual machine this causes my simulation to behave in this way.

4xDannycool commented 3 years ago

@ahmad7bashir Hello, excuse me. I have met some problems and would like to refer to the code you successfully executed to “make fran”, please? Thank you .