hi all 
   
   
  I'm doing a project using ns2 with CBR data generator this projrct I 
finished, but I'm going to do also VBR and compare these two traffic generators 
behaviors.
   
  Please if anybody have or know where I can obtain the VBR code it will 
significantly 
  be appreciated.
   
  thanks inadvance
   
  Sayid
   
  

[EMAIL PROTECTED] wrote:
  Send Ns-users mailing list submissions to
[email protected]

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. trace file question (Ethan Giordano)
2. Re: wireless ping broadcast questions (Faisal Siddiqui)
3. Re: ns routing algorithms understanding (Faisal Siddiqui)
4. Re: wireless ping broadcast questions (k s)
5. speed of a wireless node?? (pallav saxena)
6. Implementation of ITCP (jayeeta biswas)
7. Re: wireless ping broadcast questions (Hajer FERJANI)
8. What is role of common header and IP header ? (jeevesh sharma)
9. What is role of common header and IP header ? (jeevesh sharma)
10. Regarding the implementation of spbm in ns-2
(Bhoi Maheshbhai Mohanbhai)
11. Re: wireless ping broadcast questions
(zze-TOUROLLE Benjamin RD-CORE-CAE)
12. Re: researches on ad hoc (choong cheong)
13. difference between window_ and maxcwnd_ in TCP (anand kunde)
14. wireless ping broadcast questions (Sanjay Raghani)
15. Re: Traffic simulation in 3G/WCDMA network using NS2 (Qie Tao)
16. need help with TKN 802.11e (asma a)
17. Re: Traffic simulation in 3G/WCDMA network using NS2
(Martina Umlauft)
18. Re: Traffic simulation in 3G/WCDMA network using NS2 (Qie Tao)
19. the power of the signal received (www triste)
20. Re: Installing ns-2 (any version) in Fedora Core 5 (Ilyes Gouta)
21. Re: Installing ns-2 (any version) in Fedora Core 5 (Ilyes Gouta)
22. IPv6 support in ns2 ([EMAIL PROTECTED])
23. creating a mac packet and broadcasting it
([EMAIL PROTECTED])


----------------------------------------------------------------------

Message: 1
Date: Thu, 11 May 2006 20:38:29 -0400
From: Ethan Giordano 
Subject: [ns] trace file question
To: NS Users-List 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Is there an easy way to get the TCP "reason" field from the header into 
the trace file? I'd like an easy way to pick out timeouts and fast rtx's.

Thanks,

~Ethan



------------------------------

Message: 2
Date: Thu, 11 May 2006 22:40:16 -0400
From: "Faisal Siddiqui" 
Subject: Re: [ns] wireless ping broadcast questions
To: "[EMAIL PROTECTED]" 
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Kathy,

Are you properly enabling/setting multicast protocol settings in your Tcl
script for the simulation? I think this error screams about that setting.

- Faisal


On 5/11/06, [EMAIL PROTECTED] wrote:
>
>
> Hi,
>
> I was messing around with the ping agent from Marc Greis' Tutorial, and
> wanted to change the ping to a broadcast. I added the IP header stuff as
> I've seen elsewhere online,
>
> hdr_ip *ip = hdr_ip::access(pkt);
> ip->daddr() = IP_BROADCAST;
>
> and now I get this error:
>
> -- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
> _o996: no target for slot -1
> _o996 type: Classifier/Port
> content dump:
> classifier _o996
> 0 offset
> 0 shift
> 2147483647 mask
> 2 slots
> slot 0: _o1111 (Agent/Ping)
> slot 255: _o983 (Agent/DSDV)
>
> I can't find out how to fix it and I don't know anything about
> Classifiers. I realize that there was no port assigned to Ping, but how do
> I fix this?
>
> My other question is, do I have to use an IP_Broadcast? Can I just use a
> MAC_BROADCAST?
>
> Kathy
>
>
>
>
>


------------------------------

Message: 3
Date: Thu, 11 May 2006 22:44:24 -0400
From: "Faisal Siddiqui" 
Subject: Re: [ns] ns routing algorithms understanding
To: "Augusto Castelan Carlson" 
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I have been modifying NS2 over the last several weeks to suit my simulation
requirements. I agree with your comment that adding any sort of new features
results in a lot of unknown errors owing to the not so clear documentation
available. I now just modify the existing methods in order to avoid hassle
of searching places where should I include neccessaty snippets of code to
build my simulator.

