01469nas a2200145   4500008004100000245006800041210006600109260002300175520093400198100002101132700001901153700002101172700002001193856011001213       2011                        eng d00aImplementation of leaky bucket module for simulations in NS - 30 aImplementation of leaky bucket module for simulations in NS 3  c15 - 17 September 3 aSimulation has always been a valuable tool for experimentation and validation of models, architectures and mechanisms in the field of networking. In the case of the DiffServ framework, simulation is even more valuable, due to the fact that an analytical approach of mechanisms and services is infeasible because of the aggregation and multiplexing of flows. In this paper we present the implementation of a module for the extensible network simulator ns-3 in order to conduct experiments simulating a leaky bucket shaping mechanism for incoming flows, which is missing from ns-3. We describe the way the module has been implemented within the framework of the simulator and we discuss the merits of using a leaky bucket mechanism for shaping traffic. We also use the newly developed module in order to conduct experiments, verify its proper behavior and demonstrate its usefulness in studying the leaky bucket through simulation.1 aBouras, Christos1 aStamos, Kostas1 aZaoudis, Giannis1 aBaltzis, Petros  uhttps://telematics.upatras.gr/telematics/publications/implementation-leaky-bucket-module-simulations-ns-3