Proceedings of the 2015 Workshop on ns-3

Research Article

Epidemic routing protocol implementation in ns-3

  • @INPROCEEDINGS{10.1145/2756509.2756523,
        author={Mohammed J. F.  Alenazi and Yufei  Cheng and Dongsheng  Zhang and James P. G.  Sterbenz},
        title={Epidemic routing protocol implementation in ns-3},
        proceedings={Proceedings of the 2015 Workshop on ns-3},
        keywords={Epidemic routing protocol MANET mobile ad hoc networking delay tolerant networking DSR AODV DSDV OLSR ns-3 simulation},
  • Mohammed J. F. Alenazi
    Yufei Cheng
    Dongsheng Zhang
    James P. G. Sterbenz
    Year: 2016
    Epidemic routing protocol implementation in ns-3
    DOI: 10.1145/2756509.2756523
Mohammed J. F. Alenazi1,2, Yufei Cheng1, Dongsheng Zhang1, James P. G. Sterbenz1,3,4
  • 1: The University of Kansas, Lawrence, KS
  • 2: King Saud University, Riyadh, Saudi Arabia
  • 3: Lancaster University, Lancaster, UK
  • 4: The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong


Routing protocols play a significant role in the overall performance of ad-hoc wireless networks. Several routing protocols have been proposed for ad hoc environments. Any new proposed protocol should be compared with other routing protocols to show its performance under several scenarios. Epidemic routing was one of the first routing schemes proposed for DTNs (delay-tolerant networks). In this paper, we present our implementation of the epidemic routing protocol in the ns-3 simulator. We analyse its performance and compare with the previous ns-2 implementation. Our analysis conforms the results of the previous ns-2 implementation. Moreover, we compare our epidemic implementation to other MANET routing protocols in a delay tolerant environment and we show that epidemic routing outperforms other MANET routing protocols in terms of packet delivery at the expense of overhead and delay.