- Faisal


On 5/10/06, Augusto Castelan Carlson wrote:
>
>
> Hi!
>
> I'm reading _The ns Manual_. When they talk about routing in chapter 28,
> it says
> that Static and Session routing use Dijkstra, and that Dynamic routing
> uses
> Bellman-Ford.
>
> Where are these algorithms implemented and refered in the ns source?
>
> I tryed to find them without success. I made a research in the mailing
> list
> archives, but found nothing helpful.
>
> I'm interested to have a good understanding of the already implemented
> algorithms and manipulate them. With this understanding I can become
> familiar
> with ns source code and implement my own algorithm and maybe, my own
> protocol.
> I also have read the FAQ, Marc's tutorial and the document "Implementing a
> New
> Manet Unicast Routing Protocol in NS2", but when I compile the source
> files, I
> get many errors. As I'm interested in tradicional routing, I'm a little
> bit
> distrustful to become confused with tradicional routing and wireless
> routing.
>
> Thank you very much in advance.
>
> Cheers,
>
> Augusto
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>


------------------------------

Message: 4
Date: Thu, 11 May 2006 20:00:57 -0700
From: "k s" 
Subject: Re: [ns] wireless ping broadcast questions
To: "'Faisal Siddiqui'" 
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

Hi Faisal,



I wasn't aware of any other settings besides the IP_BROADCAST. Which ones
are you referring to?



Kathy



_____ 

