Re: [ns] cbr packet loss or packet count scripts in perl

2007-09-05 Thread Julian Monteiro

ops, the link was splitted, here it goes again:

http://fly.ath.cx/mobidyn/software

On Sep 5, 2007, at 1:12 AM, Julian Monteiro wrote:


 Hello Sayeed,

 I've another awk NS2 trace file analyzer here:  http://fly.ath.cx/
 mobidyn
 (download the genstats11.awk)

 Best regards,
 Julian

 On Sep 4, 2007, at 12:56 PM, Sayeed Ahmed wrote:


 Hi,

 Hi there I've got a script to analyse packets awk file

   Can you please tell from where you get the awk script example
 I will help me a lot.

   Thanking you,

   Sayeed.


 JEHD MAHDI [EMAIL PROTECTED] wrote:





 J Mahdi
 Newcastle Upon Tyne
 **
 My favourite sites:
 www.al-islam.com
 www.islamspirit.com
 www.troid.org



 From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: cbr packet
 loss  or packet count scripts in perlDate: Sun, 2 Sep 2007
 17:36:47 +


 Hi there I've got a script to analyse packets awk file, but it
 doesn't work, but i know that perl scripts would work, any one
 could help with a similar one in perl...cheers


 J Mahdi
 Newcastle Upon Tyne
 **


 Are you the Quizmaster? Play BrainBattle with a friend now!
 _
 Discover the new Windows Vista
 http://search.msn.com/results.aspx?q=windows+vistamkt=en- 
 USform=QBRE



 -
 Shape Yahoo! in your own image.  Join our Network Research Panel
 today!




Re: [ns] Ns-users Digest, Vol 45, Issue 4

2007-09-05 Thread kenneth nwizege

i have a problem the foloowing problem in NS2
  (1) How to allocate buffer size
   
  (2) why is that +(Enqueue) and - (Dequeue) in trace files are sometime the 
same, when Enqueue means Arrival at the queue and Dequeue is departing , what 
is the reeason behind this?
  (3) How do i calculate Throughput and Jitter from the data in my trace file?
  (4) How do i calculate Loss rate from the information in my  trace file.
  (5) how do i calcualte my sending time, because the trace file i got did not 
have sending time(s) what do i do?
  (6) can any one let me know how i can simply get the total (+), (-) , (r), in 
my trace file?
   
  thank you very much.
   
  

[EMAIL PROTECTED] wrote:
  Send Ns-users mailing list submissions to
ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

1. announcing ns-2.32 release and allinone package (Tom Henderson)
2. How to add a new routing protocol to ns2 (Ehsan Bagherian)
3. Re: How to add a new routing protocol to ns2 (Francisco J. Ros)
4. a question about Nils-Erik Mattsson's DCCP module (WangYaogong)
5. Re: Ns-users Digest, Vol 45, Issue 3 (JOE)
6. Buffer in Olsr (Sayeed Ahmed)
7. Re: cbr packet loss  or packet count scripts in perl
(Sayeed Ahmed)
8. printing the ackno (Sebastian Harko)
9. Passive Optical Network module (Renato Cassiolato)
10. Re: cbr packet loss  or packet count scripts in perl
(Mohammad Haseeb Zafar)


--

Message: 1
Date: Mon, 03 Sep 2007 22:34:12 -0700
From: Tom Henderson 
Subject: [ns] announcing ns-2.32 release and allinone package
To: ns list , [EMAIL PROTECTED], ns-developers

Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

This is to announce the posting of the ns-2.32 source code release and a 
corresponding ns-allinone-2.32 package.

Downloads are available at the Sourceforge project pages:
http://sourceforge.net/project/showfiles.php?group_id=149743
File checksums are located in the corresponding release notes on 
Sourceforge.

