Skip to main content

Posts

Showing posts from October, 2021

AODV Protocol Modification in NS2 - NS2 Tutorial 7

AODV Protocol Modification In this post, you can learn ·        What is AODV protocol ·        How to measure the energy, node position and node speed during AODV transmission ·        To understand and implement the promiscuous mode in AODV Introduction A mobile Adhoc network is self-configurable multi-hop wireless network that will not depend on pre- existing infrastructure such as access points. A MANET contains several wireless nodes where each node may move randomly, chose to communicate with any node in its range directly. In order to communicate with any node not in its range, intermediate nodes help as routers to forward the packet to the destination. The characteristics of MANETs are energy constrained, multi-hop, dynamic topology, no central authority and device heterogeneity. A node can join any network and can leave the network anytime. Due to this higher mobility, MANETs exhibit dynamic nature in forming the topology. Basically, a MANET is self-organized, self-

Wireless Networks in NS2 - NS2 Tutorial 6

Wireless Networks In this post: ·        Introduction to Wireless networks ·        Tcl scripts for various wireless networks Unlike Wired networks, wireless networks are a little tricky in dealing with the network properties. Since wireless nodes have radio, physical layer, Mac (Medium Access Control), Antenna, etc. Every parameter of those should be addressed when configuring wireless networks. NS provides a way to handle these properties through a construct called node-config. The node configuration in ns2 is a special task in which the number of nodes can be configured for a set of parameters. The following table tells about the node configuration parameters as defined in the  ~ns-2.35/tcl/ns-lib.tcl ·        The readers are requested to refer the  ns-lib.tcl  file for more information. 6.1 Wireless Node Configuration The following table shows the complete node configuration that ns supports or provides. The wireless nodes may be configured with all the parameters g