[ns] Fwd: pure ALOHA Mac Protocol for wireless ??
Hi all, I have to implement an pure aloha mac protocol for my wireless comunication in ns2. I work with the NRLSensorSim extensions for sensor networks and ns-allinone-2.27. Someones know if it comes implemented in ns2??? In ns/mac there are: mac-802_11.cc, mac-802_3.cc, mac.cc, mac-csma.cc, mac-multihop.cc, mac-simple.cc, mac-tdma.cc, mac-timers.cc, smac.cc Is one of those who implement the aloha ??? What about mac-simple ??? and mac ?? Thank you
[ns] Need help
How to get the random motion with manually given speed with the randomly generated nodes in a fixed area? - Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
[ns] [AODV] Interface Queue and AODV packet queue
Hello everyone, I am doing project regarding to monitor each node's packet queue length in AODV. However, there are two queue lengths in ns2 src code that makes me confused. The `interface queue length` and the `Drop-front queue` in AODV src file aodv_rqueue.cc. If I want to get the packet queue length of each node during simulations, should I get the length of the interface queue or the length in aodv_rqueue.cc ? interface queue length or rqueue.len_ ?? Regards, Martin
[ns] Run dsRED with routing protocol!!! Could anyone help me ???
I read your post on the ns-2 mailing list. I practice DiffServ on ns-2 and I met your problem that make DiffServ compatible with routing protocol. For example, 5 Mb |s1|- 5 ms 10 Mb \ |core2||core3| 5 ms \/ 10 Mb \ 10 Mb 5 ms \ /5 ms \ |e1|---|core|--|e2|---|dest| /10 Mb5 Mb 10 Mb / 5 ms5 ms5 ms / |s2|- 10 Mb 5 ms e1, core, core2, core3, e2 are belong to DiffServ network. s1, s2 send packets to dest. dsRed module doesn't support routing protocol, so when setting routing protocol, the error happens, And if don't setting routing protocol, the error happens also because e1 doesn't know where it forward packets to. Could anyone help me to resolve it ??? Thank you very much I'm looking forward to your soonest response. Best Regards, matle wrote: Dear all, I tried to simulate some dsred tcl with routing protocol (DV, LS, ...), but it did't function. Could anyone help me to resolve it ??? Thank you very much Best Regards, - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. -- View this message in context: http://www.nabble.com/Run-dsRED-with-routing-protocol-tf3710483.html#a10410318 Sent from the ns-users mailing list archive at Nabble.com.
[ns] Run dsRED with routing protocol!!! Could anyone help me ???
I read your post on the ns-2 mailing list. I practice DiffServ on ns-2 and I met your problem that make DiffServ compatible with routing protocol. For example, 5 Mb |s1|- 5 ms 10 Mb \ |core2||core3| 5 ms \/ 10 Mb \ 10 Mb 5 ms \ /5 ms \ |e1|---|core|--|e2|---|dest| /10 Mb5 Mb 10 Mb / 5 ms5 ms5 ms / |s2|- 10 Mb 5 ms e1, core, core2, core3, e2 are belong to DiffServ network. s1, s2 send packets to dest. dsRed module doesn't support routing protocol, so when setting routing protocol, the error happens, And if don't setting routing protocol, the error happens also because e1 doesn't know where it forward packets to. Could anyone help me to resolve it ??? Thank you very much I'm looking forward to your soonest response. Best Regards, matle wrote: Dear all, I tried to simulate some dsred tcl with routing protocol (DV, LS, ...), but it did't function. Could anyone help me to resolve it ??? Thank you very much Best Regards, - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. -- View this message in context: http://www.nabble.com/Run-dsRED-with-routing-protocol-tf3710483.html#a10410319 Sent from the ns-users mailing list archive at Nabble.com.
[ns] Calculating Average End-to-End Delay is slow with awk
Hi everyone, When you all calculating the average End-to-End delay for a particular simulation, do you take all of the recv entries? (that is if there is 2 receives, you will gather all 2 to calculate the average) However, the number of receives packets is very large ~19 at some stage and the calculation time of the end-to-end delay take ages. I'm using awk to calculate the average delay and at the moment I only take few thousands of recv entries from my trace file. (Which I think its not very accurate.) So do anyone of you know a better way to calculate the average delay fast with all the recv entries? Thanks in advance Regards, Martin
[ns] Run dsRED with routing protocol!!! Could anyone help me ???
I read your post on the ns-2 mailing list. I practice DiffServ on ns-2 and I met your problem that make DiffServ compatible with routing protocol. For example, 5 Mb |s1|- 5 ms 10 Mb \ |core2||core3| 5 ms \/ 10 Mb \ 10 Mb 5 ms \ /5 ms \ |e1|---|core|--|e2|---|dest| /10 Mb5 Mb 10 Mb / 5 ms5 ms5 ms / |s2|- 10 Mb 5 ms e1, core, core2, core3, e2 are belong to DiffServ network. s1, s2 send packets to dest. dsRed module doesn't support routing protocol, so when setting routing protocol, the error happens, And if don't setting routing protocol, the error happens also because e1 doesn't know where it forward packets to. Could anyone help me to resolve it ??? Thank you very much I'm looking forward to your soonest response. Best Regards, matle wrote: Dear all, I tried to simulate some dsred tcl with routing protocol (DV, LS, ...), but it did't function. Could anyone help me to resolve it ??? Thank you very much Best Regards, - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. -- View this message in context: http://www.nabble.com/Run-dsRED-with-routing-protocol-tf3710483.html#a10410505 Sent from the ns-users mailing list archive at Nabble.com.
[ns] Problem with MAC 802.11 in NIST model
Hi all!, I've just found a possible error in MAC 802.11 in NIST model. The handovers didn't finish correctly, so I found a possible missing step in the handover process. When we create the mobile nodes in TCL scripts, in the NIST examples we use the command: $node ($i) base-station [AddreParams addr2if [$bstation1 node-addr]]; in order to get the mobile-node will be connected to a initial basestation. This command call the set_base_stn(addr) { base_stn_ = addr} method definde in mobilenode.h. The problem comes when the mobile node want to be attached with another base station. This command is never executed again for new basestation, so I've coded this by myself to execute it after Association negotiation: MobileNode *node_ = (MobileNode *) Node::get_node_by_id(netif_-node()-nodeid()); if (node_ != NULL){ MobileNode *bs_ = (MobileNode *) Node::get_node_by_id(src); if (bs_!= NULL) { node_-set_base_stn(bs_-address()); } } The problem here is in this line: MobileNode *bs_ = (MobileNode *) Node::get_node_by_id(src); get_node_by_id(src) waits for an node ID, not a MAC ID (they aren't the same). src it the basestation mac id, so the question is: How to get the basestation node ID??? (this code is in the mobile node mac instance, so no problem to get mobile node ID from the Mobile node mac id: netif_-node()-nodeid())) In order to avoid this problems I assign to the MAC ID the same ID from the node where it is, so get_node_by_id(src) returns the good one. Is this a bug?? I hope I have explained my problem in a understandable way. I tried to do that as crearly as I could. Best regards and thanks for your help. Pedro J. Fernández -- Pedro Javier Fernández Ruiz Faculty of Computer Science - University of Murcia Murcia - Spain Phone: +34 968 364644 (Dibulibu) - Mobile: +34 657112324 e-mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[ns] Steps to Extend OSPF into wireless Ad Hoc (MANET)
HeLLo :) :) I want to implement OSPF on wireless Ad hoc I have OSPF implementation on wired network simulation but I want to extend it to work on wireless Ad hoc or mobile Ad hoc (MANET) :) WHAT ARE STEPS TO PREFORME THIS WORK ? for sure .. I begun to extent onto this ns-2.31/tcl/lib/ns-mobilenode.tcl ns-2.31/tcl/lib/ns-lib.tcl ns-2.31/tcl/lib/ns-agent.tcl ns-2.31/tcl/lib/ns-packet.tcl Are this GooD ?!! And what else ? THAnKS FOR ALL :) srrrOMY
[ns] ALOHA Mac Layer Protocol for wireless NS2 ??
Hi all, I have to implement an pure aloha mac protocol for my wireless comunication in ns2. I work with the NRLSensorSim extensions for sensor networks and ns-allinone-2.27. Someones know if it comes implemented in ns2??? In ns/mac there are: mac-802_11.cc, mac-802_3.cc, mac.cc, mac-csma.cc, mac-multihop.cc, mac-simple.cc, mac-tdma.cc, mac-timers.cc, smac.cc Is one of those who implement the aloha ??? What about mac-simple ??? and mac ?? Thank you
[ns] How to simulate a smurf attack?
Dear all,Later I want to simulate a smurf attack and there are two problems.(1)The attack node send a ping packet what's source address is other node's.So it is forgerying IP address. (2)Can a Agent connect mang Agent?There is a wrong when I do it.Such as:ping start-WL-brdcast, and then,--- Classfier::no-slot{} default handler (tcl渂/ns-lib.tcl) --- _o12: no target for slot -1 _o12 type: Classifier/Hash/Dest content dump: classifier _o12 0 offset 0 shift 2147483647 mask 1 slots slot 0: _o920 (Classifier/Port) -1 default -- Finished standard no-slot{} default handler -- Thank you very much!
[ns] Ad Hoc routing Documentation
First of all, thanks for the one of you who provide me help during the last three month. I've made my project report available, if some people are interested, it is available at http://ptitgallou.free.fr. Also, I've made correction to the ZRP and UM-OLSR implementation in order to run properly (almost) under ns-2.31, if you are interested, contact me. _ Essayez Live.com et créez l'Internet qui vous ressemble : infos, sports, météo et bien plus encore ! http://www.live.com/getstarted
[ns] print routing table
Hello all ns-users, I'd like to print the routing table for each node ,I am using DSR protocol,so is there a ready function that print the routing table? Also I want to add a field in the RREQ , RREP messages of DSR protocol , Which struct or class that handle this structure. Thanks in advane - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
[ns] wireless-wired-satellite scenario problem
Hi guys, i want to create a mixed scenario, using wireless and satellite nodes. the problem is that in wireless i have to use hiererchical addressing, and in satellite nodes i can't do that. can anyone help me? Alex Luigi RICOBON Tel: +393928007579 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] problem regarding random motion of nodes
How to get the random motion with manually given speed with the randomly generated nodes in a fixed area? - Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
[ns] ns bibtex entry
Could anyone send the bibtex entry for NS-2 reference? Thank you in advance /salva