摘要:本文对无线多宿主网络和NS2的应用方法进行详细介绍,描述多宿主网络的工作原理,对无线移动自组织网络和传感器网络的巨大作用,并对NS2模拟工具的功能、应用和工作原理进行说明。
end points in the network. This did not support for interconnection heterogeneous network. Our focus is mainly on this part and creates a simple scenario in NS2 by using AODV protocol.
The second argument is on the SCTP implementation in the Multihoming Network, it is not an independent protocol. When it is functioning all the time it requests to use some other protocols. Example: Other Transport layer protocols.
The last argument is the support of the SCTP [5] is very poor in the Moblie Adhoc Network. Especially in the sensor network, where the transport verification is not so important, UDP need to be used instead of TCP for the power consumption. But SCTP is not functioning like that.
Because of all these reasons I have ignored the Steam Control transmission Protocol (SCTP) and implemented scenarios for Multihoming network by using CMU Monach group NS2 and the concepts. Basically the below idea is used in my arguments. There are four nodes using for this implementation.
Node1 and the Node2 in one network channel and Node3 and Node4 in another network channel. The packets can't send from Node1 to Node4. Because the Node1, Node2 in one channel or the network and Node2, Node3 in another channel or the network. Once the packets want to send the data from Node1 to Node4 the Node 2 and Node 3 should be configured as a bridge between these two network channels. Further more details check the figure 01 below.
Channel 1 Channel2
A.Simulation codes and set up analyisis
Implemented AODV protocol in define option instead of SCTP protocol.
set val(rp) AODV ;# routing protocol
In NS2 :
Phy/WirelessPhy set Pt ;#is for sender side,
Phy/WirelessPhy set RXThresh ;#is for receiver side
Below the commands use to be set the parameters make the transmission range 250m for two-ray ground signal propagation model.
Phy/WirelessPhy set RXThresh_ 3.65262e-10
Phy/WirelessPhy set Pt_ 0.281838
Phy/WirelessPhy set freq_ 914e+6
Create God.
set god_ [create-god val(nn)]
god_ off
god_ allow_to_stop
god_ num_data_types 1
Configure phenomenon channel and data channel
set chan_0_ [new val(chan)]
set chan_1_ [new val(chan)]
set chan_2_ [new val(chan)]
The below command use to configure Node1 and Node2 in channel-1.
ns_ node-config \
-channel chan_1_
set node_(1) [ns_ node]
node_(1) random-motion 0 ;# disable it(random-motion)
god_ new_node node_(1)
node_(1) set X_ 40
node_(1) set Y_ 50
set node_(2) [ns_ node]
node_(2) random-motion 0;# disable it.
god_ new_node node_(2)
node_(2) set X_ 50
node_(2) set Y_ 50
As same as above command, the commands below use to configure Node3 and Node4 in channel-2
ns_ node-config \
-channel chan_2_
set node_(3) [ns_ node]
node_(3) random-motion 0 ;# disable it.
god_ new_node node_(3)
node_(3) set X_ 50
node_(3) set Y_ 50
set node_(4) [ns_ node]
node_(4) r
本论文由英语论文网提供整理,提供论文代写,英语论文代写,代写论文,代写英语论文,代写留学生论文,代写英文论文,留学生论文代写相关核心关键词搜索。