The following have been added to ns-2 since ns-2.31:
- enable Tk for ns-2 (Pedro Vale Estrela's patch)
- split validation tests into portable and non-portable tests
- SCTP enhancements and bug fixes (from University of Delaware PEL)
- change validation compression format to gzip
- updated Tcl/Tk (8.4.15) for the allinone package
A more descriptive change log is available at:
http://www.isi.edu/nsnam/ns/CHANGES.html

If people encounter problems with these releases, please post 
suggestions to the ns-developers mailing list, or file a bug report:
http://nsnam.isi.edu/nsnam/index.php/Contributing#Reporting_a_bug

For troubleshooting or workaround tips, please consult (and contribute 
to) the following wiki page:
http://nsnam.isi.edu/nsnam/index.php/Troubleshooting

- Tom



--

Message: 2
Date: Tue, 4 Sep 2007 00:17:04 -0700 (PDT)
From: Ehsan Bagherian 
Subject: [ns] How to add a new routing protocol to ns2
To: NS Users 
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1


Hi,
I am looking for some help in wireless ad-hoc routing in NS2 (version 2.31).
I am pretty new with NS-2 and going through the documentation.

I have a new routing protocol and I want to simulate it in NS2 but I have 
many problems with it. 

I saw that the others also had same problems but the document in 
http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf
help them but It does not work. 
Can you help me about this?


-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

--

Message: 3
Date: Tue, 4 Sep 2007 09:57:34 +0200
From: Francisco J. Ros 
Subject: Re: [ns] How to add a new routing protocol to ns2
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hi,

On Tuesday 04 September 2007 09:17, Ehsan Bagherian wrote:
 Hi,
 I am looking for some help in wireless ad-hoc routing in NS2 (version
 2.31). I am pretty new with NS-2 and going through the documentation.

 I have a new routing protocol and I want to simulate it in NS2 but I have
 many problems with it.

 I saw that the others also had same problems but the document in
 http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf
 help them but It does not work.

The link is available again, but please update your bookmarks to 
http://masimum.inf.um.es/?Documents

The old URL will be removed in the near future.

Regards,
fran

 Can you help me about this?


 -
 Be a better Globetrotter. Get better travel 

Re: [ns] printing the ackno

2007-09-05 Thread Teerawat Issariyakul


Hi,

A one-way TCP does not use field ackno_. Instead, the TCP Sink creates an
ACK packet by placing ACKNO in the field seqno_ of the ACK packet.

So you just need to print out  field seqno_  but you have to make sure
that the corresponding packet is an ACK number.

Cheers,
Teerawat

On 9/4/2007, Sebastian Harko [EMAIL PROTECTED] wrote:


Hello,
I want to print the acknowledgment number of every ACK in the terminal...
So I went to tcp.cc ( newack method ) and I did this:

cout  ACK number is:   tcph-ackno_  endl;

but all the ACK numbers it prints for a simple simulation are equal to
zero...
note that i was able to print the correct sequence numbers using the exact
same approach.
what am i doing wrong ?

regards




[ns] Wired cum Wireless routing using 802.11 snapshot.

2007-09-05 Thread senkindu

Hi Everyone,

I am doing research in the IEEE 802.11e hcca QoS enhancement using the ns2
802.11 snapshot ( ns-2-94a21377a8a6) by Mathieu Lacage.

I was looking through the NS2 developers' mailing list and I saw that
there was some attempts to implement Wired cum Wireless simulations using
the 802.11 snapshot, and Franceso Gringoli from the University of Brescia
mentioned that they had a script which they were going to try out. I have
tried to adapt the model from Marc Greis' tutotrial but with nos succes.

Does anyone have any tips or suggestions on this issue?

Thanks very much in advance.

Samuel Senkindu.











Re: [ns] For Throughput comparison of TCP Reno, Tahoe , SACK

2007-09-05 Thread WangYaogong

There is a classic paper on this: Simulation-based Comparisons of Tahoe, Rent, 
and SACK TCP by Kevin Fall and Sally Floyd.
 
And the scripts used in this paper seem to be available in the ns package.



 Date: Tue, 4 Sep 2007 22:31:09 -0700 From: [EMAIL PROTECTED] To: 
 ns-users@ISI.EDU Subject: [ns] For Throughput comparison of TCP Reno, Tahoe 
 , SACK   Hello I m a novice NS user. If i want to see some throughput 
 comparison of TCP Reno, Tahoe, SACK --- which steps i need to follow. If 
 someone can help me providing some good URL for learning my queries i will 
 be grateful.  [EMAIL PROTECTED] wrote:  Welcome to posting to the ns-users 
 mailing list!  We automatically send this message to every new person who 
 sends mail to the list. You should only receive it once. My apologies if 
 the program contacts you twice, perhaps because you have multiple e-mail 
 addresses or send mail from multiple machines.  If you are an experienced 
 ns-user who simply has not posted since we started using this responder, our 
 apologies for inconveniencing you with this message. This message is 
 intended to help inform users and cut down on redundant posts, which 
 benefits everyone.!
   Please look at the attached list of ns Frequently Asked Questions. If it 
answers your question, great! You're done. If not, please RE-SEND your 
original message to [EMAIL PROTECTED] A copy of your original message is 
included below for reference.  You will NOT have to do re-send your message 
every time you post, only the FIRST time you send from a new account. The goal 
is to quickly help new users find the FAQ (hopefully answering their 
question).  Thanks, -the ns development team   
   The Network Simulator ns-2: 
Frequently Asked Questions  (This FAQ is also on the web at 
http://www.isi.edu/nsnam/ns/ns-faq.html.)  * _Where do I get ns?_  From 
the ns web site at http://www.isi.edu/nsnam/ns/ns.html and the download page 
http://www.isi.edu/nsnam/ns/ns-tests.html.  * _What platforms does ns run on 
and what kind of hardware do I need?_  Please see where to start on the 
building ns web page: http://www.is!
 i.edu/nsnam/ns/ns-build.html#start.  * _What should I do if I have t
rouble downloading/extracting ns?_  This question is answered in detail at 
http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.  * _What should I 
do if I encounter problems building ns?_  Check: 1. the README that comes in 
the distribution (very brief), 2. the installation problems, bug fixes and 
help web page http://www.isi.edu/nsnam/ns/ns-problems.html, 3. the archives 
of the ns-users mailing list http://www.isi.edu/nsnam/ns/ns-lists.html, 4. 
post a bug report (see below) http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. 
 * _What do I do after I successfully build ns?_  + Put the path to your ns 
executable into your PATH environment + Put the path to your otcl into your 
LD_LIBRARY_PATH environment + Put the path to your tcl library into your 
TCL_LIBRARY environment  * _Where can I find documentation for ns?_  All 
documentation is linked from the main ns web page 
http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial (originally 
fro!
 m Marc Greis) and a reference manual (ns notes and documentation).  * 
_Words, words, words... that documentation is nice, but where are some sample 
scripts I can start from?_  Many sample scripts can be found in the ns 
distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test.  * _What protocols does ns 
support?_  A lot! Almost all variants of TCP, several forms of multicast, 
wired networking, several ad hoc routing protocols and propagation models (but 
not cellular phones), data diffusion, satellite, and other stuff. See the 
documentation (described above) for details, or download ns and look.  * 
_How do I know that ns correctly implements these protocols?_  Ns has 
validation tests that cover many protocols, see 
http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are 
responsible for verifying that ns is accurate for their purposes---since we 
cannot foresee all the ways ns may be used, we cannot test all cases with all 
inputs.  * _Are there a!
 ny contributed/additional protocols not in the main distribution?_ 
 Yes, please see the contributed code web page 
http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can 
also be helpful (see below).  * _How should I get started doing something 
(like implementing a new protocol or trying an experiment)?_  We recommend 
that you look through the tutorial (see documentation, above), then start with 
an example program that is most similar to yours (in the tutorial, or in 
tcl/ex or tcl/test in the distribution), and then start changing things.  * 
_What should I do to compile ns to reflect my changes if I've modified some 
.cc or .h files?_  go to ns directory and run make or make depend; make 
 * _How do I subscribe to the ns-users mailing list? How do I search old list 

[ns] Simulate multihoming in wireless environment

2007-09-05 Thread Nitin Maslekar

Hi All NS users.

I was trying to simulate wired sum wireless scenario in NS2 using multimode
sctp as the transport protocol..
But when i sumulate it i get errors...
Can anyone help

thanks in advance

Nitin


Re: [ns] For Throughput comparison of TCP Reno, Tahoe , SACK

2007-09-05 Thread aservin


  I am just reading this document to get some data to calculate RTT in
TCP. I think that you may find it helpful too.

http://www.netlab.hut.fi/~jmantti3/pubs/special_study.pdf

-as


 Hello I m a novice NS user. If i want to see some throughput
 comparison of TCP Reno, Tahoe, SACK  --- which steps i need to follow.
  If someone can help me providing some good URL for learning my
 queries i will be grateful.

 [EMAIL PROTECTED] wrote:
 Welcome to posting to the ns-users mailing list!

 We automatically send this message to every new person who sends mail
 to the list. You should only receive it once. My apologies if the
 program contacts you twice, perhaps because you have multiple e-mail
 addresses or send mail from multiple machines.

 If you are an experienced ns-user who simply has not posted since we
 started using this responder, our apologies for inconveniencing you
 with this message. This message is intended to help inform users and
 cut down on redundant posts, which benefits everyone.

 Please look at the attached list of ns Frequently Asked Questions.
 If it answers your question, great! You're done.
 If not, please RE-SEND your original message to [EMAIL PROTECTED]
 A copy of your original message is included below for reference.

 You will NOT have to do re-send your message every time you post, only
 the FIRST time you send from a new account. The goal is to quickly
 help new users find the FAQ (hopefully answering their question).

 Thanks,
 -the ns development team


 


 The Network Simulator ns-2: Frequently Asked Questions

 (This FAQ is also on the web at
 http://www.isi.edu/nsnam/ns/ns-faq.html.)

 * _Where do I get ns?_

From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and
 the download page http://www.isi.edu/nsnam/ns/ns-tests.html.

 * _What platforms does ns run on and what kind of hardware do I
 need?_

 Please see where to start on the building ns web page:
 http://www.isi.edu/nsnam/ns/ns-build.html#start.

 * _What should I do if I have trouble downloading/extracting ns?_

 This question is answered in detail at
 http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.

 * _What should I do if I encounter problems building ns?_

 Check:
 1. the README that comes in the distribution (very brief),
 2. the installation problems, bug fixes and help web page
 http://www.isi.edu/nsnam/ns/ns-problems.html,
 3. the archives of the ns-users mailing list
 http://www.isi.edu/nsnam/ns/ns-lists.html,
 4. post a bug report (see below)
 http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.

 * _What do I do after I successfully build ns?_

 + Put the path to your ns executable into your PATH environment
 + Put the path to your otcl into your LD_LIBRARY_PATH
 environment
 + Put the path to your tcl library into your TCL_LIBRARY
 environment

 * _Where can I find documentation for ns?_

 All documentation is linked from the main ns web page
 http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial
 (originally from Marc Greis) and a reference manual (ns notes and
 documentation).

 * _Words, words, words... that documentation is nice, but where are
 some sample scripts I can start from?_

 Many sample scripts can be found in the ns distribution in
 ~ns-2/tcl/ex and ~ns-2/tcl/test.

 * _What protocols does ns support?_

 A lot! Almost all variants of TCP, several forms of multicast,
 wired networking, several ad hoc routing protocols and propagation
 models (but not cellular phones), data diffusion, satellite, and
 other stuff. See the documentation (described above) for details,
 or download ns and look.

 * _How do I know that ns correctly implements these protocols?_

 Ns has validation tests that cover many protocols, see
 http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately
 users are responsible for verifying that ns is accurate for their
 purposes---since we cannot foresee all the ways ns may be used, we
 cannot test all cases with all inputs.

 * _Are there any contributed/additional protocols not in the main
 distribution?_

 Yes, please see the contributed code web page
 http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list
 archives can also be helpful (see below).

 * _How should I get started doing something (like implementing a new
 protocol or trying an experiment)?_

 We recommend that you look through the tutorial (see
 documentation, above), then start with an example program that is
 most similar to yours (in the tutorial, or in tcl/ex or tcl/test
 in the distribution), and then start changing things.

 * _What should I do to compile ns to reflect my changes if I've
 modified some .cc or .h files?_

 go to ns directory and run make or make depend; make

 * _How do I subscribe to the ns-users mailing list? How do I search
 old list archives? I can't take any more---how do I get off this
 list?_

 To subscribe or unsubscribe, see
 http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at
 

[ns] implemention of wireless ad hoc network with ns2

2007-09-05 Thread Bin Zhang

hi dear users,

i would like to do some research with regard to video streaming through 
the wireless ad hoc network. Because I am Video-Coder and didn't have 
any experience to implement network with NS2.  So it would be very 
helpful, if anybody could give some some ideas about the implementation 
or even some script at hand to support my research?   I am appriciated 
for any kind of response.

thanks,

B. Zhang



Re: [ns] implemention of wireless ad hoc network with ns2

2007-09-05 Thread Hui Yang

Take a look at this website. It's very helpful
http://hpds.ee.ncku.edu.tw/~smallko/ns2/Evalvid_in_NS2.htm

Best,

Hui



From: Bin Zhang [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Subject: [ns] implemention of wireless ad hoc network with ns2
Date: Wed, 05 Sep 2007 17:45:17 +0200


hi dear users,

i would like to do some research with regard to video streaming through
the wireless ad hoc network. Because I am Video-Coder and didn't have
any experience to implement network with NS2.  So it would be very
helpful, if anybody could give some some ideas about the implementation
or even some script at hand to support my research?   I am appriciated
for any kind of response.

thanks,

B. Zhang


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



[ns] wpan 802.15.4 MCPS_DATA_request

2007-09-05 Thread Francesco Magistro

Have anybody ever successfully used this primitive?!
It's a couple of weeks that I'm trying to transfer my own data packet using 
that but not a packet leaves my nodes!
Please help me

_
Crea GRATIS i tuoi biglietti da visita su Windows Live Messenger! 
http://www.messenger.it/biglietti_da_visita.html



[ns] Need help simulating model

2007-09-05 Thread Brenda Lindsay Williams

Hi I'm trying to simulate a core network and carry out measurements based on
VoIP QoS parameters...
I wanna connect 3-4 WAN models to a core network which consists of
routers...
Can someone pls give me an idea of how to go about this using NS-2...
what would my tcl scripts look like?
how many nodes do i need for each WAN and how can I interconnect them to
depict a proper WAN model?
how can I use tcl scripts to configure a core network which consists of
routers and manage traffic?
Please someeone help.
Thanks

Regards,

Brenda


[ns] Agent/TCP and Agent/TCPSink/Sack1/DelAck parameters

2007-09-05 Thread Jasin Zujovic

Can someone help me with an explanation of the following parameters of
the TCP agent:

timestamps_
partial_ack_

And for the sink agent:

generateDSacks_
ts_echo_rfc1323_
interval_

Pointing me at appropriate documentation would be just as appreciated,
but I've had no luck finding it on my own.


-- 
Jasin



[ns] Relation between cwnd and rate?

2007-09-05 Thread Jasin Zujovic

I'm simulating CUBIC using TCP Linux and tracking cwnd and sending
rate but the results are somewhat puzzling.

I would expect the sending rate to equal

cwnd * MSS / delay

but it doesn't. It appears to be correct in itself (~90% of the link
bandwidth), but the formula above suggest a rate about 3.5 times
higher for all my experiments, with varying bandwidth, number of TCP
flows and delay.

What am I missing?


-- 
Jasin



Re: [ns] share a debug tools packet

2007-09-05 Thread Pedro Estrela

hi!

this is a very welcome and interesting patch.
I'll test it on monday and mention on my web page

If it gest sufficient test, I can try to push it to the developers into
v2.33

regards
pedro vale estrela


On 9/5/07, Ye YiBin [EMAIL PROTECTED] wrote:

 Recent release of ns-2.32 enable Tk for ns-2. Patches contributed by
 Pedro Vale Estrela: Pedro's debugging page:
 http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging2.html

 Here's a patch that I created for enabling all the debug
 features,described on the page above, only with a few commands.

 Extract it in the ns-allinone-2.32 directory,
 cd ns-allinone-2.32/debug-allinone
 ./debuginstall
 cd ..
 ./install
 source debug-allinone/addpath

 (You can run debuginstall either before or after installing
 ns-allinone-2.32)
 After these step, you can do both c++ debugging and tcl debugging.
 Further guide after installing the debug tools:
 http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging3.html

 --
 Regards
 -Ye