[ns] Window Scale Option

2006-01-16 Thread David Carballat Vazquez

Hi everyone. I made a question before but now i'll be more specific.My 
question is:

Window Scale Option was implemented in RFC 1072 and RFC 1323. All the news 
TCP implementations has implemented Window Scale Option?Is implemented too 
in older TCP implementations? How i must configure window scale option in 
ns?Is set auto when i choose a implementation with window scale option?

Thanks a lot for reading this and thanks for everyone that can help me.

_
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con 
MSN Entretenimiento. http://entretenimiento.msn.es/



[ns] how to trace only dropped packetes

2006-01-16 Thread preeti nimonkar

hi ,
 I am implementing a wired network in ns ,the generated trace file
is very large in size ,I am interested only in dropped packets ,
can any body suggest me ,how can I get trace file containg dropped events only



Re: [ns] Animating wireless transmissions in nam

2006-01-16 Thread Cenker Demir

Hi,

I have attached 3 files for you to run. These files are copied from 
some online resources, but I applied a couple of different stuff to the 
codes. The scen and tcp files are the scenario and the connection 
pattern files respectively. Just copy these 3 files into a folder, then 
run first10.tcl. After running it, it will produce out10.nam and 
out10.tr. When you run out10.nam with running the comand  nam 
out10.nam it will open a nam window. The simulation is too slow, so 
just to be able to see the file transmissions, you might need to 
increase the speed from the bar at the right top of the window (do not 
forget to press play button!!!). Then you should see the rreq's sent 
and forwarded by the nodes, and also the data packets...

Thes files work on ns-2.29 as well. I tried it.

I hope this helps.

Best regards
Cenker


mohd hammad wrote:


Hi 
can you help me who you implemented AODV on
ns-allinone-2.29 if possible Iam tried to run it but I
am failed 
Regraes

