wildan2711 / multipath

Multipath routing with Ryu and Pyretic SDN Controllers
MIT License
80 stars 54 forks source link

No connectivity between hosts #3

Open dragonxtek opened 7 years ago

dragonxtek commented 7 years ago

I test your app in a linear topology without problems, but when I tried it on a topology with multipaths it doesn't reach the host.

mininet> h0 ping -c 3 h1
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
From 10.0.0.1 icmp_seq=3 Destination Host Unreachable

--- 10.0.0.2 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms

The network is the following:

mininet> net
h0 h0-eth0:s0-eth1
h1 h1-eth0:s7-eth1
s0 lo:  s0-eth1:h0-eth0 s0-eth2:s1-eth1 s0-eth3:s3-eth1 s0-eth4:s5-eth1
s1 lo:  s1-eth1:s0-eth2 s1-eth2:s2-eth1
s2 lo:  s2-eth1:s1-eth2 s2-eth2:s7-eth2
s3 lo:  s3-eth1:s0-eth3 s3-eth2:s4-eth1
s4 lo:  s4-eth1:s3-eth2 s4-eth2:s7-eth3
s5 lo:  s5-eth1:s0-eth4 s5-eth2:s6-eth1
s6 lo:  s6-eth1:s5-eth2 s6-eth2:s7-eth4
s7 lo:  s7-eth1:h1-eth0 s7-eth2:s2-eth2 s7-eth3:s4-eth2 s7-eth4:s6-eth2
controller

This is an extract of the info reported by ryu app:

Available paths from  7  to  138627926075983  :  []
Path installation finished in  2.90870666504e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  7.86781311035e-06
Available paths from  7  to  138627926075983  :  []
Path installation finished in  1.4066696167e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  6.91413879395e-06
Available paths from  7  to  138627926075983  :  []
Path installation finished in  1.21593475342e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  5.96046447754e-06
Available paths from  7  to  138627926075983  :  []
Path installation finished in  2.50339508057e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  9.05990600586e-06
Available paths from  7  to  138627926075983  :  []
Path installation finished in  1.59740447998e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  8.10623168945e-06
Available paths from  7  to  138627926075983  :  []
Path installation finished in  1.50203704834e-05
Available paths from  138627926075983  to  7  :  []
Path installation finished in  8.82148742676e-06
wildan2711 commented 7 years ago

I'm sorry there is something wrong with your switch dpid, it shouldn't be a large integer. Also, this project used OpenvSwitch version 2.5.2 which have better multipath support, so maybe try to update your OpenvSwitch.

raghdaaljaff commented 5 years ago

@wildan2711 hi i have the same error above and my ovs is 2.5.5 please can you tell me the cause ? i test the application multipath with single switch its work fine but in this topology multipath when i wrote pingall failed to test reachability