Source: https://www.nsnam.org/docs/release/3.29/tutorial/ns-3-tutorial.pdf