Re: [ns] How to create an agent in IP layer.

2009-02-24 Thread sahoo jagruti
day if you don't mind 
  and if it is convenient for  them

best regards
Anas  


--

Message: 5
Date: Sat, 7 Feb 2009 18:13:53 +0530
From: manish chaturvedi 
Subject: [ns] DSR agent traces
To: ns-users@ISI.EDU
Message-ID:
    
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

In my ns-2 simulation, I am trying to compute control packets overhead for a
given topology of 50 nodes. I was Thinking that DSR agent communicates three
types of packets, namely route requests(traced with -Pq 1), route reply
(traced with -Pp 1) and route error(traced with -Pw 1). But to my surprise,
I am getting traces of some other packets which has -Pq =-Pp=-Pw=0, and
still they are mentioned as DSR packets. I am pasting some portion of my
trace file for example. Does any body  know what are these packets all
about? Please inform. This is really very important for me.


These are configuration parameters listed in my trace file:

Sconfig 0.0 *tap: on snoop*: rts? on errs? on
Sconfig 0.0 *salvage: on* !bd replies? on
Sconfig 0.0 *grat error: on* *grat reply: on*
Sconfig 0.0 $*reply for props: on* *ring 0 search: on*
Sconfig 0.0 *using MOBICACHE*

And this is trace of DSR packet which was sent by node 1 to node 7, thru
nodes 2 and49.

s -t 174.915972216 -Hs 1 -Hd 2 -Ni 1 -Nx 457.34 -Ny 129.06 -Nz 0.00 -Ne
851.312714 -Nl RTR -Nw --- -Ma 13a -Md 1 -Ms 2b -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 255 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.924489065 -Hs 2 -Hd 2 -Ni 2 -Nx 623.71 -Ny 207.78 -Nz 0.00 -Ne
851.313684 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 255 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0 *-Pm 0 -Pc 0 -Pb 0->0
f -t 174.924489065 -Hs 2 -Hd 49 -Ni 2 -Nx 623.71 -Ny 207.78 -Nz 0.00 -Ne
851.313684 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 254 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.926795341 -Hs 49 -Hd 49 -Ni 49 -Nx 830.61 -Ny 112.90 -Nz 0.00 -Ne
851.456161 -Nl RTR -Nw --- -Ma 13a -Md 31 -Ms 2 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 254 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
f -t 174.926795341 -Hs 49 -Hd 7 -Ni 49 -Nx 830.61 -Ny 112.90 -Nz 0.00 -Ne
851.456161 -Nl RTR -Nw --- -Ma 13a -Md 31 -Ms 2 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 253 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.929020342 -Hs 7 -Hd 7 -Ni 7 -Nx 919.92 -Ny 158.09 -Nz 0.00 -Ne
851.513418 -Nl RTR -Nw --- -Ma 13a -Md 7 -Ms 31 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 253 -P dsr -Ph 4* -Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0


Thanking You all,
Manish.


--

Message: 6
Date: Sat, 7 Feb 2009 09:49:13 -0800 (PST)
From: Suba Shri 
Subject: [ns] How to create a module at MAC layer
To: mac-us...@mailman.isi.edu
Cc: ns-us...@mailman.isi.edu
Message-ID: <810830.65284...@web45815.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

May i know how to create a module at the MAC layer of the BS or MH in NS2?



I want to know whether we have to make changes in C++ or tcl script or both?And 
also how to make the changes?

If anyone knows,please help me.



Thanks in advance...




      

--

Message: 7
Date: Sat, 7 Feb 2009 09:53:06 -0800 (PST)
From: Suba Shri 
Subject: [ns] How to create a module at MAC layer
To: ns-users@ISI.EDU
Message-ID: <748723.52663...@web45810.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

May i know how to create a module at the MAC layer of the BS or MH in NS2?



I want to know whether we have to make changes in C++ or tcl script or both?And 
also how to make the changes?

If anyone knows,please help me.



Thanks in advance...




      

--

Message: 8
Date: Sat, 7 Feb 2009 10:28:15 -0800 (PST)
From: Suba Shri 
Subject: [ns] How to buffer packets
To: ns-users@ISI.EDU
Message-ID: <666203.21127...@web45802.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Do anyone know how to buffer the incoming packets from sender in base station?




      

--

Message: 9
Date: Sat, 7 Feb 2009 10:33:48 -0800 (PST)
From: Suba Shri 
Subject: [ns] How to create an agent in IP layer
To: ns-users@ISI.EDU
Message-ID: <408329.12690...@web45803.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

In the paper which i am implementing,they have inserted a module at MAC layer 
and an agent at IP layer.

Are agent and module one and the same???

How to insert the module at MAC layer and agent at IP layer?



      


[ns] How to create an agent in IP layer

2009-02-07 Thread Suba Shri

In the paper which i am implementing,they have inserted a module at MAC layer 
and an agent at IP layer.

Are agent and module one and the same???

How to insert the module at MAC layer and agent at IP layer?