---
abstract: 'We present the Epidemic routing protocol implementation in ns-3. It is a full-featured DTN protocol in that it supports the message abstraction and store-and-haul behavior. We compare the performance of our Epidemic routing ns-3 implementation with the existing implementation of Epidemic in the ONE simulator, and discuss the differences.'
author:
- 'Justin P. Rohrer and Andrew N. Mauldin'
bibliography:
- 'wns3.bib'
- '../bib/jprohrer.bib'
- '../bib/master.bib'
- '../bib/rfc.bib'
title: |
    Implementation of Epidemic Routing with\
    IP Convergence Layer in ns-3
---

&lt;ccs2012&gt; &lt;concept&gt; &lt;concept\_id&gt;10003033.10003039.10003045.10003046&lt;/concept\_id&gt; &lt;concept\_desc&gt;Networks Routing protocols&lt;/concept\_desc&gt; &lt;concept\_significance&gt;500&lt;/concept\_significance&gt; &lt;/concept&gt; &lt;concept&gt; &lt;concept\_id&gt;10010147.10010341.10010342&lt;/concept\_id&gt; &lt;concept\_desc&gt;Computing methodologies Model development and analysis&lt;/concept\_desc&gt; &lt;concept\_significance&gt;500&lt;/concept\_significance&gt; &lt;/concept&gt; &lt;/ccs2012&gt;

Introduction
============

In this work we present the implementation of the Epidemic routing protocol [@vahdat:2000:ERF] in ns-3 [@ns3:www]. While several routing protocols are available in ns-3, it does not currently include any protocols, and development of such protocols typically proceeds with other simulators, such as The ONE simulator [@Keranen:2009:OSD:1537614.1537683]. In various routing simulation efforts [@pospischil:2017:MRO; @rohrer:2017:EOG; @rohrer:2016:GAR] we have encountered the need to simulate both s and s in the same simulator, and so have developed an architecture for integrating the two. Since there are no other DTN routing protocols in ns-3, we evaluate our results by comparing against 