Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-11-06 Thread bostanip
Hi Paulo, Sorry to bother you, but I have just seen your question and I have a similar problem: I would like a source node (n0) to broadcast CBR packets via UDP to 1 hop neighbors (n1,n2) in a wireless dhoc network (either CMU 802.11 or 802.11 ext). After if that succeeds, I would like to incre

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Alysson Oliveira
Hi Paulo, Read carefully the documents I had pointed before! They would explain you how to proceed. Regards, Alysson 2012/5/2, Paulo Robson S. F. : > Hi guys again :) > > Sorry for too much questions :) > > When I tried to add the scenario above ( broadcasting + cbr traffic flow) > the dst_

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Paulo Robson S. F.
Hi guys again :) Sorry for too much questions :) When I tried to add the scenario above ( broadcasting + cbr traffic flow) the dst_addr_ -1 didn't work anymore, the simulation finishes but the trace file ends incomplete. For my luck, i tried, i don't know why, to set dst_addr_ -2 and works! In t

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Paulo Robson S. F.
Hi, I forgot to show this page: http://www.math.unipd.it/~cpalazzi/fastbroadcast.html what do you think of this broadcast agent? Att 2012/5/2 Paulo Robson S. F. > Hi guys, thanks for the feedback. > > Alysson, > > > The Agent PBC is a broadcast but is only ping, I tested it before and is > n

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Paulo Robson S. F.
Hi guys, thanks for the feedback. Alysson, The Agent PBC is a broadcast but is only ping, I tested it before and is no good for me. I dont understand this agent Flooding at all, I need to use it? Are you saying the only way to broadcast is to use one of those agents? My way is wrong? Another

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Alysson Oliveira
Hi, You can see it on ns-2.34/tcl/ex/wireless-flooding.tcl and ns-2.34/tcl/ex/802.11/broadcast_validation.tcl witch uses a specific broadcast agent. Further details in ns-2.34/common/packet.h on lines 676 and 677: init(p); // Initialize bits_[] (HDR_CMN(p))->next_hop_ = -2; // -1 res

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-05-02 Thread Frank Wetzels
Hi, I have no solution for you in NS2. However, I have a remark on your address/port choice. I guess that by choosing -1, you fill the address field with 255.255.255.255 as IP address in dotted decimal notation? The port number choice of 0 is a bit strange. Although you are using IP broadcast

[ns] Broadcasting a UDP ns2.34 802.11Ext

2012-04-30 Thread Paulo Robson S. F.
Hi, I want to broadcast a packet using an udp agent. I found some solutions at this maillist but neither satisfactory. I just want to send broadcast packet from 1 node to another 2 nodes in his range. My idea was change the dst ip to -1 and dst port to 0 because i saw somewhere that is the way t