[ns] how to send the packet from MS to RS and then RS to BS in wimax
How to create the relay station for wimax in NS 2.31? Relay station must be mobile node or base station? Please tell me how to sent the packet from mobile station to relay station and then relay station to base station in wimax? -- View this message in context: http://old.nabble.com/how-to-send-the-packet-from-MS-to-RS-and-then-RS-to-BS-in-wimax-tp30394651p30394651.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] how we can add more than one node in wifi_wimax.tcl nist mobility package
Please tell me how to create one extra node in wimax? -- View this message in context: http://old.nabble.com/how-we-can-add-more-than-one-node-in-wifi_wimax.tcl-nist-mobility-package-tp28645884p30394874.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] NS2 trace mac or id ???
Hi all, I have a little confusion in the new trace file of NS2: this is my log file: rnc: tcl=_o17; id=0; addr=0.0.0 bsUMTS (NodeB): tcl=_o31; id=1; addr=0.0.1 *** tcl=_o73 ; id=2; addr=0.0.2 *** tcl=_o100 ; id=3; addr=0.0.3 *** tcl=_o127 ; id=4; addr=0.0.4 *** router0: t cl=_o151; id=5; addr=1.0.0 *** router1: tcl=_o159; id=6; addr=2.0.0 *** bstation802: tcl=_o255; id=10; addr=3.0.0 *** tcl=_o299 ; id=11; addr=3.0.1 *** tcl=_o327 ; id=12; addr=3.0.2 *** tcl=_o355 ; id=13; addr=3.0.3 INITIALIZE THE LIST xListHead bstation802_16: tcl=_o384; id=14; addr=4.0.0 *** tcl=_o410 ; id=15; addr=4.0.1 *** tcl=_o440 ; id=16; addr=4.0.2 *** tcl=_o470 ; id=17; addr=4.0.3 multiFaceNode(s) has/have been created 5.0.1 multiFaceNode(s) has/have been created 5.0.2 multiFaceNode(s) has/have been created 5.0.3 At 0.00 in 3.0.0 MIH is adding mac 8 At 0.00 in 4.0.0 MIH is adding mac 12 At 0.00 in 5.0.1 MIH is adding mac 0 At 0.00 in 5.0.1 MIH is adding mac 9 At 0.00 in 5.0.1 MIH is adding mac 13 At 0.00 in 5.0.2 MIH is adding mac 0 At 0.00 in 5.0.2 MIH is adding mac 10 At 0.00 in 5.0.2 MIH is adding mac 14 And my trace file is: d -t 21.060065960 -Hs 10 -Hd 12582914 -Ni 10 -Nx 100.00 -Ny 100.00 -Nz 0.00 -Ne -1.00 -Nl IFQ -Nw --- -Ma 0 -Md a -Ms 8 -Mt 800 -Is 4194304.1 -Id 12582914.0 -It cbr -Il 1024 -If 0 -Ii 12035 -Iv 29 -Pn cbr -Pi 3987 -Pf 0 -Po 0 Is the HS =10 is the id of node in TCL or the MAC value ic C++ ?? It's really important because in the case of id in TCL it is refereded to BS station , and if the case of MAC in C++ it is refered to Wifi Interface in the mobile (Two different nodes). thank you for your help Regards ElHadi
[ns] Transmit packets
Hi all I have to questions: How can I control the transmission of packets? I want all nodes transmit their packets into an predetermined time interval. And If I don't want to use CSMA/CA, what I have to do? Thanks in advance David
Re: [ns] Transmit packets
Hi Thanks a lot for your answer. I'll try to do it. And one more question, I don't want to use CSMA/CA in some cases, how can I enable and disable it? Thanks again! David De: Mubashir Rehmani mshrehm...@gmail.com Para: David Rodenas drodenasherr...@yahoo.es; ns-users ns-users@isi.edu Enviado: mar,7 diciembre, 2010 14:14 Asunto: Re: [ns] Transmit packets Hi David, You can control the transmission of packets by using timers in ns2. Explanation: In your tcl script, you will assign routing agent (ragent_) to all the nodes and this routing agent will help you to write your own procedure in the Command of your routing protocol. Then, once you are in the Command of the routing protocol, you will use timers. This timer will expire on the predefine time, which you can mention there and then you can write your packet sending logic there. E.g. you want to send all the nodes to send packet after 10 secs. The timer will expire after 10 secs and send the packets http://old.nabble.com/Reply-to-ragent_-question-td18590880.html#a18590880 http://old.nabble.com/Example-of-Simple-Timer-td19366929.html#a19366929 Hope it helps Best Regards Mubashir Husain Rehmani Lip6/UPMC Sorbonne Universités Paris, France On 7 December 2010 14:02, David Rodenas drodenasherr...@yahoo.es wrote: Hi all I have to questions: How can I control the transmission of packets? I want all nodes transmit their packets into an predetermined time interval. And If I don't want to use CSMA/CA, what I have to do? Thanks in advance David -- Mubashir Husain Rehmani
[ns] Observations and Query on holdoff exponents in IEEE 802.16 mesh
Hi, We were performing some experiments in NS-2 using the IEEE 802.16 / WiMAX mesh patch (http://cng1.iet.unipi.it/wiki/index.php/Ns2mesh80216) on tuning the holdoff exponents for distributed coordinated scheduler in IEEE 802.16 mesh. *Setup: * We considered a chain of odd number of nodes. For example, a chain of 7 nodes looks like: n1 - n2 - n3 - n4 - n5 - n6 - n7 *Holdoff Time: * The holdoff time (in slots) of a node is the number of slots it has to wait between two successive control channel access. The expected holdoff time E[t_k] of node k is given by: E[t_k] = 2^(base_k + x_k) + E[s_k] where base_k is the holdoff time base, x_k is the holdoff exponent and E[s_k] is the expected number of slots in which node k fails before it wins the competition for control channel access. The above relation follows from the following paper: *M. Cao, W. Ma, Q Zhang, X. Wang and W. Zhu, “Modeling and Performance Analysis of the Distributed Scheduler in IEEE 802.16 Mesh Mode,” Proc. 6th ACM MobiHoc, Urbana-Champaign, May 2005 * *Method to reduce holdoff time:* Now for a linear chain, it is useful to set base_k = floor(ln (N_k)) where N_K is the number of two-hop neighbors of node k. This idea is suggested in S.Y. Wang, C.C. Lin, H. Chu and T.W. Hsu, “Improving the Performances of Distributed Coordinated Scheduling in IEEE 802.16 Mesh Networks,” IEEE Transactions on Vehicular Technology, 57(4): 2531-2547, July 2008 In the above paper, Wang et al. also suggested that hold off exponents should be set to zero. Thus for the chain of 7 nodes, holdoff bases are {1, 1, 2, 2, 2, 1, 1} and the holdoff exponents are {0, 0, 0, 0, 0, 0, 0}. *Our observations:* For the chain of 7 nodes, we used the same values for holdoff bases, that is, {1, 1, 2, 2, 2, 1, 1} but used the set {0, 0, 1, 0, 1, 0, 0} for the exponents. Note: There is a provision to set the holdoff exponents manually via a tcl script in the patch mentioned above. Then we carried out all the experiments reported in the above paper by Wang et al., that is, we measured TCP throughput, UDP throughput and round trip time (RTT). We found that our setting produced slightly better results. Similar observations were made for longer chains of odd lengths when the exponents of the third node from the left and the third node from the right are set to one and all other exponents are set to zero. *This observation appears very surprising since the delay is supposed to increase for larger exponents.* Can anyone please throw some light on this? Your feedback is appreciated. Regards, Debarshi Regards, Debarshi