step 2 產生以下畫面
step 3 建立節點
step 4 建立四個節點
step 5 按住節點拖拉到想要的位置
step 6 建立連線
step 7 點兩下連線即可設定其參數,如下所示
step 8 將所有連線都設定完成
step 9 建立ftp連線,點選節點n0---->Insert----->Transport----->TCP Tahoe
step 10 節點n3---->Insert----->Transport----->TCP Sink
step 11 點選tcp0---->Insert----->Traffic----->FTP,建立FTP應用程式
step 12 建立tcp0與sink0之間的連線
step 13 在n1上建立UDP agent,n3上建立Null,並建立CBR應用程式
step 14 連點cbr0設定參數
step 15 設定程式一些相關時間 Configuration---->Scenario
step 16 按下Add Row設定相關資料,Time也是必須自行輸入
step 17 設定模擬過程紀錄檔名稱
step 18 儲存project檔
step 19 產生TCL檔
step 20 觀看TCL程式
step 21 執行模擬 開啟 cygwin --->輸入(cd ns-allinone-2.29/ns-2.29/book/lab2/)--->enter--->輸入(ns.exe sim.tcl)---->enter

沒有留言:
張貼留言