Code Monkey home page Code Monkey logo

ns3's Introduction

NS3

OS: Linux

安裝教學

安裝穩定版本:

下載:https://github.com/PoYuTsai/NS3/blob/master/install/install-ns3.sh 執行安裝

sudo sh install-ns3.sh

安裝即時最新版本(才能使用802.11ax):

git clone https://github.com/nsnam/ns-3-dev-git.git
./waf configure --enable-examples
./waf

使用教學

1.把要執行的程式放入/ns-allinone-3.26/ns-3.26/scratch

2.在/ns-allinone-3.26/ns-3.26目錄 以終端機模擬打入 :sudo ./waf --run scratch/wifi-tcp

3.如果要開啟影像模擬:sudo ./waf --run scratch/wifi-tcp --vis

模擬內容

wifi-tcp.cc: 可以設定頻寬,也可以設定802.11n,802.11ac,802.11ax(這個只能在最新github上編譯的NS3才能實現),節點位置速度大小(可以固定速度向量或是隨機)。設定其他node也在連線的數量,並計算throughput,delay,封包大小,跟理論值誤差。

wifi-tcp

ns3's People

Contributors

poyutsai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.