0

I made a topology on Mininet with 2 hosts and diffrent switches, I need to ping from host 1 to host 2 using different paths to compare performances.

So far I wrote a python script for Topology discovery. But My issue is how to define a static route on ryu-controller?

asked Jun 1, 2023 at 13:33

1 Answer 1

0

You can define that using the addController command in your py script file, defining the controller name, for example, c0, an Ip address to the controller, and the port number. Here is a sample:

net.addController('c0', controller=Remotecontroller, ip=`127.0.0.1`, port=6653)
answered Aug 1, 2023 at 8:57
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.