Protocols Used in NS2

Protocols Used in NS2 is a set of rules that governs and also a communication between any two or a group of people or device.

Different types of  Protocol There are,

  • Network protocols.
  • Routing protocols.
  • MAC protocols.

Network Protocols:

Networking protocols are designed to work on various network layers. The working functions of these layers are based on the networking model.


Types of network protocols used in NS2 Projects:

  • TCP.
  • UDP.
  • IP.
  • SMTP.
  • FTP.
  • HTTP.
  • Telnet.
  • DHCP.
  • PING.
  • ICMP.
  • IGMP.
  • RIP.
  • BGP.
  • SNMP.
  • RPC.
  • and also ARP.

Domain areas:

  • Networking.
  • Information forensic network security.
  • and also in Network security.

Routing Protocols:

  The main aim of routing protocol is how the routers can also communicate and able to share their information with each other and also identify specific path between them.

  • Proactive routing protocol.
  • Reactive routing-protocol.
  • And also in Hybrid routing protocol.

Proactive routing protocol:

  All the nodes in the network are manages their information in the form of routing table.

  • Optimized Link State Routing (OLSR).
  • Topology Broadcast based on also Reverse Path Forwarding (TBRPF).
  • Fish eye state routing (FSR).
  • Destination –Sequenced also a Distance Vector (DSDV).
  • Landmark Routing Protocols also (LANMAR ).
  • Cluster head gateway Switch Routing Protocol (CGSR).

Reactive routing protocols:

Reactive routing protocols are also the On demand routing protocols for wireless ad hoc routing.

  • Ad Hoc On- Demand Distance Vector (AODV).
  • Dynamic Source Routing (DSR).
  • And also in Temporally Ordered Routing Algorithm (TORA).


  • Wireless sensor networks.
  • Mobile ad hoc networks.
  • Wireless communication.
  • And also Mobile computing.

Hybrid routing protocols:

Hybrid routing protocols develop, which use a mix of both proactive and also reactive routing protocols. The basic idea behind hybrid routing protocols is to use proactive routing mechanism in small areas also to reduce overheads and delays also reactive routing for the rest of the network

  • Zone Routing Protocol (ZRP).
  • Wireless Ad Hoc Routing Protocol (WARP).


  • Wireless sensor networks.
  • Mobile ad hoc networks.
  • Wireless communication.
  • And also in Mobile computing.