NS-2

Install

  • http://ns2onubuntu.blogspot.com/2009/11/easiest-way-to-install-ns2-on-ubuntu.html
  • Ubuntu 10.04
    • sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3F3334F
    • Add debs to /etc/apt/sources.list
      • deb http://ppa.launchpad.net/wouterh/ppa/ubuntu lucid main
      • deb-src http://ppa.launchpad.net/wouterh/ppa/ubuntu lucid main
    • sudo apt-get update
    • sudo apt-get install ns nam xgraph

Examples

  • http://nile.wpi.edu/NS/
  • http://blogold.chinaunix.net/u3/105477/article_124320_1.html

Models

  • Traffic and Application
    • Web
    • FTP
    • Telnet
    • Constant-bit Rate
    • Real Audio
  • Transport Protocol
    • unicast
      • TCP
      • UDP
      • RTP
    • multicast
      • SRM
  • Routing and queueing
    • Routing
      • Wired routing
      • ad hoc routing
      • directed diffusion
    • Queueing protocol
      • drop-tail
      • RED
      • fair queueing
  • Physical media
    • Wired
    • Wireless
    • satellites
  • http://nile.wpi.edu/NS/Figure/fig6.gif

Extension

  • 采用直接编译装载
    • 依赖源文件
    • 重新生成软件包

tags: Network NS2