[ns] Route trafic using static routes in MIH IEEE802.21
Dear all, I am doing simulations on the NS-mih-NIST patch for the handover betzeen UMTS and WIFI. My problem is that in a give time of the simulation i want explicitly change the route of the traffic. The mobile terminal is completly coverred by the two techonolgies (UMTS, WIFI) and its mobility is null. I have tried to use this tcl code line: set link [$node nexthoplink [$via id]] $src add-route [$dst node-addr] [$link head] where src: is the source node dst: is the destination via: is the intermediaire node link: is the link where the trafic is routed. But the MT maintains its connectivity with the previous access point (PoA). Anyone can help ? Best H.
[ns] Static Route trafic in NS2 (MIH NIST module)
Hi all, I would like to send a CBR trafic from Node1 to Mobile 1 and then to route the trafic from Node1 to R1 then R2 then to R3 using static routing, here is my topology: Node1 -- Node2 -- R1 M1 | R2 | R3 is it possible to do this simulation: attach the CBR trafic to NODE1 at 0.00 CBR traffic is routed via R1 at 50.00 CBR traffic is routed via R2 at 100.00 CBR traffic is routed via R3 Thanks in advance, H.
[ns] Static Route trafic in NS2 (MIH NIST module)
Hi all, I would like to send a CBR trafic from Node1 to Mobile 1 and then to route the trafic from Node1 to R1 then R2 then to R3 using static routing, here is my topology: Node1 -- Node2 -- R1 M1 | R2 | R3 is it possible to do this simulation: attach the CBR trafic to NODE1 at 0.00 CBR traffic is routed via R1 at 50.00 CBR traffic is routed via R2 at 100.00 CBR traffic is routed via R3 Thanks in advance, H.
Re: [ns] update a binded variable during the simulation in NS2
Hello NS users ! How do you update during the simulation a variable that has been already bind from the TCL code ? I have tried this method: set var1 10 ... ... ns at 50 set var1 20 but once var1 is binded to C++ code the simulation still uses var1=10. thanx
[ns] strenge behivor in NS2.29 + NIST mobility model
-- Forwarded message -- From: El Hadi Cherkaoui elhadi.cherka...@gmail.com Date: Wed, 21 Dec 2011 13:03:18 +0100 Subject: [ns] strenge behivor in NS2.29 + NIST mobility model To: ns-users@isi.edu Dear ns users, I am working on the NIST mobility model for heterogeneous network. In my tcl script I have set one wifi AP , 1 wimax BS and enable UMTS communications for the whole coverage area. The AP and BS are set in the seme position (1000,1000) I set the position of my terminal (containing 3 interfaces:wifi+umts+wimax) on (800,1000) and moves straight toward (2500,1000) My Wifi AP coverage is 50 meters ie from (950 to 1050)m and my Wimax coverage is 1km (0 to 2000)m I expect that with a defined Handover algorithm receive packets: From 800 to 950: wimax From 950 to 1050: wifi From 1050 to 2000: wimax From 2000 to 2500: umts but I figure it out that from 1000 to 1050 wifi packets are dropped by the AP and not flow is received in this region why ? second scenario, I start the movement of mobil from x=1001 to 2500 and it receives perfectly wifi packet in the zone [1000-1050]. So my question is : why when only the terminal crosses the center of the AP it doesn't receive any wifi packets ? thanx in adv for your reply !! H.
[ns] HOW TO GET THE POSITION OF NODE IN C++ CODE ??
--- En date de : Dim 15.5.11, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: HOW TO GET THE POSITION OF NODE IN C++ CODE ?? À: NS user ns-users@ISI.EDU Date: Dimanche 15 mai 2011, 19h35 dear all I can not find the c++ instruction to get the position of a node at a given time... I don't need to extract this information from the trace file because i need to get it during the simulation and not after it finish... Thanx a lot B. R
[ns] DACAP for NS2
dear all, I am locking for the code of the protocol DACAP based on RTS/CTS in NS2.. If anyone has an idea or a link to download this patch please let me know ! Best,
Re: [ns] problem with ns-2 compilation
Le 2/27/2011 3:56 PM, Rajib Das a écrit : hello, i am using ubuntu 10.10. i have installed ns-allinone-2.34. installation is successful. now whenever i make changes in .h and .cc files of ns2, i need to compile them. i tried with g++ filename.cc. it shows a lot of errors that the header files which are included in the files are not available. the files are there but g++ is unable to locate their locations. then i read somewhere that i have to use 'makefile' command to compile the files. but it's giving me error that bash: /usr/ns-allinone-2.34/tcl8.4. 18/unix/Makefile: Permission denied when i typed Makefile only. Tape make, it sould be fine ! also i am not getting the x11r6 folder at /usr/ location but path is set for that like /usr/x11r6/lib and there is no folder like that. i also read somewhere on net that this may be because of the higher version of gcc/g++. i am doing a project in black hole attack in aodv and i need answers of above queries as early as possible. hope i get these solved soon. Regards Hadi
Re: [ns] [ANS:ns] Two interfaces to the same BS
Hi Jorge, yes it's possible to connect more than one interface in the same base station, which module do you use ? I suppost it is Nist-mob MIH ?, please take a look at how did you define the ND module for each interface. let us know. B Regards Hadi Le 2/24/2011 10:04 AM, jorge cabrejas a écrit : Hi all, I would like to know if it is possible to connect two interfaces of the same type to the same base station. My scenario is rather simple but I do not know why it is the problem: BS_802.11MultiFaceNode1 (3.0.0) (2.0.0) -iface1 (Wi-Fi) (2.0.1) MultiFaceNode2 (4.0.0) -iface2 (Wi-Fi) (2.0.2) I have tested the same scenario but with normal nodes instead of MultiFaceNodes and it works perfectly. Could anyone help me? Thank you in advance Jorge
Re: [ns] Why do we have this group?
Hi all, I agree with Teerawat, the replay to all with special tag is more efficient , However we can define special tag for different questions : For example I have noted that most of the question is related to the problem of installation : ns2.29 on ubuntu , on fedora , bad version of gcc.. I propose to add [ANS:Install:NS] for replay to problem of installation [ANS:MAC:NS] for mac questions and so on ... if I am not interested to reply or read to one category I will just have to delet them easily by creating folder. Best, Hadi Le 2/21/2011 4:59 PM, Teerawat@UBC a écrit : Hi, The problem with the latter one (i.e., when a questioner gets the answer, repost the answer back to the mailing list) is that the person who's got the answer may not forward the answer back to the mailing list. Even when you have the rule written say in FAQ, new persons who recently joined the mailing list might not know about the rule. Then, they would not forward the answer back to the mailing list. In my opinion, reply all with a simple tag [ANS:NS] or something like this might work. People will know that this email message is an answer to a certain question. Those who do not care about the answer can immediately delete it. They may event get their mail client to delete mail whose subject contain [ANS:NS]. But we need to come up with an agreed-upon tag for answering the question. Note that one drawback of this approach is that there might be too many email about the reply, which might annoy our members. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Feb 21, 2011, at 7:35 PM, farzin parsa wrote: the latter one is much better, --- On Mon, 2/21/11, Mariam A. Moustafaelansary@gmail.com wrote: From: Mariam A. Moustafaelansary@gmail.com Subject: Re: [ns] Why do we have this group? To: Ahmadarasem...@yahoo.com, ns-users@ISI.EDU Date: Monday, February 21, 2011, 4:38 AM Fine, I suggest two method we can follow 1- All reply for all. 2- All relpy in perivate and then the person who was asking the question, gather the replys and forward them as an answer of that question (we will only have one collected reply). //may be use a tag in the subject of the reply mail as {ANSWER}. Thanks in advance Mariam On Mon, Feb 21, 2011 at 5:49 AM, Ahmadarasem...@yahoo.com wrote: Hi Fellow NS2ers, Personally I prefer to see answers for everything as it may be relevent at some point. Anand, you can do what I (and may be many de here), have a special folder setup with every email with the Subject NS2 being forwarded to it so your general inbox does not get flooded with it. I am glad to know that there are people answer becuase I posted 2 questions (figured the answer of the first one though) and didn't get answers and I saw just questions so I thought no one is answering here. but yea I would personally like seeing all answers so everyone has reference incase they run into similar issues. I think I saw two more posts sharing the same likes. After all, good luck everyone in your research! Ahmad From: Teerawat@UBCteera...@ece.ubc.ca To: anandwaytoan...@gmail.com Cc: ns-users@ISI.EDU Sent: Sun, February 20, 2011 9:23:02 PM Subject: Re: [ns] Why do we have this group? Hi, I answer to people in this group regularly (as much as I can). But usually, I just do it to avoid others who have to receive the answers which are relevant to their interest. There is no guideline on the use of this mailing list. If there is one and it says that most (if not all) answers should be replied to ALL, I'll be glad to do so. What do you guys think? Best Wishes Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Feb 21, 2011, at 8:28 AM, anand wrote: isi is build like this...it is easy to mail al the groupbut they didn't considered that one may take interest in getting the answers of all the questions. besides if they forward to all then ur inbox will always be filled with ns-user's mailit will end only u unsubscribeso it's for the best :) -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
Re: [ns] error while building NIST extension
RamiHach, To solve problems of extra qualification you should remove : Mac802_11:: or the name of class befor :: for each extra qualification error ! Best Hadi Le 2/17/2011 3:45 PM, RamiHach a écrit : I'm building NIST on NS2.29.2 on ubuntu 8.04 after replacing ns2.29 of the ns-allinone2.29 by the ns2.29 extracted from the NIST. I do ./install from the /usr/local/ns-allinone-2.29 ; I get the following error mac/mac-802_11.cc: In member function ‘void Mac802_11::update_watch(StatWatch*, double)’: please help by the way meriam I would like to keep contact with you it seem we work on the same thing NIST on NS2.29.2 on ubuntu Mariem Thaalbi wrote: Hello, I'm building the mobility extension NIST of NS 2.29.2, under ubuntu 8.10, but i had this error while the compilation (./configure ; make clean ; make): In file included from mac/mac-802_11.cc:63: mac/mac-802_11.h:620: error: extra qualification ‘Mac802_11::’ on member ‘calFreq’ make: *** [mac/mac-802_11.o] Error 1 Please help me
Re: [ns] How to make change in tcp.cc ?
And also before all of this make sure that you are recompiling your code by doing the command : make. Regards --- En date de : Ven 14.1.11, manoj1987 micman.ma...@hotmail.com a écrit : De: manoj1987 micman.ma...@hotmail.com Objet: Re: [ns] How to make change in tcp.cc ? À: ns-users@ISI.EDU Date: Vendredi 14 janvier 2011, 18h20 Ghassan Akrem wrote: It seems that any change I've made doesn't take effect at all.What am I suppose to do to make it work? Please help me. I make change like this : . . . case 9: (I put the additonal change here) break; Probably, case 9 in the switch statement is never called/executed. Make sure that the switch statement branches to case 9, by using a printf. - --- ManojKumar.A --- Blog: http://getch.wordpress,com Mailing list guidelines: http://goo.gl/xC874 -- View this message in context: http://old.nabble.com/How-to-make-change-in-tcp.cc---tp30670545p30673750.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Unite in NS2 topology (m or km) ??
Dear all, I want to know what is the default unite of distance in NS2, (metter or kilometer ) when I create a sample topology: set opt(x) 100 ;# m or km??? set opt(y) 100 set opt(z) 50 set topo [new Topography] $topo load_cubicgrid $opt(x) $opt(y) $opt(z) Regads
[ns] Handover in NS2 LTE WiMAX WIFI
Hi all, I would like to know if there are patchs or scripts to support LTE technology over NS2 and the handover mecanism between LTE and WiMAX. Tanks a lot Regards
[ns] URGENT MAC802_11 how to attach MN to BS
dear all, I receive in my log file the following message: At 9.525694049 Mac 5 (Node 3.0.1) drop packet because does not belong to bss_id -1 (hdv_state_=1) When I grep this error in mac_80211 I see that my MN is not attached at all to the BS: case MAC_Type_Data: //NIST: add L2 connection /* if we are not attached to bss_id, we cannot receive data */ //check if I am connected to my base station //src = ETHER_ADDR(mh-dh_ta); //Note: Only let routing algorithm messages pass through if ( ch-ptype()!=PT_MESSAGE (index_ != bss_id_) ((src != (u_int32_t) bss_id_) || hdv_state_ != MAC_CONNECTED) ) { //printf (at %f src = %d and type=%d, subtype=%x..., NOW,src,type,subtype); debug (At %.9f Mac %d (Node %s) drop packet because does not belong to bss_id %d (hdv_state_=%d)\n, \ NOW, index_, Address::instance().print_nodeaddr(netif_-node()-address()), bss_id_, hdv_state_); discard(pktRx_, NCO); goto done; My Question : How to attach this mn ? ps: this is how I attach my interface to the BS in tcl set iface1_($i) [$ns node 3.0.$i] ;# node id is 8. $iface1_($i) base-station [AddrParams addr2id [$bstation802 node-addr]] ;#attach mn to basestation Thanks
[ns] is it possible to attach more than one MN in Wifi Cell ?
Dear all I tried to attach N node in the same AP but it seams that it doesn't work , in the example given in NS2 each node belong to at most one AP. How can I attach more than 1 MN ? this is the instruction in TCL: set iface($i) [$ns node 2.0.[expr 1+$i]] $iface($i) random-motion 0 $iface($i) base-station [AddrParams addr2id [$bstation802($j) node-addr]] ;#attach mn to basestation Thank you in advance Regards
[ns] Re : Dropped packets in BS WIMAX - Nw QWI
Dear All, To Whom it may interest :) QWI dropped event is due to the filling of the WIMAX BS Queue Tail. I think as a default: Mac/802_16 set queue_length_ 50. Not suffisant in CBR application when the interval is very small. Regards Hadi --- En date de : Mer 22.12.10, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] Dropped packets in BS WIMAX - Nw QWI À: NS user ns-users@ISI.EDU Date: Mercredi 22 décembre 2010, 2h53 Dear all, I have this dropped packet in trace file: d -t 10.805844200 -Hs 2 -Hd 4194306 -Ni 2 -Nx 1100.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw QWI -Ma 0 -Md 0 -Ms 8 -Mt 0 -Is 0.0 -Id 4194306.0 -It cbr -Il 5120 -If 0 -Ii 457 -Iv 29 -Pn cbr -Pi 76 -Pf 0 -Po 0 the reason is Nw QWI . What is QWI ?? the dropped event occures in the Wimax BS. If it iss due to the queue length , should I large it to solve the problem ?? thanx
[ns] Dropped packets in BS WIMAX - Nw QWI
Dear all, I have this dropped packet in trace file: d -t 10.805844200 -Hs 2 -Hd 4194306 -Ni 2 -Nx 1100.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw QWI -Ma 0 -Md 0 -Ms 8 -Mt 0 -Is 0.0 -Id 4194306.0 -It cbr -Il 5120 -If 0 -Ii 457 -Iv 29 -Pn cbr -Pi 76 -Pf 0 -Po 0 the reason is Nw QWI . What is QWI ?? the dropped event occures in the Wimax BS. If it iss due to the queue length , should I large it to solve the problem ?? thanx
[ns] Uncomprehensible number of droped packet in IEEE80211
Dear all, I have a large number of droped packet in my simulation I have set 3 BS stations: UMTS with a coverage of 1000m position (X,Y) = doesn't have WiFI coverage of 50m (250,250) WiMAX coverage of 500m (100,100) I receive a huge number of droped packet with unknown reason. Also when I some the Received and dropped packet i find less than send packet... d -t 1.069065960 -Hs 15 -Hd 12582916 -Ni 15 -Nx 250.00 -Ny 250.00 -Nz 0.00 -Ne -1.00 -Nl IFQ -Nw --- -Ma 0 -Md 12 -Ms e -Mt 800 -Is 4194304.3 -Id 12582916.0 -It cbr -Il 1024 -If 0 -Ii 111 -Iv 29 -Pn cbr -Pi 2 -Pf 0 -Po 0 Please help me !
[ns] IEEE80211b Packet loss System
Dear All, I have a dout regarding to the wifi implementation in NS2. Is it possible to have for static mobil a system packet loss ratio of 20% when we have 4 mobils inside the coverage ? I use IEEE80211b. note: The system packet loss is the ratio between all the packet received by all the Mobiles and the number of packet send by the core network. Best regards
[ns] Coverage VS Phy/WirelessPhy freq, Pt_, RXthresh_, CSThresh_ in WiMAX
Dear all, I want to know what is the relation between the Coverage distance and the frequency to use in WiMAX technology ? for example if we want to have a coverage of 1000 m then the setting parameters are: Phy/WirelessPhy set freq_ 3.5e+9 ;# hz Phy/WirelessPhy set Pt_ 15 Phy/WirelessPhy set RXThresh_ 7.59375e-11 ;#1000m radius Phy/WirelessPhy set CSThresh_ [expr 0.8*[Phy/WirelessPhy set RXThresh_]] how about 200 m , 300m ,400m ,... B Regards Elhadi
[ns] Mobility Random Model
Dear all, I am locking for a tool or a TCL script to simulate random way movement of N nodes in 2 D. The instruction $node_($i) random-motion 1 doesn't work in my scenario , so please do you know other methods ? Regards
[ns] Fw : Re: what does it means ???
--- En date de : Lun 13.12.10, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: Re: [ns] what does it means ??? À: Teerawat Issariyakul teera...@ece.ubc.ca Date: Lundi 13 décembre 2010, 10h15 Thank you for your reply, Acctually I am traying to debug this error but i don't know why it doesn't occur every time : I am working in a multiface node which contains wifi, umts and wimax nodes. When the wifi is not detected i have no problem, but when the node is close to the BS it generates this error. Can you help me ? Regards El Hadi --- En date de : Lun 13.12.10, Teerawat Issariyakul teera...@ece.ubc.ca a écrit : De: Teerawat Issariyakul teera...@ece.ubc.ca Objet: Re: [ns] what does it means ??? À: e_cherka...@yahoo.fr, ns-users@ISI.EDU Date: Lundi 13 décembre 2010, 6h16 Hi, The no-slot error occurs since you did not configure the classifier properly. In particular, you ask NS2 to send a packet to a non-existing object. For more information, please read the following post: http://www.ns2ultimate.com/post/520626807/classifier-no-slot-error Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On 12/12/2010, El hadi Cherkaoui e_cherka...@yahoo.fr wrote: Dear all , Please ca n someone explain me this error in NS2 -- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o270: no target for slot 3 _o270 type: Classifier/Addr content dump: classifier _o270 0 offset 22 shift 1023 mask 1 slots slot 5: _o271 (Classifier/Addr) -- Finished standard no-slot{} default handler -- I can't find the object _o270 and _o271 so i can't understand where is the fault ??? I noted that I receive this error only when i have more then 2 mobile nodes. Best regards El hadi
[ns] what does it means ???
Dear all , Please ca n someone explain me this error in NS2 -- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o270: no target for slot 3 _o270 type: Classifier/Addr content dump: classifier _o270 0 offset 22 shift 1023 mask 1 slots slot 5: _o271 (Classifier/Addr) -- Finished standard no-slot{} default handler -- I can't find the object _o270 and _o271 so i can't understand where is the fault ??? I noted that I receive this error only when i have more then 2 mobile nodes. Best regards El hadi
[ns] Packet Loss UMTS NIST
Dear all, Is it normal that with a data rate of 100Kb/s an UMTS interface of a fixe mobile could receive only 50% of the trafic ??? My topology is: R1 -- R2 -- BS wifi |- BS wimax |- RNC --BS umts *Terminal R1 send cbr traffic with an interval of 0.01s and packet size=1Kb I don't know how we can loss the rest ?? and where Best regards El Hadi Cherkaoui
[ns] LTE in NS2 is it possible ??
Dear all, I want to know if it is possible to simulate the LTE technology on NS2 or NS3. Is there any works before ? By the way what are the changes or differences between LTE and UMTS in term of : - frequency / channel model ? - coverage ? - data rate ? - Energy consumption ? B. Regards El Hadi
[ns] UMTS-WIFI Handover using NIST module - Resolved
Hi, Do you find a solution to include movement in umts interface using NIST module ? I know that it's possible to add movement to iface80211 and iface80216 but not yet for umts ? Concerning the data trafic that ifaceUMTS never receive .. you should add this in your TCL code # control for umts interface## set node_odd [expr $nn % 2] ; nn is the number of mobile if { $node_odd == 1 } { set dummy_node [$ns create-Umtsnode 0.0.[expr 2+$nn]] puts *** dummy: tcl=$dummy_node; id=[$dummy_node id]; addr=[$dummy_node node-addr] } # don't ask me why we should have a pair number of umts interfaces :) then, to see the trafic in the tracefile , you should add these lines: $bsUMTS trace-outlink $f 2 $iface0_($j) trace-inlink $f 2 ;# for each umts interface that u create $iface0_($j) trace-outlink $f 3 ;# for each umts interface that u create Best Regards El Hadi
[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] Re : Classfier::no-slot{} default handler - Resolved
Hi All, It was a problem of positionning the nodes in the topology. Something like out of bounderies. B .R E. C --- En date de : Ven 3.12.10, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: Classfier::no-slot{} default handler À: NS user ns-users@ISI.EDU Date: Vendredi 3 décembre 2010, 19h40 Hi NS users, I have this error in my script when I try to creat more than two WiFi interfaces like this: TCL code: ... for {set i 1} {$i=$nn} {incr i} { $ns node-config -wiredRouting OFF \ -macTrace ON set iface1_($i) [$ns node 3.0.$i] ;# node id is 8. $iface1_($i) random-motion 1 ;# disable random motion $iface1_($i) base-station [AddrParams addr2id [$bstation802 node-addr]] ;#attach mn to basestation $iface1_($i) set X_ [expr $X_src+($i*10)] $iface1_($i) set Y_ $Y_src$i $iface1_($i) set Z_ 0.0 if {$quiet == 0} { puts Iface 1_($i) = $iface1_($i) } } And the ERROR is : --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o270: no target for slot 3 _o270 type: Classifier/Addr content dump: classifier _o270 0 offset 22 shift 1023 mask 1 slots slot 5: _o271 (Classifier/Addr) -- Finished standard no-slot{} default handler -- Any idea ? Best Regards
[ns] Fw : MIH module for WIMAX in NS2.29
--- En date de : Mar 19.10.10, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] MIH module for WIMAX in NS2.29 À: NS user ns-users@ISI.EDU Date: Mardi 19 octobre 2010, 15h11 Dear all, I have a question about the implementation of SEND_LINK_UP , SEND_LINK_GOING_DOWN, SEND_LINK_DOWN, SEND_LINK_DETECTED in the vertical handover between WIFI , UMTS and WIMAX. Why SEND_LINK_DETECTED , SEND_LINK_UP , SEND_LINK_DOWN are taken into consideration only by sssheduler.cc and bssheduler.cc and SEND_LINK_GOING_DOWN by mac802.16.cc ?? thank you.
[ns] MIH module for WIMAX in NS2.29
Dear all, I have a question about the implementation of SEND_LINK_UP , SEND_LINK_GOING_DOWN, SEND_LINK_DOWN, SEND_LINK_DETECTED in the vertical handover between WIFI , UMTS and WIMAX. Why SEND_LINK_DETECTED , SEND_LINK_UP , SEND_LINK_DOWN are taken into consideration only by sssheduler.cc and bssheduler.cc and SEND_LINK_GOING_DOWN by mac802.16.cc ?? thank you.
[ns] Concunrrent flow on WiFi, WiMAX and UMTS on NIST NS module
Dear NS user, I am facing a real problem to implement a tcl code of Handover scenario between : wifi , wimax , umts ... I have found in the path provided by the nist multiple tcl code of wifi-umts wifi wimax but not all at the same. So i tried to write my own one but the problem is that MIH module detect only two interfaces and I get a segmentation error. please, could you please help me with a basic code of the three technologies to see how the flow is switched acourding to the movment of the nodes. Thank you so much
[ns] Fw : Energy event nam
--- En date de : Ven 1.10.10, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: Energy event nam À: NS user ns-users@ISI.EDU Date: Vendredi 1 octobre 2010, 11h53 Dear NS users, I've a quick question about node energy in nam . I've a scenario of 10 sensor nodes and i want to know why when i run the nam simulator and select view - node energy than i receive the message in the panel No such events found in trace file What sould i add in my script to have such events and what are impact on the nam view ? Thanks Reagrds Hadi
[ns] bind variable and read value
Dear all, this my problem: I want to bind a variable x in class MAC802.16 , During the simulation, the value change in C++ code , and then i want to read the value in tcl code every 10 s. This is my code: MAC80216 set cost_ 10 proc record {} { global f1 f2 f3 nullvideo_ buffer buffermax_ set ns [Simulator instance] set time 10 set now [$ns now] set bw [$nullvideo_(0) set bytes_] ;# FTP bandwidth in bytes puts $f3 at $now bw= $bw set tmp [Mac/802_16 set cost_] puts $f3 at $now cost= $tmp # set now [$ns now] # Appel récursif $ns at [expr $now+$time] record } here the value of bw from TCPSink class is updated in this tcl code , but the value of cost_ in MAC80216 is still the same as i set it the first time (ie cost_ =10) how can I make this ?? Regards
[ns] Random motion in a limited zone
Dear Ns user, I want to know if there is a function in tcl to define a random motion for a noe like : $node_($1) random-motion 1 but in a certain zone ( i want to define a limit for this zone ) Regards.
[ns] how to set Packet error rate and Bit error rate in MAC80211
Dear all, I am working on wireless communication in Underwater Network and I want to set the PER and BER and a certain value. Thank you to tell me how to do it in TCL or C++ Regards
[ns] where is attach-agent ??
Dear all, I want to know where I can find the command : attach-agent (in which file of NS) Same question for attach-vectorbasedforward. this the tcl code : set a_($i) [new Agent/UWSink] $ns_ attach-agent $node_($i) $a_($i) $a_($i) attach-vectorbasedforward $opt(width) Best Regards
[ns] Ad hoc Network RTS/CTS procedure
Dear NS users, Just a basic question about Ad hoc networks... what's the part of code in NS2 in which a node can reach an other node ... I mean where the procedure RTS/CTS in done (in which class, which method)?? Thank you. Regards
[ns] use newtrace format
De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: use newtrace format À: NS user ns-users@ISI.EDU Date: Vendredi 28 mai 2010, 15h00 Dear NS users, I want to plot some data from this. tr file but I don't understand the use-newtrace format. Please can someone help me ? Regards
[ns] NIST MOBILITY NS2.29
hi all, i want to download NIST module (without errors) for NS2.29 . The one provide by : http://w3.antd.nist.gov/seamlessandsecure/pubtool.shtml#tools seams to have error of compilation. Please thank's to send me the good version for NS2.29. Best regards
[ns] Fw : NS2.29 + MIH IEEE802.21
--- En date de : Lun 24.8.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: NS2.29 + MIH IEEE802.21 À: NS user ns-users@ISI.EDU Date: Lundi 24 Août 2009, 11h56 Hi all, My question is why Media Independant Handover is well implemented over NS2.29 instead other version ?? thanx
[ns] Re : NS2.29 + MIH IEEE802.21
Hi, No idea about NS2.31 but i think it's better to chose NS2.29 you will find more documentation. I don't know yet why it's better in NS2.29 , it was my question. --- En date de : Lun 24.8.09, sabelo dlamini theseb...@yahoo.com a écrit : De: sabelo dlamini theseb...@yahoo.com Objet: NS2.29 + MIH IEEE802.21 À: e_cherka...@yahoo.fr Date: Lundi 24 Août 2009, 15h53 Hello, I want to use the MIH with ns-2.31 have you tried using it? Do you have some idea on how one can modify this package for ns-2.31?
[ns] NS wireless topology in TCL
hi all, i need to creat a complexe topology in tcl with: N AP for umts M BS for wifi wimax k terminal best regards
[ns] NS execution fault
hi all, i have this error when i execut my code: terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check Someone can tell me what's this fault due ? thanx
[ns] Tcl code for communication between 2 wirless node.
Hi all; i need a tcl code of communication between 2 nodes. Mac/802.11 tcpSink - xtcp n0 n1 n2 n0 is a mobile and n1 is a base station n2 is the source and n0 the receiver. Please it's urgent Thank you.
[ns] Change the value of dataRate_ in Mac/802_11
hi all, i want to change via tcl the value of rate in Mac/802_11 ... For exemple when i set : Mac/802_11 set dataRate_ 1Mb the dataRate is really 1 Mb but after if i want to change the datarate to 2Mb Mac/802_11 set dataRate_ 2Mb the value of dataRate_ is still 1Mb What's wrong with this ? thanx
[ns] Fw : Fw : Buffer play back in tcl
is there any Tcl expert to solve that please ? --- En date de : Mar 30.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] Fw : Buffer play back iin tcl À: NS user ns-users@ISI.EDU Date: Mardi 30 Juin 2009, 15h12 NO one ? --- En date de : Mar 30.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] Buffer play back iin tcl À: NS user ns-users@ISI.EDU Date: Mardi 30 Juin 2009, 13h53 hi all, i have a simulation to do please help me ; i want to write a tcl code which simulate a buffer playback Rate_playBack is set of [100,200,300,400] kbps the size of buffer is 10* (Rate_playback) ; ie 10 seconds of content media. the traffic can be FTP / CBR. the buffer should be monitored by a mobil node. Can someone send me tcl code of this. Best regards.
[ns] Buffer play back iin tcl
hi all, i have a simulation to do please help me ; i want to write a tcl code which simulate a buffer playback Rate_playBack is set of [100,200,300,400] kbps the size of buffer is 10* (Rate_playback) ; ie 10 seconds of content media. the traffic can be FTP / CBR. the buffer should be monitored by a mobil node. Can someone send me tcl code of this. Best regards.
[ns] Fw : Buffer play back iin tcl
NO one ? --- En date de : Mar 30.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] Buffer play back iin tcl À: NS user ns-users@ISI.EDU Date: Mardi 30 Juin 2009, 13h53 hi all, i have a simulation to do please help me ; i want to write a tcl code which simulate a buffer playback Rate_playBack is set of [100,200,300,400] kbps the size of buffer is 10* (Rate_playback) ; ie 10 seconds of content media. the traffic can be FTP / CBR. the buffer should be monitored by a mobil node. Can someone send me tcl code of this. Best regards.
[ns] Re : UDP agent in wireless topology
no one has an idea ? --- En date de : Mer 24.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] UDP agent in wireless topology À: NS user ns-users@ISI.EDU Date: Mercredi 24 Juin 2009, 11h44 hi gays, I have 3 nodes and i want to make communication between them ; So the rist one send cbr packet to the second with a rate of 1500kbs and the seconde send this packet but with a rate of 1000 kbs. can someone tell me how to write this scenario with tcl? Best regards.
[ns] UDP agent in wireless topology
hi gays, I have 3 nodes and i want to make communication between them ; So the rist one send cbr packet to the second with a rate of 1500kbs and the seconde send this packet but with a rate of 1000 kbs. can someone tell me how to write this scenario with tcl? Best regards.
[ns] Re : TCL VAR bind C++ linking
--- En date de : Lun 22.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: TCL VAR bind C++ linking À: NS user ns-users@ISI.EDU Date: Lundi 22 Juin 2009, 19h04 hi every one, I have a CBR source and i set rate_ at 160 kbps. is it possible to change the value of rate_ during the simulation every several seconds (randomly) ? for exemple : 0s to 50s rate_ = 160 kbps 50s and 100s rate_= 140kbps 100s and 150s rate_= 200kbps please note that the values in the exemple are static, i want to get this value from an other C++ class. If it's possible thanks to tell me how can i do ! Best reagrds.
[ns] NS2 how to redirect flow between 2 interfaces ?
hi i all , i work on NS2 handover in heterogeous mobility, i want to know how to redirect flow when a best network is available? The decison should be taken by the mobile and not by the network as it is done in the simulator.. thanx
[ns] Fw : NS2 how to redirect flow between 2 interfaces ?
No one can answer ? --- En date de : Lun 15.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: NS2 how to redirect flow between 2 interfaces ? À: NS user ns-users@ISI.EDU Date: Lundi 15 Juin 2009, 12h11 hi i all , i work on NS2 handover in heterogeous mobility, i want to know how to redirect flow when a best network is available? The decison should be taken by the mobile and not by the network as it is done in the simulator.. thanx
[ns] AGT new trace file
HI, I'm using Marco Fiore's awk code (http://www.tlc-networks.polito.it/fiore/) to compute the throughput of data service. In the code I found that the author use AGT (Agent Trace level) to filter the trace file to get how many data bytes were receieved at the destination node. I wonder why we use AGT level, not MAC level to compute. Who did use this code can tell me the precision of this one. Thank you.
[ns] NS wireless trace
hi i all , ihave this kind of topology # bstation802.11(2.0.0)-) # / # / # router0(0.0.0)---router1(1.0.0) # \ + iface1:802.11(2.0.1)| + iface2:802.16(3.0.1)| # \ # bstation802.16(3.0.0)-) in the trace file i can see the packet between router0 and bstation80216 and bstation80211 but no packets between bstation80211 and iface1 , bstation80216 and iface2. Any idea ? plz help .
[ns] Re : Trace wirless file
Any idea ? --- En date de : Mar 9.6.09, e_cherka...@yahoo.fr e_cherka...@yahoo.fr a écrit : De: e_cherka...@yahoo.fr e_cherka...@yahoo.fr Objet: Trace wirless file À: NS user ns-users@ISI.EDU Date: Mardi 9 Juin 2009, 19h39 hi all, i have a simulation of handover between WIFI and WIMAX to do when i edit my output file i have this line : r 100.078913 0 1 tcp 1040 --- 1 0.0.0.0 2.0.1.0 15910 31908 + 100.078913 1 3 tcp 1040 --- 1 0.0.0.0 2.0.1.0 15910 31908 - 100.078913 1 3 tcp 1040 --- 1 0.0.0.0 2.0.1.0 15910 31908 2.0.1 is the address of wifi interface 3.0.1 is the wimax address 1 is the mac_id of wifi 3 is the mac_id of wimax So , is it logical to have for the same instant and the same address for two diffrent interface ?... because during my simulation a redirect the flow when each network is better than the other. thank u for help reagards
[ns] test %d.%d in wireless Trace format
hi all, i am using awk for analizing trace , the field 10 of the trace is %d.%d (dest address ) i want to test it but it doesn't work this is my code : if ($10 == 3.0.1.0) { . } please help me thanx
[ns] Re : NS2 Energy consomption, Network load ...
No one can help me please ? --- En date de : Lun 8.6.09, El hadi Cherkaoui e_cherka...@yahoo.fr a écrit : De: El hadi Cherkaoui e_cherka...@yahoo.fr Objet: [ns] NS2 Energy consomption, Network load ... À: NS user ns-users@ISI.EDU Date: Lundi 8 Juin 2009, 14h00 hi all, i have a simulation on ns to do , i have a relation with two parameters : Energy consomption (W) in active state , and data rate (kbps) . i want to know how to get the values of theses two parameters ; i mean which class use its and which variables ? How about the Network load ? thanx for your replay it's urgent .
[ns] tcl error flowmon
hi all, i have a tcl error when i run my script : $tcp0 set fid_ 1 set flowmon [$ns makeflomon Fid] set getlink [$ns link $router0 $iface2] $ns attach-fmon $lien $flowmon set fcl [$flowmon classifier] and the error is : invoked from within _o3 cmd makeflomon Fid invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o3 line 2) (SplitObject unknown line 2) invoked from within $ns makeflomon Fid invoked from within set flowmon [$ns makeflomon Fid] it seams that flowmon is not recognized why ?
[ns] NS2 Energy consomption, Network load ...
hi all, i have a simulation on ns to do , i have a relation with two parameters : Energy consomption (W) in active state , and data rate (kbps) . i want to know how to get the values of theses two parameters ; i mean which class use its and which variables ? How about the Network load ? thanx for your replay it's urgent .
[ns] execut .sh
hi all, i have a .sh file how can i execut it ? thank you
[ns] timer on ns2
hi all, i want to write a method and call it every 0.05s, this method should do a task during a laps of time and wait i know that it is possible to do it with thread in an ordinary program but in NS it's not possible to use thread, so any bady have solutions ?
[ns] tcp agent
hi all, i have a tcp agent : set tcp_(0) [new Agent/TCP/FullTcp] and i try to read the number of bytes of this agent but the variables bytes_ doesn't exist on tcp/FullTcp what can i do ?
[ns] MIH NS 802.21
hi all, i want to know who execut: process_new_prefix (new_prefix* data) in Handover-1.cc thanx
[ns] timer on tcl
hi all, i want ot creat a timer on tcl set ns [new Simulator] set bw bw2.dat set f [open $bw w] proc timer {} { global ns f set time 10 set now [$ns now] set cost [expr floor( rand() * 40) + 20] ;# exemple puts $f $now : $cost $ns at [expr $now+$time] timer } proc finish {} { puts Stop simulation global ns f $ns flush-trace close $f exit 0 } $ns at 0.0 timer $ns at 50 finish $ns run i have 5 values every 10s but the simulation doesn't take 50 s why ?
[ns] TCL buffer receiver
hi all; i wonder how to creat a buffer on node and receive data ... is there any examples of tcl code for creating a buffer on node and playback data every 1 s .? thanx
[ns] Buffer TCP
Hi all , i want to simulate a buffer of 300 kbits for receiving TCP data , and palyback evry second 100 kbits. the buffer should be on a node ...and receive date from router for exemple...How to do that? best reagards
[ns] Debbuging NS-2
hi all, when i run my tcl script it shows me this error due to : this line : $ns at 0 [eval $iface0 set mac_(2)] disconnect-link ;#UMTS UE $ns at 9 [eval $iface0 set mac_(2)] connect-link ;#umts link the object is to put as default inface0 [0.0.2] umts UP otherwise this interface never gone up ... After run : At 9.00 MIPv6 Agent in 5.0.0 requests ND to send RS At 9.00 in 0.0.2 ND module send RS --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o111: no target for slot 1023 _o111 type: Classifier/Addr content dump: classifier _o111 0 offset 22 shift 1023 mask 0 slots -- Finished standard no-slot{} default handler -- thanx for your help !
[ns] multiple node wireless
hi all, i am locking for a tcl script which generate muli nodes and Acces Points... please help me i need that for my Handover simulation ... best regards
[ns] Handover1.cc Mobility code
hi all, i have a code of handover1.cc when creating handover module /* * Creates a handover module */ Handover1::Handover1() : Handover(), connectingMac_(-1), scanTimer_(0) { bind (case_, case_); bind (confidence_th_, confidence_th_); } My question is : where can i find the value of confidence_th_ , is it a argument or given in an other class ? thanx
[ns] ns output trace
hi all , i run the multiFace2.tcl from ns2.29/tcl/hsgn and i obtain this line in the tr : s 0.100083958 _11_ MAC --- 0 BCN 64 [e7 8 0] r 0.100305065 _12_ MAC --- 0 BCN 64 [e7 8 0] r 0.100305132 _13_ MAC --- 0 BCN 64 [e7 8 0] s 0.100415132 _13_ MAC --- 0 UNKN 44 [d4 8 a 0] r 0.100621761 _11_ MAC --- 0 UNKN 44 [d4 8 a 0] D 0.100621772 _12_ MAC --- 0 UNKN 44 [d4 8 a 0] i think it's the new format of wireless topology but i don't understand what's _11_MAC _12_MAC ... and BCN UNKN .. thank u best regards
[ns] ns handover
dear all, i search an tcl script which show the handover event between two network (umts , wifi) or (umts wimax) ... i want to focus only on events occure during the handover. thank u to send me tcl exemple best regards
[ns] multiinterface noeud
hi gays ! can someone send me an exemple of a tcl script which simulate multi-interface noeud in a hetrogenous network ? i will be greatful thanx
[ns] scaning interface in NS-2
hi all, i want to know how to recolte network information of an up interface: for exemple if we have a multinoeud interfece (wimax , umts) , i want to recolte for each interface : the RSS , SNR thanx for give me an exemple.
[ns] trace file ns
hi all, i run the wifi_wimax.tcl scirpt of the ns-Nist-mob and the out.tr give me that (the first lines) : s -t 0.007345294 -Hs 5 -Hd -2 -Ni 5 -Nx 1000.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 s -t 0.007389739 -Hs 5 -Hd -2 -Ni 5 -Nx 1000.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 s -t 0.007434183 -Hs 5 -Hd -2 -Ni 5 -Nx 1000.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 s -t 0.007478627 -Hs 5 -Hd -2 -Ni 5 -Nx 1000.00 -Ny 1000.00 -Nz 0.00 -Ne -1.00 -Nl MAC -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 can someone tell me what's Hs, Hd, Ni because when i see the struct a trace file it should: Event | time | source node | dest node | packet type | packet lengh | flag thanx for helping
[ns] tcl code
hi all, can u tell me what this line do ? # creation of the MutiFaceNodes $ns node-config -multiIf ON ;#to create MultiFaceNode set multiFaceNode [$ns node 4.0.0] $ns node-config -multiIf OFF $multiFaceNode add-interface-node $iface1 set tcp_(0) [new Agent/TCP/FullTcp] $multiFaceNode attach-agent $tcp_(0) $iface1 ;# the interface is used for sending set app_(0) [new Application/TcpApp $tcp_(0)] puts App0 id=$app_(0) i don't understand the line : $multiFaceNode attach-agent $tcp_(0) $iface1 usually we use $ns attach-agent $tcp(0) $interface No?? best regards .
[ns] ns2 computing the link quality ?
hi all, i want to know how to calculate the link quality of a network (wifi , umts and wimax). my idea is to get the radio link quality of available network and compere between them to get the best access. thanx for help and if there is a tcl code of this it could help me more.
[ns] Ns schema class
hi all, i search the NS schema of all the object and class can someone help me ?
[ns] file .cc and .h for vertical handover (wimax-wlan-umts)
hi evryone, can u tell me which files are implemented for a vertical handover in NS2 ? thanx
[ns] install ns-nist-mob
hi all, i want to install the NS mobilty module of the NIST which integrate Wimax and UMTS and other fonctionnality ... when i decompress the archive, i found a foulder NS2.29. My question is: should i replace this folder in the Ns-allinone 2.29 before do ./install ? I try this but doesn't work imposible to create the makefile Give me a solution please ... i try a lot of version and i don't find the possibility to integret this module in NS-2. Best regards