[ns] Error model(Urgent) parameters
Dear NS users, Specifying the rate_ gives me the indication that the error will be constant? True? Then the random operation by ranvar, how does it effect the error model!!! The ns manual said: ranvar to specify the random variable for generating errors? thus what is the role of rate_ I need urgently to know what the difference between them is. Thank you in advance This message was sent using IMP, the Internet Messaging Program.
[ns] TCP bursts
Hi, Im doing a project in ns2 where i need to convert The smooth TCP stream into bursts.. Im suppose to do modifications to the window advertised by the receiver, but because there is no dynamic window advertisement in ns,im changing the sender to send packets in bursts.. im trying to modify the tcl code like $ns_ at 50.0 $ftp produce 100 $ns_ at 60.0 $ftp producemore 150 but when i do this im getting only one burst .after that ther is no data transfer. but what i want is for instance one burst from 50.0 to 53.0 then another from 60.0 to 63.0 etc.. However im getting only one burst.. Pls help me to solve the problem or suggest some other method of converting the TCP stream into bursts.. Its urgent.. Thank You, Amrutha.
Re: [ns] wireless node connection with a physical link
Dear Ashraf, I tried to make the script as simple as possible. When I run the tcl script I fount the following output. num_nodes is set 2 INITIALIZE THE LIST xListHead routes not yet computed routes not yet computed channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! Finished simulation. The when I run the NAM file, It shows the following message Skipping duplicate node 0 definition. Skipping duplicate node 1 definition. And, in the NAM display, it still shows 4 node instead of 2 node. Where, 2 nodes are numbered with 0 and 1. And, another 2 nodes are numbered with Roman character 'I' and 'II'. Is it the case for any wireless NAM output? I also ran other wireless example but did not find any output like this. And if I do not use a physical link, how can I understand that my code is working? At least from the NAM file with physical link, I can see the traffic is moving. Tcl script is pasted below again. Thank you, Abdul Awal. set ns [new Simulator] set val(chan) Channel/WirelessChannel set val(prop) Propagation/TwoRayGround set val(netif) Phy/WirelessPhy set val(mac) Mac/802_11 set val(ifq) Queue/DropTail/PriQueue set val(ll) LL set val(ant) Antenna/OmniAntenna set val(ifqlen) 50 ;# set val(nn) 2 ;# nb mobiles set val(rp) DSDV set val(x) [expr $val(nn) *500.0 + 100.0] set val(y) 1000 set topo [new Topography] $topo load_flatgrid $val(x) $val(y) set god [create-god $val(nn)] $ns use-newtrace set tracefd [open $dirName/unicast.tr w] $ns trace-all $tracefd set namtrace [open $dirName/unicast.nam w] $ns namtrace-all-wireless $namtrace $val(x) $val(y) $ns node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -channel [new $val(chan)] \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF set node0 [$ns node] $node0 random-motion 0 $node0 set X_ 0.0 $node0 set Y_ 400.0 $node0 set Z_ 0.0 $ns initial_node_pos $node0 20 set node2 [$ns node] $node2 random-motion 0 $node2 set X_ 800.0 $node2 set Y_ 400.0 $node2 set Z_ 0.0 $ns initial_node_pos $node2 20 set sender [new Agent/TCP] $ns attach-agent $node0 $sender set ftp [new Application/FTP] $ftp attach-agent $sender set receiver [new Agent/TCPSink] $ns attach-agent $node2 $receiver $ns connect $sender $receiver $ns at 0.0 $ftp start proc finishSimulation { } { global ns node val dirName $ns flush-trace # Exit puts Finished simulation. $ns halt } proc runSimulation {duration} { global ns finishSimulation $ns at $duration finishSimulation $ns run } runSimulation 10.0 On Tuesday 14 March 2006 20:03, Ashraf Bourawy wrote: hi Mohammad, It seems that you have mixed things up,,,but no rush,,,actually, in wireless networks you DO NOT need to set up any links between wireless nodes as you have done in your script when you set a duplex link between node0 and node2,Also, for this simple scenario I don't know why you have used hierarchical addressing instead of flat addressing???,,,the property wiredRoutin ON, is used in wireless-cum-wired type of networks, you don't have to use it herejust remove ityou need simply review your script and check those scripts in marc's tutorial,, hope this will help, Note: I marked the line which you need to change in your script,just have a look at them, -- Best regards, Ashraf Bourawy On 3/14/06, Mohammad Abdul Awal [EMAIL PROTECTED] wrote: Hi, I have started to work in mobile adhoc networks. I have installed the ns-allinone-2.27-oolsr-0.99.15. I wrote one tcl script which tries to connects 2 wireless node using a duplex link. And I attach a ftp application with one now. I ran the routing protocol DSDV or OLSR. Then I run the simulation. It works fine. But when I run the NAM file (.nam) then it shows 4 nodes instead of 2 nodes, where 2 nodes are wireless node and 2 other nodes are connected with a wired link. And when I play the NAM, it displays many warning as below. Warning: Tracefile events are not sorted by time. + -t 0.09783999 -s 0 -d 1 -p tcp -e 1040 -c 0 -i 257 -a 0 -x { 0.0.0.0 1.0.0.0 137 --- null} The above event should occur at or after -t 0.097840. I have attached my full tcl code here. Appreciate if anyone can help me. Thanks in advance, Abdul Awal. # Load the OOLSR as plugin #load-plugin ../oolsr-plugin --output $dirName/ns2agent.log multicast route #packet-drop # --- # Create a simulation, with wireless support. This is basic (see ns2 doc)
[ns] Transfer of file between nodes
Hi everyone! A quick question related to ns-2. Do you know if there is the capability in ns-2 to transmit a real file between two nodes. For example to have a specific file in one directory of the hard drive and ask the simulator to actually read and tranfer this specific file (segment it, create packets, headers etc) from one node to another (either in emulation mode or in normal/non-emulation mode)? Cheers! ___ Your Site for Swiss Maps: http://www.swissinfo-geo.org/
[ns] problem with .tr files
hi, my prob is, every time i run eg: xgraph aodv.tr it has many error in each line and i cannot have the output graph. the error says like: Error in file `aodv1.tr' at line 64368: Unknown line type Error in file `aodv1.tr' at line 64369: Unknown line type Error in file `aodv1.tr' at line 64370: Unknown line type Problems found with input data. [EMAIL PROTECTED] aodv1]$ whut should i do? here i attach my aodv.tr. please help me asap.thank you in advance.. -- Mohammed Fawaz Kamarudin
[ns] backoff decrement and transmission in 802.11e tkn code
According to section 9.9.1.3 in the IEEE 802.11e standard, one and only one of the following actions is allowed at slot boundaries: - decrement of backoff timer, or - initiate transmission, or - backoff procedure due to internal collision, or - do nothing. So, 1. Backoff counter is resumed one slot time before the AIFS expiration. 2. However, since a single MAC operation per slot is permitted (backoff decrement or packet transmission), when the backoff counter decrements to 0, the station cannot transmit immediately, but has to wait for a further backoff slot if the medium is idle, or a further AIFS expiration if the medium is busy. I think that 802.11e TKN code is a good implementation of IEEE 802.11e. However, it seems that the implementation conforms to the requirement 1, but do not to the requirement 2. Am I correct? ps. The following paper can be a good guide. Giuseppe Bianchi, Understanding 802.11e Contention-Based Prioritization Mechanisms and Their Coexistence with Legacy 802.11 Stations, IEEE Network, 2005
Re: [ns] backoff decrement and transmission in 802.11e tkn code
On Mar 15, 2006, at 1:40 PM, Jongman Heo wrote: According to section 9.9.1.3 in the IEEE 802.11e standard, one and only one of the following actions is allowed at slot boundaries: - decrement of backoff timer, or - initiate transmission, or - backoff procedure due to internal collision, or - do nothing. So, 1. Backoff counter is resumed one slot time before the AIFS expiration. 2. However, since a single MAC operation per slot is permitted (backoff decrement or packet transmission), when the backoff counter decrements to 0, the station cannot transmit immediately, but has to wait for a further backoff slot if the medium is idle, or a further AIFS expiration if the medium is busy. Hi, exactly this has been included in the new EDCA model for ns-2.28. The updated backoff code can be found in mac-timers_802_11e.cc/h. Best regards, Sven I think that 802.11e TKN code is a good implementation of IEEE 802.11e. However, it seems that the implementation conforms to the requirement 1, but do not to the requirement 2. Am I correct? ps. The following paper can be a good guide. Giuseppe Bianchi, Understanding 802.11e Contention-Based Prioritization Mechanisms and Their Coexistence with Legacy 802.11 Stations, IEEE Network, 2005
Re: [ns] backoff decrement and transmission in 802.11e tkn code
I have no knowledge about the TKN implementation. However, I don´t agree with the interpretation of item 2. Because, when the backoff counter reach 0, the station can transmit immediately, i.e., in the next slot time. The station doesn´t wait for another AIFS interval. According to section 9.9.1.3 in the IEEE 802.11e standard, one and only one of the following actions is allowed at slot boundaries: - decrement of backoff timer, or - initiate transmission, or - backoff procedure due to internal collision, or - do nothing. So, 1. Backoff counter is resumed one slot time before the AIFS expiration. 2. However, since a single MAC operation per slot is permitted (backoff decrement or packet transmission), when the backoff counter decrements to 0, the station cannot transmit immediately, but has to wait for a further backoff slot if the medium is idle, or a further AIFS expiration if the medium is busy. I think that 802.11e TKN code is a good implementation of IEEE 802.11e. However, it seems that the implementation conforms to the requirement 1, but do not to the requirement 2. Am I correct? ps. The following paper can be a good guide. Giuseppe Bianchi, Understanding 802.11e Contention-Based Prioritization Mechanisms and Their Coexistence with Legacy 802.11 Stations, IEEE Network, 2005
Re: [ns] urgent help: about heterogeneous nodes in ns2
You can call node-config twice, each with different parameters for the two kinds of nodes you want to create. -Sita hi, every body: I want to use two kinds of nodes with different transmission power and coverage radius in a single scenario, how can I config these nodes in a single tcl script. Thanks a lot, I really appreciate your help. Best Regards! Le Tian 2006-03-15 Dept. Broadband Network Research Center State Key Laboratory of Networking Switching Beijing University of Posts Communications Mail Box: 79# BUPT. Mail Code: 100876 Email:[EMAIL PROTECTED]
[ns] Does anyone has tcl scripts to test IEEE 802.11 protocol with multihop topology?
Dear friends: I want some tcl scripts to test IEEE 802.11 protocol with multihop topology. Please help me. Best regards! your sincere David
[ns] QOS of WLAN
Dear NS users, Anyone out there with the simulation codes for enhancement of QOS of WLAN for voice multimedia communication in NS2. please send an immediate responce to me. I need them for an academic work. Thank you.
[ns] IEEE 802.15.4 GTS implementation
Hi all, I am working with the IEEE 802.15.4 model included in ns-2.29 (in directory wpan). That implementation misses the parts related to GTS (Guaranteed Time Slot) access. So basically it implements only the CAP (Contention Access Period) and not the CFP (Contention-Free Period). I contacted the model's developers regarding GTS implementation and they said that someone else had asked them before about that and hence someone might have already implemented it. If anyone knows about a GTS implementation or is working on one, please let me know so that we can join forces instead of duplicating the work. Thanks, - Ahmad Khayyat
[ns] what is the relation b/w throughput and delay
hi what is the relation between the throughput and delay. r they inversly proportional
[ns] how to calculate PDR and throughput
hi how to calculate the throughput and packet delivery ratio advance tanks regards raja
[ns] How to install ns2.1b8a?
Hello, I'm having ns2.1b8a software. I have to run my code in ns2.1b8a. Is it possible to install ns2.1b8a in Linux 9.0 version. When I tried installing it, I got the following error: no rule to make target 'VERSION' needed by 'gen/version.c'. Stop ns make failed. Please someone help me -Jaya - Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now -
Re: [ns] backoff decrement and transmission in 802.11e tkn code
No. The operation of backoff decrement in 802.11e EDCA is significantly different from 802.11 DCF. In DCF, transmission occurs whenever the backoff counters reach zero. In EDCA, however, transmission occurs on the first slot boundary after the backoff counter has reached zero. STAs wait for a further AIFS expiration if only the medium is busy. As I said, at slot boudaries, decrement of backoff timer and initiation of transmission can not be performed simultaneously. Jongman Heo. 2006/3/15, [EMAIL PROTECTED] [EMAIL PROTECTED]: I have no knowledge about the TKN implementation. However, I don´t agree with the interpretation of item 2. Because, when the backoff counter reach 0, the station can transmit immediately, i.e., in the next slot time. The station doesn´t wait for another AIFS interval. According to section 9.9.1.3 in the IEEE 802.11e standard, one and only one of the following actions is allowed at slot boundaries: - decrement of backoff timer, or - initiate transmission, or - backoff procedure due to internal collision, or - do nothing. So, 1. Backoff counter is resumed one slot time before the AIFS expiration. 2. However, since a single MAC operation per slot is permitted (backoff decrement or packet transmission), when the backoff counter decrements to 0, the station cannot transmit immediately, but has to wait for a further backoff slot if the medium is idle, or a further AIFS expiration if the medium is busy. I think that 802.11e TKN code is a good implementation of IEEE 802.11e. However, it seems that the implementation conforms to the requirement 1, but do not to the requirement 2. Am I correct? ps. The following paper can be a good guide. Giuseppe Bianchi, Understanding 802.11e Contention-Based Prioritization Mechanisms and Their Coexistence with Legacy 802.11 Stations, IEEE Network, 2005 -- = Jongman Heo