From: Faisal Siddiqui [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 7:40 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [ns] wireless ping broadcast questions



Hi Kathy,



Are you properly enabling/setting multicast protocol settings in your Tcl
script for the simulation? I think this error screams about that setting.



- Faisal



On 5/11/06, [EMAIL PROTECTED] wrote: 


Hi,

I was messing around with the ping agent from Marc Greis' Tutorial, and
wanted to change the ping to a broadcast. I added the IP header stuff as
I've seen elsewhere online, 

hdr_ip *ip = hdr_ip::access(pkt);
ip->daddr() = IP_BROADCAST;

and now I get this error:

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o996: no target for slot -1 
_o996 type: Classifier/Port
content dump:
classifier _o996
0 offset
0 shift
2147483647 mask
2 slots
slot 0: _o1111 (Agent/Ping)
slot 255: _o983 (Agent/DSDV) 

I can't find out how to fix it and I don't know anything about Classifiers.
I realize that there was no port assigned to Ping, but how do I fix this?

My other question is, do I have to use an IP_Broadcast? Can I just use a
MAC_BROADCAST? 

Kathy









------------------------------

Message: 5
Date: Fri, 12 May 2006 06:14:17 +0100 (BST)
From: pallav saxena 

Subject: [ns] speed of a wireless node??
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

hi all
anybody knows how i can get the speed of a wireless node?????nodes in 
a mobile ad hoc network are constantly in motion..... how can i know 
the speed of such a mobile node in ns2....
thanks in advance
pallav



---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge 
on Yahoo! India Answers
Send instant messages to your online friends - NOW

------------------------------

Message: 6
Date: 12 May 2006 06:29:27 -0000
From: "jayeeta biswas" 
Subject: [ns] Implementation of ITCP
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

?
Dear friends
I want to implement the Split connection in wireless doamin using ITCP 
protocol.Some buffer space has to be allocated in base station to deal with 
handoff. Exactly where in the code i should manupulate. can anyone help me.
Jayeeta



------------------------------

Message: 7
Date: Fri, 12 May 2006 09:12:36 +0200
From: "Hajer FERJANI" 
Subject: Re: [ns] wireless ping broadcast questions
To: "[EMAIL PROTECTED]" 
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Kathy,

May be all you need is to assign a port number for the ping agent that
you will use when sending packets in your c++ code. Then, in TCL
script, you have to create ping agents and to attach them to nodes
with this port number.

Example :

- In .h and .cc files:

#define MY_PING_PORT 113
struct hdr_ip *ih = HDR_IP(p);
ih->daddr() = dest; // destination node address
ih->saddr() = index;
ihpk->sport() = MY_PING_PORT ;
ihpk->dport() = MY_PING_PORT ;

- In .tcl script :

#creating ping agents and attaching them to nodes through port 113.
for {set j 0} {$j < $opt(nn) } {incr j} {
set clagent_($j) [new Agent/Ping ... ]
$node_($j) attach $clagent_($j) 113
}


Hope it helps.
Regards.



On 5/12/06, [EMAIL PROTECTED] wrote:
>
> Hi,
>
> I was messing around with the ping agent from Marc Greis' Tutorial, and 
> wanted to change the ping to a broadcast. I added the IP header stuff as I've 
> seen elsewhere online,
>
> hdr_ip *ip = hdr_ip::access(pkt);
> ip->daddr() = IP_BROADCAST;
>
> and now I get this error:
>
> -- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
> _o996: no target for slot -1
> _o996 type: Classifier/Port
> content dump:
> classifier _o996
> 0 offset
> 0 shift
> 2147483647 mask
> 2 slots
> slot 0: _o1111 (Agent/Ping)
> slot 255: _o983 (Agent/DSDV)
>
> I can't find out how to fix it and I don't know anything about Classifiers. I 
> realize that there was no port assigned to Ping, but how do I fix this?
>
> My other question is, do I have to use an IP_Broadcast? Can I just use a 
> MAC_BROADCAST?
>
> Kathy
>
>
>
>
>



------------------------------

Message: 8
Date: Fri, 12 May 2006 08:15:16 +0100 (BST)
From: jeevesh sharma 
Subject: [ns] What is role of common header and IP header ?
To: NS USERS 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

HI all,
I am confused about the communication in ad hoc networks and role of common 
header and IP header. I want to know that when i have following topology.

A------------B---------------C-------------------D
source destination


A is the source and want to send the packet to D. Because D is not in his 
communication range, so he chooses B as forwarding node. B chooses C and so on. 

But when A sends packet to B. it sets IP header of the packet. In IP header 
source is A and destination is B. 

Now my question is....How B comes to now about D as destination? And What is 
the role of Common Header here? Is common header is in the data part of IP 
packet? when I sends a packet from application layar, it is of 512 bytes. But 
when node transmitts it at IP layer, it is of 532 bytes. So only 20 bytes 
added. as it happens in IP protocol. Where is the common header part?

Can any one explain it clearly? Thanks in advance.

jeevesh kumar 





---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge 
on Yahoo! India Answers
Send instant messages to your online friends - NOW

------------------------------

Message: 9
Date: Fri, 12 May 2006 08:15:30 +0100 (BST)
From: jeevesh sharma 
Subject: [ns] What is role of common header and IP header ?
To: NS USERS 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

HI all,
I am confused about the communication in ad hoc networks and role of common 
header and IP header. I want to know that when i have following topology.

A------------B---------------C-------------------D
source destination


A is the source and want to send the packet to D. Because D is not in his 
communication range, so he chooses B as forwarding node. B chooses C and so on. 

But when A sends packet to B. it sets IP header of the packet. In IP header 
source is A and destination is B. 

Now my question is....How B comes to now about D as destination? And What is 
the role of Common Header here? Is common header is in the data part of IP 
packet? when I sends a packet from application layar, it is of 512 bytes. But 
when node transmitts it at IP layer, it is of 532 bytes. So only 20 bytes 
added. as it happens in IP protocol. Where is the common header part?

Can any one explain it clearly? Thanks in advance.

jeevesh kumar 





---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge 
on Yahoo! India Answers
Send instant messages to your online friends - NOW

------------------------------

Message: 10
Date: Fri, 12 May 2006 08:26:08 +0100 (BST)
From: Bhoi Maheshbhai Mohanbhai 
Subject: [ns] Regarding the implementation of spbm in ns-2
To: [email protected], [EMAIL PROTECTED], [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Any one having the implemetation of SPBM attached with this mail.In that file 
it is written that it is implemented in ns-2 but I don't find it.if Any one 
having that reply as soon as possible.Please help me for that code.



Mahesh


---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge 
on Yahoo! India Answers
Send instant messages to your online friends - NOW

---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge 
on Yahoo! India Answers
Send instant messages to your online friends - NOW

------------------------------

Message: 11
Date: Fri, 12 May 2006 12:35:28 +0200
From: "zze-TOUROLLE Benjamin RD-CORE-CAE"

Subject: Re: [ns] wireless ping broadcast questions
To: , 
Message-ID:


Content-Type: text/plain; charset="iso-8859-1"

Hi Kathy,

Did you check common header fields? You have probably forgotten to specify the 
next hop address. For a broadcast, you have to set also these values:

struct hdr_cmn* ch = HDR_CMN(pkt);

ch->next_hop() = IP_BROADCAST;
ch->addr_type() = NS_AF_INET;

Hope it will help you.

Regards

Benjamin


-----Message d'origine-----
De?: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED]
Envoy??: vendredi 12 mai 2006 00:27
??: [email protected]
Objet?: [ns] wireless ping broadcast questions


Hi,

I was messing around with the ping agent from Marc Greis' Tutorial, and wanted 
to change the ping to a broadcast. I added the IP header stuff as I've seen 
elsewhere online,

hdr_ip *ip = hdr_ip::access(pkt);
ip->daddr() = IP_BROADCAST;

and now I get this error:

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o996: no target for slot -1
_o996 type: Classifier/Port
content dump:
classifier _o996
0 offset
0 shift
2147483647 mask
2 slots
slot 0: _o1111 (Agent/Ping)
slot 255: _o983 (Agent/DSDV)

I can't find out how to fix it and I don't know anything about Classifiers. I 
realize that there was no port assigned to Ping, but how do I fix this?

My other question is, do I have to use an IP_Broadcast? Can I just use a 
MAC_BROADCAST?

Kathy






------------------------------

Message: 12
Date: Fri, 12 May 2006 04:00:18 -0700 (PDT)
From: choong cheong 
Subject: Re: [ns] researches on ad hoc
To: "Güzin" "UlutaÅ" , j e 
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

Hi all,

I have faced a problem here when i try for this example. I can compile it. An 
error is occur when i run the wireless1.tcl . The steps are describe as below,

1. I amended the adhocRouting from DSR to Protoname.
2. I add "Agent/TokenRing set accesible_var_ true" 
3. save and run "ns wireless1.tcl"
4. An error is appear "Segmentation fault"
5. I repeat the steps from 1 to 2 for wireless3.tcl
6. An error is appear "Error" str2addr: Address 9771255 outside range of 
address field length 1024

Your kindly help is much appreciated.

Thanks

Best regards,
Choong Wing Cheong


G??zin Uluta?? wrote:

Hi Cemal,
I can suggest you something that I learned. First of all, you must 
understand what is the interaction between the otcl and c++. When you 
use which of one. And then "implementing a new manet routing protocol 
" is a good 
tutorial. This tutorial suggest you, some chapters from ns manual that 
must be read before reading this document. I think, you must observe 
dsdv and aodv codes. First of all, it can be hard for you, but you must 
be patient. Have a good luck.

Guzin Ulutas (CEng)



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

------------------------------

Message: 13
Date: Fri, 12 May 2006 16:53:09 +0530
From: "anand kunde" 
Subject: [ns] difference between window_ and maxcwnd_ in TCP
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello everybody,
for limiting the TCP congestion window cwnd_ to a
value(i.e it shouldn't exceed, providing a max window size bound), what is
the corresponding variable in ns2. Is it window_ or maxcwnd_ ???
whatz the difference between these two variables???
plz clarify my doubt.
Thanks in advance..
-- 
Regards
Anand Kunde


------------------------------

Message: 14
Date: Fri, 12 May 2006 07:04:43 -0700
From: "Sanjay Raghani" 
Subject: [ns] wireless ping broadcast questions
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,
The code for the ping agent in apps/ping.cc is written for
"connected agents" it assumes that you connect the agents in the tcl file to
associate the address. But when you use broadcast address, you would not
connect the agents so one has to set the address fields of ip header.

What is required is to modify the recv funtion to set the ip header fields
of reply packet saddr,daddr, sport,dport.

hdr_ip* hdrip = (hdr_ip*)pkt->access(off_ip_);

Packet* pktret = allocpkt();
hdr_ip* hdripret = (hdr_ip*)pktret->access(off_ip_);


=== message truncated ===


                    
     





                
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase 

Reply via email to