Skip to main content

Reinforcement Learning Based Routing in Software Defined Network

  • Conference paper
  • First Online:
Advances in Distributed Computing and Machine Learning

Abstract

The traditional routing algorithm employs distributed approach for path updates, where the convergence time is higher. The networking systems complexity is growing due to increasing cloud services, Internet of Things (IoT) applications, video streaming, and mobility enabled to the internet users. The drawback is the varying QoS requirements by the internet users are not meet. Machine learning enables the embedding of artificial intelligence into the system to handle complex networks. The traffic dynamics, complex network stacks, and mobility demand network programmability to be augmented into the traditional approach. In this paper, reinforcement learning (RL) algorithm for routing in Software Defined Networks (SDN) is proposed. The link-state parameters are used for making decision in routing by capturing network environment updates dynamically. The SDN platform is used to obtain the global view of the network and install the optimal paths in the switch/routing devices. The challenge is collecting the parameters for link-state changes in the network dynamically and calculating the reward value for decision making. The emulation is performed using real-time network topologies. The results obtained are promising compared to the traditional link-state algorithm. The RL algorithm to determine path enables the learning agent to learn the route over time (training time). In the testing phase time taken to find the path is n-1 comparisons for single source and destination pair where ‘n’ is the number of forwarding devices in the topology. The Q-learning algorithm is applied to select the best policy for finding the path using the learning agent and network environment specific Q-values.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Azzouni A, Boutaba R Pujolle G (2017) NeuRoute: predictive dynamic routing for software-defined networks. In: 2017 13th International conference on network and service management (CNSM), Tokyo, pp 1–6

    Google Scholar 

  2. Malik A et al (2020) Smart routing: towards proactive fault-handling in software-defined networks. Comput Networks 170(2020):107104

    Google Scholar 

  3. Yu C et al (2018) DROM: optimizing the routing in software-defined networks with deep reinforcement learning. IEEE Access 6(2018):64533–64539

    Google Scholar 

  4. Mammeri Z (2019) Reinforcement learning based routing in networks: review and classification of approaches. IEEE Access 7:55916–55950

    Article  Google Scholar 

  5. Stampa G et al (2017) A deep-reinforcement learning approach for software-defined networking routing optimization. ArXiv abs/1709.07080

    Google Scholar 

  6. Quang PTA et al (2018) Deep reinforcement learning based QoS-aware routing in knowledge-defined networking. QSHINE

    Google Scholar 

  7. Al-Jawad A et al LearnQoS: a learning approach for optimizing QoS over multimedia-based SDNs. In: 2018 IEEE international symposium on broadband multimedia systems and broadcasting (BMSB)

    Google Scholar 

  8. Yao H, Mai T, Xu X, Zhang P, Li M, Liu Y (2018) NetworkAI: an intelligent network architecture for self-learning control strategies in software defined networks. IEEE Internet Things J 5(6):4319–4327

    Article  Google Scholar 

  9. Chavula J, Densmore M, Suleman H (2016) Using SDN and reinforcement learning for traffic engineering in UbuntuNet Alliance. In: 2016 international conference on advances in computing and communication engineering (ICACCE), Durban, pp 349–355

    Google Scholar 

  10. Mao Q, Hu F, Hao Q (2018) Deep learning for intelligent wireless networks: a comprehensive survey. In: IEEE Commun Surv Tutorials 20(4):2595–2621, Fourthquarter 2018

    Google Scholar 

  11. Rafique D, Velasco L (2018) Machine learning for network automation: overview, architecture, and applications [Invited Tutorial]. IEEE/OSA J Opt Commun Networking 10(10):D126–D143

    Article  Google Scholar 

  12. Assefa BG, Ozkasap O (2018) MER-SDN: machine learning framework for traffic aware energy efficient routing in SDN. In: 2018 IEEE 16th IEEE international conference on dependable, autonomic and secure computing, Athens, pp 974–980

    Google Scholar 

  13. Shukla A et al Runtime verification of P4 switches with reinforcement learning. (NetAI’19). Association for Computing Machinery, New York, NY, USA, pp 1–7

    Google Scholar 

  14. Al-Jawad A, Shah P, Gemikonakli O, Trestian R (2018) LearnQoS: A learning approach for optimizing QoS over multimedia-based SDNs. In: 2018 IEEE international symposium on broadband multimedia systems and broadcasting (BMSB), Valencia, pp 1–6

    Google Scholar 

  15. Casas-Velasco DM, Rendon OMC, da Fonseca NLS (2021) Intelligent routing based on reinforcement learning for software-defined networking. IEEE Trans Netw Serv Manage 18(1):870–881

    Article  Google Scholar 

  16. Raikar MM et al (2020) Software defined internet of things using lightweight protocol. Procedia Comput. Sci. 171:1409–1418, ISSN 1877-0509

    Google Scholar 

  17. Raikar MM et al (2020) Data traffic classification in software defined networks (SDN) using supervised-learning. Procedia Comput Sci 171:2750–2759

    Google Scholar 

  18. Mulla MM, Raikar MM, Meghana MK, Shetti NS, Madhu RK (2019) Load balancing for software-defined networks. In: Sridhar V, Padma M, Rao K (eds) Emerging research in electronics, computer science and technology. Lecture Notes in Electrical Engineering, vol 545. Springer, Singapore.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Meenaxi M. Raikar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Raikar, M.M., Meena, S.M. (2022). Reinforcement Learning Based Routing in Software Defined Network. In: Rout, R.R., Ghosh, S.K., Jana, P.K., Tripathy, A.K., Sahoo, J.P., Li, KC. (eds) Advances in Distributed Computing and Machine Learning. Lecture Notes in Networks and Systems, vol 427. Springer, Singapore. https://doi.org/10.1007/978-981-19-1018-0_16

Download citation

Publish with us

Policies and ethics