--- Cenker Demir [EMAIL PROTECTED] wrote:

 
 
 Hi, 
 
 I work with AODV on ns-allinone-2.28 on cygwin. When
 I run the 
 simulation I can see the rreq, rrep, and data packet
 transmissions 
 among nodes.
 
 regards
 Cenker
 
 Henrik Schumacher wrote:
 
 
 
 Hi Dhammika,
 
 i think nam does not support the visualization of
 packet flows for 
 wireless
 traces at the moment. It`s only possible to
 visualize the node 
 movements.
 
 Regards,
 Henrik
 
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im 
 Auftrag
 von Dhammika Pathirana
 Gesendet: Freitag, 13. Januar 2006 07:17
 An: ns-users@ISI.EDU
 Betreff: [ns] Animating wireless transmissions in
 nam
 
 
 Hi,
 
 I am trying to animate wireless transmissions in
 nam. The protocol
 that I am working on seems to work fine, but nam
 doesn't show packet
 transmissions. Can anyone advice me on how to
 enable tracing/animating
 packet transmissions. Your help would be greatly
 appreciated.
 
 thanks in advance
 
 Dhammika
 
 
 
 
 


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

set val(chan)   Channel/WirelessChannel
set val(prop)   Propagation/TwoRayGround
set val(netif)  Phy/WirelessPhy
set val(mac)Mac/802_11
set val(ifq)Queue/DropTail/PriQueue
set val(ll) LL
set val(ant)Antenna/OmniAntenna
set val(x)  670   ;# X dimension of the topography
set val(y)  670   ;# Y dimension of the topography
set val(ifqlen) 50;# max packet in ifq
set val(seed)   122.0
set val(adhocRouting)   AODV
set val(nn) 10 ;# how many nodes are simulated
set val(cp) mytcp10 
set val(sc) myscen10 
set val(stop)   150.0   ;# simulation time

# =
# Main Program
# ==

#
# Initialize Global Variables
#

# create simulator instance

set ns_ [new Simulator]

# setup topography object

set topo[new Topography]

# create trace object for ns and nam

set tracefd [open out10.tr w]
set namtrace[open out10.nam w]

$ns_ trace-all $tracefd
$ns_ namtrace-all-wireless $namtrace $val(x) $val(y)

# define topology
$topo load_flatgrid $val(x) $val(y)

#
# Create God
#
set god_ [create-god $val(nn)]

#
# define how node should be created
#

#global node setting

$ns_ node-config -adhocRouting $val(adhocRouting) \
 -llType $val(ll) \
 -macType $val(mac) \
 -ifqType $val(ifq) \
 -ifqLen $val(ifqlen) \
 -antType $val(ant) \
 -propType $val(prop) \
 -phyType $val(netif) \
 -channelType $val(chan) \
 -topoInstance $topo \
 -agentTrace ON \
 -routerTrace ON \
 -macTrace ON 

#
#  Create the specified number of nodes [$val(nn)] and attach them
#  to the channel. 

for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]   
$node_($i) random-motion 0  ;# disable random motion
$node_($i) radius 10 
}

# 
# Define node movement model
#
puts Loading connection pattern...
source $val(cp)

# 
# Define traffic model
#
#puts Loading scenario file...
source $val(sc)

# Define node initial position in nam

for {set i 0} {$i  $val(nn)} {incr i} {

# 20 defines the node size in nam, must adjust it according to your scenario
# The function must be called after mobility model is defined

$ns_ initial_node_pos $node_($i) 20 
}


#
# Tell nodes when the simulation ends
#
for {set i 0} {$i  

Re: [ns] Animating wireless transmissions in nam

2006-01-16 Thread Björn Scheuermann

Hi Dhammika,

 I am trying to animate wireless transmissions in nam. The protocol
 that I am working on seems to work fine, but nam doesn't show packet
 transmissions. Can anyone advice me on how to enable tracing/animating
 packet transmissions. Your help would be greatly appreciated.

maybe as an alternative to nam Huginn might be of interest for you:

http://pi4.informatik.uni-mannheim.de/pi4/lib/projects/huginn/

Just contact me in case you want to try it.


Bye,

Björn


-- 
Björn Scheuermann
Lehrstuhl für Rechnernetze und Kommunikationssysteme
Heinrich-Heine-Universität
Universitätsstr. 1, D-40225 Düsseldorf

Gebäude 25.12, Raum 02.50
Tel: +49 211 81 11692
Fax: +49 211 81 11638 
[EMAIL PROTECTED]
http://www.cn.uni-duesseldorf.de


[ns] problem with eurane[umts module]

2006-01-16 Thread robbin

hi,all

i want to use umts module on ns-2.29.

But the patch file is updated to ns-2.28.

Could anyone help me or give me some suggestions?

Regards,Robbin
--
電腦與通訊網路實驗室 網路郵局
Open WebMail



[ns] setting contention window on each node

2006-01-16 Thread Michael Sidiropoulos

 Good evening ns-users,
  
  Is there any idea on how i can set different contention window ranges  
(CWmin,CWmax) on each node?
  Can i do that from the tcl script with a particular command?
  Or do i have to modify any ns2  source code?
  I would be grateful if you could give me any advice or hint  on this subject
  
  Thanks in advance for your attention and time,
  Regards,
 Michael   
  


-
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr 

[ns] Implementation of queue mechanisms

2006-01-16 Thread #LIM XIAOWEI#

Hi!
 
I'm having problems with integrating new queing mechanisms into NS-2. After 
installing the patch files required, the response is segmentation error. Is 
there something that i should do or add on to?
 
Another question that i have is, everytime we introduce something new to NS-2, 
do i need to install patch files? 
Thank you!
Regards,
 zoe
 
 


[ns] how to form clusters for distributed approach

2006-01-16 Thread Dheepa Rajendran

Hi ,

My Project is Address Autoconfiguraion in MANET and i
have to do that in Distributed Approach.For
Distributed approach,the network area should be
splitted into many subareas so that there will be
several servers in one full network area.My doubt is 
1. Whether the area should be seperated into many
grids and in each grid we have to assign one server?

 or

2. No need of grid formation.the nodes can be placed
anywhere.In such case how to limit the range of
node.(since one node's broadcast message will be
received to all in the network area.according to my
pjt node sholud be reachable only from its server and
not any other server.)
but server-server communication sholud be there.

If anyone knows,pls suggest ur ideas.

Thanks in advance.

Dheepa


Send instant messages to your online friends http://in.messenger.yahoo.com 



[ns] how to form clusters for distributed approach

2006-01-16 Thread Dheepa Rajendran

Hi ,

My Project is Address Autoconfiguraion in MANET and i
have to do that in Distributed Approach.For
Distributed approach,the network area should be
splitted into many subareas so that there will be
several servers in one full network area.My doubt is 
1. Whether the area should be seperated into many
grids and in each grid we have to assign one server?

 or

2. No need of grid formation.the nodes can be placed
anywhere.In such case how to limit the range of
node.(since one node's broadcast message will be
received to all in the network area.according to my
pjt node sholud be reachable only from its server and
not any other server.)
but server-server communication sholud be there.

If anyone knows,pls suggest ur ideas.

Thanks in advance.

Dheepa


Send instant messages to your online friends http://in.messenger.yahoo.com 



[ns] how to find node position

2006-01-16 Thread Dheepa Rajendran

Hi ,

Can we find the position of the node in C program?
I'll assign the node with its position in tcl file
statically.then i have to find the position(x and y
dimension) of the node in C coding.is there any
command for getting the positions directly? If anyone
knows,tell me how to find the position of the node in
C file or tell me how to find logically?


Dheepa

Send instant messages to your online friends http://in.messenger.yahoo.com 



[ns] Patch Files

2006-01-16 Thread #LIM XIAOWEI#

Hi!
 
How do i create my own patch files for the changes i'm going to make in NS-2? 
Are patch files necessary?
 
Thanks!