[ns] ns-allinone-2.27 installation problem and BGP simulation

2006-11-15 Thread I F

Hi all,

Could someone please help me in installing NS 2.27.
I need this version in order to be able to use the NS BGP 2.0 :
http://www.ensc.sfu.ca/~ljilja/cnl/projects/BGP/

If no one can help me with the problem below, could you pplease tell
me how can I use BGP with NS.

Indeed, the compilation of the module tclcl failed. this is the message error.


In file included from tclcl.h:48,
from Tcl.cc:47:
tclcl-mappings.h: In static member function `static int
TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: erreur: type « Tcl » incomplet utilisé dans un
spécificateur de noms imbriqué
tclcl-mappings.h:52: erreur: invalid use of undefined type `struct Tcl'
tclcl-mappings.h:41: erreur: forward declaration of `struct Tcl'
tclcl-mappings.h:57: erreur: invalid use of undefined type `struct Tcl'
tclcl-mappings.h:41: erreur: forward declaration of `struct Tcl'
make: *** [Tcl.o] Erreur 1
tclcl-1.15 make failed! Exiting ...


Thank you for help
It is really urgent

I.



[ns] help: implementation of active scan in 802.11 for ns2

2006-11-15 Thread jiayang

Hi guys,

I'm recently studying how to reduce handoff time at MAC layer in 802.11, but
I find that there is no related implementation in ns-2.29. Does anybody know
where I could find the extended implementation of active scan or association
process in 802.11? I will really appreciate it if you offer any helpful
information as soon as possible. Thank you!

 

Best,

Jiayang

 



[ns] how to use dmux_ to get individual agents from the agent_ list

2006-11-15 Thread k m

Hi
  I am trying to find an agent among many in the agent_ list from an 
application. So there is no packet arrival that the address and port 
classifiers process to find the agent but instead how can an application find 
the reference to an agent by just knowing the port number. Then call the 
particular agents sendmsg() to send what ever it needs to send.
   
  Thanks in advance
  -Khurram 


-
The best gets better. See why everyone is raving about the All-new Yahoo! Mail. 
 


Re: [ns] Simulating channel Hopping in ns2

2006-11-15 Thread Pedro Vale Estrela



> I cannot help with the channel hopping. But to find problems with linked
> lists etc. in the C++ part of the code it is always a very good idea to

good tip

> run ns-2 using valgrind. Simulations will use a lot more time to run,
> but every strange or wrong memory access will be recognized.

As I explain here,
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging3.html
"Step 1 - Choosing a simpler scenario that is known to be correct", etc

the first step should be to simplify the scenario to make the debug
simulations run faster. A common tip that I use extensively is to generate a
lot less traffic (lower the rate for UDP; use lower link speeds for TCP).

For handling the parameters in the command line, I suggest this
http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652228

Pedro Vale Estrela





[ns] FW: Passing variables from Wireless-Phy to MAC

2006-11-15 Thread Dan Dechene

Hello again,

Specifically the received power. In wireless-phy.cc, the comparison is made
whether or not the received power meets the CSthresh and RXthresh. I want to
able store this received power (that is >Csthresh but mailto:[EMAIL PROTECTED] On Behalf
Of Dan Dechene
Sent: Wednesday, November 15, 2006 12:02 PM
To: NS-2
Subject: [ns] Passing variables from Wireless-Phy to MAC


Hello all,

 

I am trying to access information from each packet coming in at the PHY
Layer (wireless-phy) and access that information at the MAC layer. Does
anyone know a good way to pass this information up to the MAC (I am talking
about information for both packets received as well as ones that were not
received, so I cannot just simply grab that information from the packet
passed up).

 

Hope this makes sense.

 

Dan

 



Re: [ns] Simulating channel Hopping in ns2

2006-11-15 Thread Daniel Mahrenholz

Hi,
gaurav deshpande schrieb:
> Hi all,
>
> We intend to implement channel hopping using ns2 simulator. Has anyone tried 
> to implement hopping in ns2?
>
> Our approach: 
>
> We found that each channel (class WirelessChannel) keeps a linked list of all 
> nodes listening on that channel.  For a mobilenode to hop we wrote code to 
> dynamically  add and remove the node from this list. However, on running ns 
> we get a segmentation fault. The code we wrote looks something like:
>
>
> MobileNode* n = ;
> WirelessChannel new = ;
> WirelessChannel current = ;
>
> new.addNodeToList(n);
> current.removeNodeFromList(n);
>
>
> It would be great of someone share thier experience in implementing channel 
> hopping in ns2.
>   
I cannot help with the channel hopping. But to find problems with linked 
lists etc. in the C++ part of the code it is always a very good idea to 
run ns-2 using valgrind. Simulations will use a lot more time to run, 
but every strange or wrong memory access will be recognized.

Daniel.



Re: [ns] TCP or transport layer Tunneling

2006-11-15 Thread Peyman Behbahani

Dear Pedro,

Thank you for your reply. Actually I need to have TCP-in-TCP tunnelling.
Means the packet should encapsulated at R1 and send to R2. At R2 decapsulate
it sends back ACK to R1 and pass it towards Receiver. At the receiver or
TCP_sink again an ACK send back to the sender (or FTP_server).

(FTP_Srv)--(R1)==TCP Tunnel===(R2)(TCP_Sink)  

Regards,
Peyman

-Original Message-
From: Pedro Vale Estrela [mailto:[EMAIL PROTECTED] 
Sent: 15 November 2006 15:26
To: 'Peyman Behbahani'; ns-users@ISI.EDU
Subject: RE: [ns] TCP or transport layer Tunneling

The MIP (mobile IP) code in Ns2 has this already implemented using IP-in-IP
tunneling

Pedro Estrela

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Peyman Behbahani
> Sent: quarta-feira, 15 de Novembro de 2006 11:09
> To: ns-users@ISI.EDU
> Subject: [ns] TCP or transport layer Tunneling
> 
> 
> Dear Ns-Users,
> 
> 
> 
> I am wandering is there any implementation for TCP-over-TCP tunnelling or
> alternatively any idea about implementing such a scenario?
> 
> 
> 
> The topology can be as follow:
> 
> 
> 
> 
> 0-0=0-0
> sender  TCP  router2
> receiver
> 
> (TCP)   tunnel
> 
> 
> 
> Router 1 is working as a TCP-encapsulator and router 2 is a decapsulator.
> 
> 
> 
> Thanks in advance, bests
> 
> Peyman
> 
> 
> 
> 





[ns] Passing variables from Wireless-Phy to MAC

2006-11-15 Thread Dan Dechene

Hello all,

 

I am trying to access information from each packet coming in at the PHY
Layer (wireless-phy) and access that information at the MAC layer. Does
anyone know a good way to pass this information up to the MAC (I am talking
about information for both packets received as well as ones that were not
received, so I cannot just simply grab that information from the packet
passed up).

 

Hope this makes sense.

 

Dan

 



[ns] Simulating channel Hopping in ns2

2006-11-15 Thread gaurav deshpande

Hi all,

We intend to implement channel hopping using ns2 simulator. Has anyone tried to 
implement hopping in ns2?

Our approach: 

We found that each channel (class WirelessChannel) keeps a linked list of all 
nodes listening on that channel.  For a mobilenode to hop we wrote code to 
dynamically  add and remove the node from this list. However, on running ns we 
get a segmentation fault. The code we wrote looks something like:


MobileNode* n = ;
WirelessChannel new = ;
WirelessChannel current = ;

new.addNodeToList(n);
current.removeNodeFromList(n);


It would be great of someone share thier experience in implementing channel 
hopping in ns2.

Thanks,
Gaurav

 
-
Sponsored Link

Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate new 
house payment


[ns] R: how to calculate end to end delay in wireless scenario

2006-11-15 Thread Marco Fiore

Hi,

have a look at trace2stats, at http://www.reti.polito.it/fiore

bye,

Marco

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 15-nov-2006 10.38 AM
>A: "ns users"
>Ogg: [ns] 
how to calculate end to end delay in wireless scenario
>
>
>
> hi all,
>  
> can any one tell me, how to calculate end to end delay in 
wireless scenario from the trace output or in any other way.
> 
> its 
urgent please.
> 
> thanks in advance
> venkat.
>  
>
>-
>  Find out what India is talking 
about on  - Yahoo! Answers India 
>  Send FREE SMS to your friend's 
mobile from Yahoo! Messenger Version 8. Get it NOW
>
>   
>-
> Find out what India is talking 
about on  - Yahoo! Answers India 
> Send FREE SMS to your friend's 
mobile from Yahoo! Messenger Version 8. Get it NOW
>




Re: [ns] TCP or transport layer Tunneling

2006-11-15 Thread Pedro Vale Estrela

The MIP (mobile IP) code in Ns2 has this already implemented using IP-in-IP
tunneling

Pedro Estrela

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Peyman Behbahani
> Sent: quarta-feira, 15 de Novembro de 2006 11:09
> To: ns-users@ISI.EDU
> Subject: [ns] TCP or transport layer Tunneling
> 
> 
> Dear Ns-Users,
> 
> 
> 
> I am wandering is there any implementation for TCP-over-TCP tunnelling or
> alternatively any idea about implementing such a scenario?
> 
> 
> 
> The topology can be as follow:
> 
> 
> 
> 
> 0-0=0-0
> 
>Sender  router1   TCP  router2
> receiver
> 
> (TCP)   tunnel
> 
> 
> 
> Router 1 is working as a TCP-encapsulator and router 2 is a decapsulator.
> 
> 
> 
> Thanks in advance, bests
> 
> Peyman
> 
> 
> 
> 





Re: [ns] Compilation Error ns2.1b8a

2006-11-15 Thread Mohammad Haseeb Zafar

Got answer from http://www.jlsnet.co.uk/index.php?tab=4&page=ns2_comperror
Cheers
Haseeb

-Original Message-
From: [EMAIL PROTECTED] on behalf of Mohammad Haseeb Zafar
Sent: Wed 15/11/2006 11:06 AM
To: ns-users@ISI.EDU
Subject: [ns] Compilation Error ns2.1b8a
 

Hi
I got following error while compiling ns2.1b8a. Please help.
Haseeb


c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o route.o route.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o connector.o connector.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o ttl.o ttl.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o trace.o trace.cc
In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key, i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key, i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems




Re: [ns] Compilation Error ns2.1b8a

2006-11-15 Thread Daniel Mahrenholz

Mohammad Haseeb Zafar schrieb:
> Hi
> I got following error while compiling ns2.1b8a. Please help.
> Haseeb
>
>
> c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  
> -DNDEBUG
> -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
> -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H 
> -I. -I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
You should provide more information, especially the version of gcc/g++ 
you are using. NS2.1b8a is very old. So, you will need an old gcc / 
binutils to compile it.

Daniel.



[ns] Compilation Error ns2.1b8a

2006-11-15 Thread Mohammad Haseeb Zafar

Hi
I got following error while compiling ns2.1b8a. Please help.
Haseeb


c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o route.o route.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o connector.o connector.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o ttl.o ttl.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o trace.o trace.cc
In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key, i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key, i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems




[ns] Compilation Error ns2.1b8a

2006-11-15 Thread Mohammad Haseeb Zafar

Hi
I got following error while compiling ns2.1b8a. Please help.
Haseeb


c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o route.o route.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o connector.o connector.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o ttl.o ttl.cc
c++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR  -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I. 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include 
-I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o trace.o trace.cc
In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key, i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key, i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


Re: [ns] SWAN implementation

2006-11-15 Thread Mohammad Haseeb Zafar


http://comet.columbia.edu/swan/simulation.html


-Original Message-
From: [EMAIL PROTECTED] on behalf of Bilel Romdhani
Sent: Wed 15/11/2006 8:55 AM
To: Ns-users@ISI.EDU
Subject: [ns] SWAN implementation
 

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!



[ns] TCP or transport layer Tunneling

2006-11-15 Thread Peyman Behbahani

Dear Ns-Users,

 

I am wandering is there any implementation for TCP-over-TCP tunnelling or
alternatively any idea about implementing such a scenario?

 

The topology can be as follow: 

 

 
0-0=0-0

   Sender  router1   TCP  router2
receiver

(TCP)   tunnel

 

Router 1 is working as a TCP-encapsulator and router 2 is a decapsulator. 

 

Thanks in advance, bests

Peyman 

 

 



[ns] IPSec ESP implementation

2006-11-15 Thread Matteo Lauriano

Hi all,

I'd like to know if there is an implementation of IPSec ESP (RFC 4303, Dec. 
2005) on NS2!

Thanks for any help,
Matteo


[ns] SWAN implementation

2006-11-15 Thread Bilel Romdhani

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!


[ns] Compilation problem

2006-11-15 Thread Shafqat-ur-Rehman

Hi folks,
I am using ns-allinone-2.30 on Fedora Core 4. I implemented a dummy agent
based on the tutorial "NS by example".  I placed the file ex-linkage.cc  in
the folder ns-2.30/ex. I added the ex/ex-linkage.cc in makefile.in under
OBJ_CC.

Then I executed the following commands:-
configure
make depend
make

Initially it was working fine. but now if i change the code or add some c++
files and then run make, object files are not created. It is not giving any
errors either.
if I do "make distclean" or "make  clean ", I get the  following error.

rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/vucici/Desktop/Shafqat/ns-allinone-2.30
/ns-2.30/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/vucici/Desktop/Shafqat/ns-allinone-2.30
/ns-2.30/dltest'

any suggestions? Pleas let me know if you have some idea about the possible
reason.

thanks
 shafqat


[ns] how to calculate end to end delay in wireless scenario

2006-11-15 Thread Venkat Kotra Krishna


 hi all,
  
 can any one tell me, how to calculate end to end delay in wireless scenario 
from the trace output or in any other way.
 
 its urgent please.
 
 thanks in advance
 venkat.
  

-
  Find out what India is talking about on  - Yahoo! Answers India 
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


[ns] how to calculate end to end delay in wireless scenario

2006-11-15 Thread Venkat Kotra Krishna


 hi all,
  
 can any one tell me, how to calculate end to end delay in wireless scenario 
from the trace output or in any other way.
 
 its urgent please.
 
 thanks in advance
 venkat.
  

-
  Find out what India is talking about on  - Yahoo! Answers India 
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW


[ns] SWAN implementation

2006-11-15 Thread Bilel Romdhani

Hi all,
I'm implementing a qos routing protocol QPART on ns2.27 and I want to make
simulation with QPART and with another MANET routing protocol such SWAN.
So plz if any one have the SWAN implementation on ns2, I will be very
grateful if you send it to me!!!

thanks for any help!


[ns] Help on 802.15.4

2006-11-15 Thread kelvin lim

Hi all,

I'm currently studying on the performance of 802.15.4 on ocean environment 
using NS2. I've create both the movement files and the traffic pattern file. 
However, the results i obtain does not represent the behaviour as the nodes 
that drift further away from the PAN coordinator still receive the cbr 
packets that was sent. Would appreciate if anyone could provide advice on 
the parameters to change so that packets will be dropped if drift distance 
exceed certain range and the nodes will try to re-establish connection. I'm 
currently using AODV.

Thanks,
Kwang

_
Get MSN Messenger emoticons and display pictures here! 
http://ilovemessenger.msn.com/?mkt=en-sg



[ns] -any information about emulation mode in NS-2

2006-11-15 Thread h sh

Hi
   
  I want any information about emulation mode in NS-2 
   
  please help me 
   
  Thanks
   

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


[ns] Help on 802.15.4

2006-11-15 Thread kelvin lim

Hi all,

I'm currently studying on the performance of 802.15.4 on ocean environment 
using NS2. I've create both the movement files and the traffic pattern file. 
However, the results i obtain does not represent the behaviour as the nodes 
that drift further away from the PAN coordinator still receive the cbr 
packets that was sent. Would appreciate if anyone could provide advice on 
the parameters to change so that packets will be dropped if drift distance 
exceed certain range and the nodes will try to re-establish connection. I'm 
currently using AODV.

Thanks,
Kwang

_
Get MSN Messenger emoticons and display pictures here! 
http://ilovemessenger.msn.com/?mkt=en-sg