2017-05-20 21 views
0

단일 시뮬레이션에서 다른 802.11 표준을 실행/시뮬레이션 할 수 있습니까? 예 : 단일 시뮬레이션에서 802.11b 및 802.11g 실행/시뮬레이션.802.11 in NS2.35

특별한 구성을해야합니까?

답변

0

구글, NS2 802.11과 802.11 https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+802.11b+and+802.11g

http://network-simulator-ns-2.7690.n7.nabble.com/802-11g-b-implementation-in-NS2-td26003.html

set opt(chan)   Channel/WirelessChannel ;# channel type 
set opt(prop)   Propagation/TwoRayGround ;# radio-propagation model 
set opt(netif)   Phy/WirelessPhy   ;# network interface type 
set opt(mac)   Mac/802_11     ;# MAC type 
set opt(ifq)   Queue/DropTail/PriQueue ;# interface queue type 
set opt(ll)    LL       ;# link layer type 
set opt(ant)   Antenna/OmniAntenna  ;# antenna model 
set opt(ifqlen)   50       ;# max packet in ifq 
set opt(adhocRouting) DSDV      ;# routing protocol 
... 

Mac/802_11 set SlotTime_   0.000020  ;# 20us 
Mac/802_11 set SIFS_    0.000010  ;# 10us 
Mac/802_11 set PreambleLength_ 144    ;# 144 bit 
Mac/802_11 set PLCPHeaderLength_ 48    ;# 48 bits 
Mac/802_11 set PLCPDataRate_  1.0e6   ;# 1Mbps 
Mac/802_11 set dataRate_   11.0e6   ;# 11Mbps 
Mac/802_11 set basicRate_   1.0e6   ;# 1Mbps 
Mac/802_11 set RTSThreshold_  3000   ;# Use RTS/CTS for packets larger 3000 bytes 

한 시뮬레이션에 하나 개 이상의 MAC 유형을 사용하여 예제가 있습니다 : NIST-MOB

# Topology scenario: 
    # 
    #         bstation802(3.0.0)->) 
    #         /
    #        /  
    # router0(1.0.0)---router1(2.0.0)-----------bstation80216(4.0.0)   +------------------------------------+ 
    #         \         + iface1:802.11(3.0.1)|    | 
    #         \          +---------------------+ MutiFaceNode | 
    #         rnc(0.0.0)       + iface0:UMTS(0.0.2) | (5.0.0)  | 
    #          |         +---------------------+    | 
    #         bstationUMTS(0.0.1)->)    + iface2:80216(4.0.0) |    |  
    #          +---------------------|   | 
    #          + iface:LTE(0.0.3) |   |  
    #            +---------------------+--------------+  
    # 1 Multiface node. 
.  
. 
. 
     # 802.11  
     Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set cost80211_ [lindex $argv 3] 
     Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set energy80211_ [lindex $argv 4] 

    #802.16 
     Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set cost80216_ [lindex $argv 5] 
     Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set energy80216_ [lindex $argv 6] 
     Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set PER80216_ [lindex $argv 7] 

정보 http://www.linuxquestions.org/questions/tags/nist-mob/