A prior layer-2 routing algorithm-D 2 ENDIST demonstrates advantages in throughput improvement, reroute period and failure recovery. Moreover, with the invention of software-defined networking (SDN), a revolutionary networking concept, dynamic routing protocols can embrace more flexible policy on per-flow basis. However, due to runtime complexity of dynamic routing, many issues on the practicality emerge and await to be resolved. Therefore, in this paper, we first apply D 2 ENDIST to a SDN architecture and compare performances between dynamic-routing and flow-control mechanisms in a OpenFlow-based cloud network. Then, the flow-migration (FM) scheme, showing a better flow-control management, can be combined with D 2 ENDIST, and evolved into D 2 ENDIST-FM. At last, experimental results demonstrate that D 2 ENDIST-FM enables better feasibility in real-world applications, throughput improvement, sensitivity to reroute period and reduction in failure recovery time. 978-1-4799-0568-3/13/$31.00 c 2013 IEEE