Open raghdaaljaff opened 5 years ago
@exploitthesystem
@raghdaaljaff What do you mean that the topology won't connect to the controller?
@exploitthesystem Thanks for quick reply First I wrote the load balancer algorithm the logs are Loading app LoadBalancer.py Loading app ryu.controller.ofp_handler Instantiating app ryu.controller .ofp_handler of OFHandler Instantiating app LoadBalancer.py of LoadBalancer
Then I create topology in mininet sudo mn —topo=single,6 —controller=remote,ip=ip controller,port=6633,switch=ovsk,protocol =OpenFlow13 —mac
When I write pingall H1>x x x x x H2>x x x x x H3>x x x x x and so on any help
@raghdaaljaff I'm not exactly sure why you're not seeing any traffic, but as long as you've connected the controller to the switch correctly, it should perform simple round robin load balancing. Make sure your MACs and IPs are defined exactly as in LoadBalancer.py. Host 5 and host 6 are servers. Hosts 1 through 4 only ping the virtual IP address (10.0.0.10). The switch should set forward (host to server) flows and reverse (server to host) flows correctly based on actual IPs. I don't think the switch supports a pingall operation. Maybe this tutorial can help:
https://github.com/mininet/openflow-tutorial/wiki/Learn-Development-Tools#Ping_Test
@exploitthesystem Can you tell me the all steps to write this algorithm bcoz I want to apply this round robin in mininet and I think if I follow your steps exactly I can do it ,this algorithm really important for me thanks
Regards.
On Apr 15, 2019, at 6:52 AM, Marko Ljubicic notifications@github.com wrote:
@raghdaaljaff I'm not exactly sure why you're not seeing any traffic, but as long as you've connected the controller to the switch correctly, it should perform simple round robin load balancing. Make sure your MACs and IPs are defined exactly as in LoadBalancer.py. Host 5 and host 6 are servers. Hosts 1 through 4 only ping the virtual IP address (10.0.0.10). The switch should set forward (host to server) flows and reverse (server to host) flows correctly based on actual IPs. I don't think the switch supports a pingall operation. Maybe this tutorial can help:
https://github.com/mininet/openflow-tutorial/wiki/Learn-Development-Tools#Ping_Test
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hello i create topology in mininet one switch and 6 hosts and after that i apply the loadbalancer algorithm like this sudo ryu-manager LoadBalancer.py loading app LoadBalancer.py loading app ryu.controller.ofp_handler instantiating app ryu.controller.ofp_handler of OFPHandler instantiating app LoadBalancer.py of LoadBalancer
but the topology not connect to the controller please can someone help me?