respected sir.
i designed the senario blow but i donot get any difference for queue type 
Droptail and RED
please help me by providing some suggestions. packet loss are same for both.
Blow whole program is kept same only i change between node3 and node 4 to RED
 

# ======================================================================
# Main Program
# ======================================================================

set val(finish)         7                       ;# time of simulation end
set ns [new Simulator]
set tracefd [open tracefileDT1_3.tr w]
#set log [open outputDT1_3.tr w]

$ns trace-all $tracefd
#$ns use-newtrace
set namtrace [open outDT1_3.nam w]
$ns namtrace-all $namtrace 
# Define a 'finish' procedure
proc finish {} {
    global ns tracefd  namtrace
    $ns flush-trace
    close $tracefd
    close $namtrace
    #close $log
    
    exec nam outDT1_3.nam &
        exit 0
    
}
 
 for {set i 0} {$i < 5 } {incr i} {
  set node_($i) [$ns node]
 }
 
 
 
#Create links between the nodes
$ns simplex-link $node_(0) $node_(3)  1Mb 100ms DropTail
$ns simplex-link $node_(1) $node_(3)  1Mb 100ms DropTail
$ns simplex-link $node_(2) $node_(3)  1Mb 100ms DropTail
$ns simplex-link $node_(3) $node_(4)  1Mb 100ms DropTail  #(change this to RED)
#Set Queue Size of link (n3-n4) to 10
$ns queue-limit $node_(3)  $node_(4)  25
#monitor the queue
$ns simplex-link-op $node_(3) $node_(4) queuePos .5
#Setup a UDP0 connection
set udp0 [new Agent/UDP]
$ns attach-agent $node_(0)  $udp0
set null [new Agent/Null]
$ns attach-agent $node_(4)  $null
$ns connect $udp0 $null
$udp0 set fid_ 1
#Setup a CBR over UDP connection
set cbr [new Application/Traffic/CBR]
$cbr attach-agent $udp0
$cbr set type_ CBR
$cbr set packet_size_ 500
$cbr set rate_ 0.1mbps
$cbr set random_ false
#Setup a UDP1 connection
set udp1 [new Agent/UDP]
$ns attach-agent $node_(1)  $udp1
set null [new Agent/Null]
$ns attach-agent $node_(4)  $null
$ns connect $udp1 $null
$udp1 set fid_ 1
#Setup a CBR over UDP connection
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1
$cbr1 set type_ CBR
$cbr1 set packet_size_ 500
$cbr1 set rate_ 0.6mbps
$cbr1 set random_ false
#Setup a UDP2 connection
set udp2 [new Agent/UDP]
$ns attach-agent $node_(2)  $udp2
set null [new Agent/Null]
$ns attach-agent $node_(4)  $null
$ns connect $udp2 $null
$udp2 set fid_ 1
#Setup a CBR over UDP connection
set cbr2 [new Application/Traffic/CBR]
$cbr2 attach-agent $udp2
$cbr2 set type_ CBR
$cbr2 set packet_size_ 500
$cbr2 set rate_ 0.6mbps
$cbr2 set random_ false
#Schedule events for the CBR and FTP agents
$ns at 1.0 "$cbr start"
$ns at 1.0 "$cbr1 start"
$ns at 1.0 "$cbr2 start"
$ns at 6.5 "$cbr stop"
$ns at 6.5 "$cbr1 stop"
$ns at 6.5 "$cbr2 stop"

# Ending nam and the simulation
#$ns at $val(finish) "$ns nam-end-wireless $val(finish)"
$ns at 7.0 "finish"
$ns at 7.01 "puts \"ns EXITING...\" ; $ns halt"
puts "Starting Simulation..."
$ns run

please also tell me is this a valid program for udp flood DoS attack

--- On Fri, 24/6/11, ns-users-requ...@isi.edu <ns-users-requ...@isi.edu> wrote:


From: ns-users-requ...@isi.edu <ns-users-requ...@isi.edu>
Subject: Ns-users Digest, Vol 90, Issue 22
To: ns-users@ISI.EDU
Date: Friday, 24 June, 2011, 5:30 AM


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
    ns-users-requ...@isi.edu

You can reach the person managing the list at
    ns-users-ow...@isi.edu

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


Today's Topics:

   1. Last 10 Days: EMERGING 2011 || November 20-25, 2011 - Lisbon,
      Portugal (Cristina Pascual)
   2. Last 10 Days!: UBICOMM 2011 || November 20-25, 2011 - Lisbon,
      Portugal (Jaime Lloret Mauri)
   3. Last 10 Days!: AP2PS 2011 || November 20-25, 2011 - Lisbon,
      Portugal (Cristina Pascual)
   4. Packet Fragment-Defrag.  provision in NS2 (qweq adcsad)
   5. problem in simulating a wired cum wireless link between two
      nodes... (sam sha)
   6. Re: Error in Tcl script (Mohamed Ibrahim Salman)
   7. Trace Analyzer (Aayushi Shashi)


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

Message: 1
Date: Thu, 23 Jun 2011 04:04:07 +0200
From: Cristina Pascual<cris.pascual.gonza...@gmail.com>
Subject: [ns] Last 10 Days: EMERGING 2011 || November 20-25, 2011 -
    Lisbon,    Portugal
To: ns-users@isi.edu
Message-ID: <201106230204.p5n247ox026...@smtp.upv.es>
Content-Type: text/plain; charset=us-ascii


INVITATION:
=================
Note that the submission deadline has been extended to July 1st, 2011.
Please consider to contribute to and/or forward to the appropriate groups the 
following opportunity to submit and publish original scientific results.
In addition, authors of selected papers will be invited to submit extended 
article versions to one of the IARIA Journals: http://www.iariajournals.org
=================


============== EMERGING 2011 | Call for Papers ===============

CALL FOR PAPERS, TUTORIALS, PANELS

EMERGING 2011: The Third International Conference on Emerging Network 
Intelligence
November 20-25, 2011 - Lisbon, Portugal

General page: http://www.iaria.org/conferences2011/EMERGING11.html
Call for Papers: http://www.iaria.org/conferences2011/CfPEMERGING11.html

- regular papers
- short papers (work in progress)
- industrial presentations
- posters
- ideas

Submission page: http://www.iaria.org/conferences2011/SubmitEMERGING11.html

Submission deadline: July 1st, 2011

Sponsored by IARIA, www.iaria.org

Extended versions of selected papers will be published in IARIA Journals: 
http://www.iariajournals.org

Please note the Poster Forum and Work in Progress options.

The topics suggested by the conference can be discussed in term of concepts, 
state of the art, research, standards, implementations, running experiments, 
applications, and industrial case studies. Authors are invited to submit 
complete unpublished papers, which are not under review in any other conference 
or journal in the following, but not limited to, topic areas.

All tracks are open to both research and industry contributions, in terms of 
Regular papers, Posters, Work in progress, Technical/marketing/business 
presentations, Demos, Tutorials, and Panels.

Before submission, please check and comply with the Editorial rules: 
http://www.iaria.org/editorialrules.html

EMERGING 2011 Topics (topics and submission details: see CfP on the site)

Evolution of telecommunications network architectures
Advanced communications systems; New configurable protocols stacks and 
real-time mechanisms; Applications and services for next-generation 
architectures; Scalability and manageability of network architectures; 
Opportunistic and cooperative communications; Next generation networks (NGN); 
Optical networks; Wireless networks, Mobile networks; Ad-Hoc, Sensor, Vehicle 
networks; Access, Residential, Last mile networks; Home, Body and Personal area 
Networks; Active networks; Self Organizing networks; Storage area networks; 
Peer-to-Peer and overlay networks; Network measurements and testbeds; 
Transmission technologies (e.g., Ultra Wideband)

Applications and services
Peer-to-Peer applications and services; Web services; Mobile applications; 
Entertainment and games; Home automation; Surveillance, Home monitoring; 
Medical and health applications; e-commerce, m-commerce; Location-based 
services; Real-time and multimedia applications; Real-time services over IP

Networking and service differentiation
Network design and planning; Network management and control; Traffic 
engineering; Traffic control, Flow control; Congestion and admission control; 
QoS support and Performance; Routing, Switching, QoS routing; Mobility 
management; Multicast; Service reliability, availability

Emerging networking
Network coding; Visualization of network behavior; Semantic routing; Network 
flow processing; Cross-layer design and optimization; High-speed networking; 
Context-aware mobile networking

Advanced network elements
Network processors; Content addressable memories; Multi-core processors; 
Context-aware reconfigurable devices; Portable and wearable devices; Mobile 
multimedia devices

Optimization
Power optimization in data centers; Delay and fault tolerant networks; Video 
conferencing and telepresence systems; Resource optimization; Context-aware 
optimization

Quality
Quality of service; Quality of performance; Quality of experience; Quality of 
data; Quality of modeling; Quality-oriented routing; Quality of context 
/degradation, trust, uncertainty, consistency/

Smartness
Cognitive radio; Autonomic and dependable communications; Ambient systems; 
Identity and location in mobile environments; Smart homes; Brain-like 
networking and computing

Discovery
Resource discovery; Service discovery; Content discovery; Flaws/anomaly 
discovery

Protection
Anticipative control and management; Data protection strategies; Collaborative 
Internet attack containment; Micro-kernels and robustness

Security
Trust and credential negotiations; Privacy; Intrusion prevention and 
containment; Security in virtualization approach; Architectural support for 
security; Security, privacy, and dependability; Security in cooperative networks

Programmability
Programmable and real-time network traffic measurements; Adaptive scheduling; 
Network and application load balancing; High-performance capabilities-based 
networks; Software techniques to improve virtualized I/O performance

End-user
Frequently changing user profile; User mobility and ubiquity; Scalable and 
resource intensive multi-user distributed applications; User identity and 
multi-service access technologies; End-user perception; End-user based 
networking and service orchestration; End-user activity recognition with 
multiple goals

Mobility
Mobile Internet services; Mobility-oriented protocols /Mobile IP, etc./; 
Wearable and/or mobile technologies; Self-discovery and localizing entities; 
Seamless handover

Ubiquity
Ubiquitous computing; Pervasive and embedded systems; Ubiquitous 
sustainability; Sensing location; Activity patterns; Smart environments in the 
workplaces; Ubiquitous cities

Semantics and Adaptiveness
Content-aware networks; Network-aware applications; Semantic Web; Adaptive 
systems; Adaptive applications; Self-adaptiveness; Ontology-based adaptation; 
Semantic profile; Semantic service orchestration; Multi-technology semantic 
integration /sensors, ehealth, geosensing, etc./

Wireless
Wireless access technologies / WLANs, WiMAX, satellite, 3G, etc./; Multi-hop 
wireless networks /sensor, ad hoc, mesh, etc./; Wireless QoS and reliability; 
Wireless body area networks; Energy optimization

Emerging technologies and applications
Vehicular ad hoc networks; Bio-inspired networks; Tele-medicine/e-health 
networks; User-centric services and applications; Autonomous and autonomic 
systems; Self-manageable systems; Emerging computation business models; Social 
networks; eSociety

---------------
EMERGING Advisory Chairs
Raj Jain, Washington University in St. Louis, USA
Michael D. Logothetis, University of Patras, Greece
Tulin Atmaca, IT/Telecom&Management SudParis, France
Phuoc Tran-Gia, University of Wuerzburg, Germany
Nuno M. Garcia, Universidade Lusófonas de Humanidades e Tecnologias, Lisboa, 
Portugal

EMERGING 2011 Industry Liaison Chairs
Krishna Murthy, Quintiles, USA
Tadashi Araragi, Nippon Telegraph and Telephone Corporation – Kyoto, Japan
Robert Foster, Edgemount Solutions - Plano, USA

EMERGING 2011 Research Chair
David Carrera, Barcelona Supercomputing Center (BSC) / Universitat Politecnica 
de Catalunya (UPC), Spain

Committee: http://www.iaria.org/conferences2011/ComEMERGING11.html
====================



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

Message: 2
Date: Thu, 23 Jun 2011 04:16:00 +0200
From: Jaime Lloret Mauri<jllo...@dcom.upv.es>
Subject: [ns] Last 10 Days!: UBICOMM 2011 || November 20-25, 2011 -
    Lisbon,    Portugal
To: ns-users@isi.edu
Message-ID: <201106230216.p5n2fxoi029...@smtp.upv.es>
Content-Type: text/plain; charset=us-ascii


INVITATION:

=================
Note that the submission deadline has been extended to July 1st, 2011.
Please consider to contribute to and/or forward to the appropriate groups the 
following opportunity to submit and publish original scientific results.
In addition, authors of selected papers will be invited to submit extended 
article versions to one of the IARIA Journals: http://www.iariajournals.or
=================

============== UBICOMM 2011 | Call for Papers ===============

CALL FOR PAPERS, TUTORIALS, PANELS

UBICOMM 2011: The Fifth International Conference on Mobile Ubiquitous 
Computing, Systems, Services and Technologies

November 20-25, 2011 - Lisbon, Portugal

General page: http://www.iaria.org/conferences2011/UBICOMM11.html

Call for Papers: http://www.iaria.org/conferences2011/CfPUBICOMM11.html

- regular papers
- short papers (work in progress)
- industrial presentations
- posters
- ideas

Submission page: http://www.iaria.org/conferences2011/SubmitUBICOMM11.html

Submission deadline: July 1st, 2011

Sponsored by IARIA, www.iaria.org

Extended versions of selected papers will be published in IARIA Journals: 
http://www.iariajournals.org

Please note the Poster Forum and Work in Progress options.

The topics suggested by the conference can be discussed in term of concepts, 
state of the art, research, standards, implementations, running experiments, 
applications, and industrial case studies. Authors are invited to submit 
complete unpublished papers, which are not under review in any other conference 
or journal in the following, but not limited to, topic areas.

All tracks are open to both research and industry contributions, in terms of 
Regular papers, Posters, Work in progress, Technical/marketing/business 
presentations, Demos, Tutorials, and Panels.

Before submission, please check and comply with the Editorial rules: 
http://www.iaria.org/editorialrules.html

UBICOMM 2011 Topics (topics and submission details: see CfP on the site)

Fundamentals
Semantics of ubiquity; Ubiquitous knowledge; Knowledge discovery mechanisms; 
Profiling ubiquitous environments; Ubiquitous technologies for education, 
learning, and training

Mobility
Ubiquitous computing; Wearable computing; Mobile computing; Nomadic computing; 
Mobile commerce; Mobile learning

Information Ubiquity
Ubiquitous information appliances; Information retrieval and filtering; Context 
awareness; Control of ubiquitous data; Data management and processing; Data 
replication, migration and dissemination

Ubiquitous Multimedia Systems and Processing
Multimedia content recognition, indexing and search; Mobile graphics, games and 
entertainment; Ubiquitous multimedia applications and systems; Streaming mobile 
multimedia; Mobile media management; Multimedia ubiquitous platforms; 
Multimedia Indexing and Compression; Image and Signal Processing; Virtual 
reality in ubiquitous systems

Wireless Technologies
Bluetooth; 802.11.x; 802.15.x; ZigBee; WiMax

Web Services
Web 2.0; Semantic web; Web services; Ontology; Web Services evolution; Web 
Services applications

Ubiquitous networks
Ubiquitous networks; Network management; Network performance evaluation; 
Networks and technology convergence; Internet access in ubiquitous systems; 
Ubiquitous mesh, ad hoc and sensor networks; RFID; Reconfigurability and 
personalization of ubiquitous networks

Ubiquitous devices and operative systems
Design of devices for ubiquitous systems; Mobile devices; Wearable devices; 
Embedded systems; Operative systems for ubiquitous devices; Real-time operating 
systems and scheduling

Ubiquitous mobile services and protocols
Frameworks, architectures, and languages for ubiquitous services; Queries, 
transactions and workflows in mobile and ubiquitous Networks; Algorithms for 
ubiquitous systems; SLA/QoS in ubiquitous services; Ontology based services; 
Location-based services; Protocols and interaction mechanisms for ubiquitous 
services; Mobile services and service convergence; Service discovery 
mechanisms; Tracking in ubiquitous environments; Measurement, control, and 
management of ubiquitous services; Design and development of ubiquitous 
services; Wireless/mobile service delivery

Ubiquitous software and security
Ambient components; Agent technologies; Software for spontaneous 
interoperation; Dependability guarantees; Security; Key Management and 
Authentication; Trust; Privacy; Fault-tolerance; Multimedia Information Security

Collaborative ubiquitous systems
Cooperative networks for ubiquitous systems; Cooperative applications for 
ubiquitous networks; Handheld and wearable systems for interaction in 
collaborative groups and communities; Ad hoc collaboration in ubiquitous 
computing environments; Awareness of collaboration and of work environment; 
Inherently mobile collaborative work

User and applications
Mobile user interfaces; Ubiquitous user-generated content (weblogs, wikis, 
etc.); Mobile and ubiquitous computing support for collaborative learning; User 
modeling and personalization; Context- and location-aware applications; 
Toolkits, testbeds, development environments; Tools and techniques for 
designing, implementing, & evaluating ubiquitous systems; Constructing, 
deploying and prototyping of ubiquitous applications; Evaluation of user models 
for ubiquitous environments; On-line analytical techniques; Human-computer 
interaction in ubiquitous computing environments; Ubiquitous e-Development 
(business, science, health, etc.); Case Studies; Emerging 
industrial/business/scientific ubiquitous scenarios; Ambient intelligence; 
Social issues and implications of ubiquitous system


UBICOMM Advisory Chairs
Jaime Lloret Mauri, Polytechnic University of Valencia, Spain
Sathiamoorthy Manoharan, University of Auckland, New Zealand
Zary Segal, UMBC, USA
Yoshiaki Taniguchi, Osaka University, Japan
Ruay-Shiung Chang, National Dong Hwa University, Taiwan

UBICOMM 2011 Research Chairs
Korbinian Frank, German Aerospace Center - Institute of Communications and 
Navigation, Germany
Carlo Mastroianni, CNR, Italy
Sergey Balandin, FRUCT, Finland
Juong-Sik Lee, Nokia Research Center - Palo Alto, USA
Ann Gordon-Ross, University of Florida, USA
Michele Ruta, Politecnico di Bari, Italy

Committee: http://www.iaria.org/conferences2011/ComUBICOMM11.html
====================



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

Message: 3
Date: Thu, 23 Jun 2011 04:54:38 +0200
From: Cristina Pascual<cris.pascual.gonza...@gmail.com>
Subject: [ns] Last 10 Days!: AP2PS 2011 || November 20-25, 2011 -
    Lisbon,    Portugal
To: ns-users@isi.edu
Message-ID: <201106230254.p5n2sb5p005...@smtp.upv.es>
Content-Type: text/plain; charset=us-ascii


INVITATION:

=================
Note that the submission deadline has been extended to July 1st, 2011.
Please consider to contribute to and/or forward to the appropriate groups the 
following opportunity to submit and publish original scientific results.
In addition, authors of selected papers will be invited to submit extended 
article versions to one of the IARIA Journals: http://www.iariajournals.org
=================


============== AP2PS 2011 | Call for Papers ===============

CALL FOR PAPERS, TUTORIALS, PANELS

AP2PS 2011: The Third International Conference on Advances in P2P Systems

November 20-25, 2011 - Lisbon, Portugal

General page: http://www.iaria.org/conferences2011/AP2PS11.html

Call for Papers: http://www.iaria.org/conferences2011/CfPAP2PS11.html

- regular papers
- short papers (work in progress)
- industrial presentations
- posters
- ideas

Submission page: http://www.iaria.org/conferences2011/SubmitAP2PS11.html

Submission deadline: July 1st, 2011

Sponsored by IARIA, www.iaria.org

Extended versions of selected papers will be published in IARIA Journals: 
http://www.iariajournals.org

Please note the Poster Forum and Work in Progress (short papers) options.

The topics suggested by the conference can be discussed in term of concepts, 
state of the art, research, standards, implementations, running experiments, 
applications, and industrial case studies. Authors are invited to submit 
complete unpublished papers, which are not under review in any other conference 
or journal in the following, but not limited to, topic areas.

All tracks are open to both research and industry contributions, in terms of 
Regular papers, Posters, Work in progress, Technical/marketing/business 
presentations, Demos, Tutorials, and Panels.

Before submission, please check and comply with the Editorial rules: 
http://www.iaria.org/editorialrules.html

AP2PS 2011 Topics (topics and submission details: see CfP on the site)

Architectures and protocols
Search protocols; Publish and subscribe systems; Overlay based multicast; 
Multilayer systems; Locality awareness; Gossip-based and epidemic protocols; 
Integration with network operators and service providers; Autonomic computing 
and networking; Semantic P2P; Opportunistic networking

Applications
Content delivery networks; Cloud computing; Public resource computing; 
Aggregate computing; Web services; Computational, service, and storage Grids; 
Voice and video streaming and IPTV; Collaborative platforms and social networks 
; Network management; Wireless sensor networks; Scientific computing and 
workflow management systems; Green computing

Prototypes and simulations
Implementations; Comparative performance analysis; Dependability, resilience 
and availability; Scalability; Stability; Benchmarking and optimization; 
Quality of experience

Security, trust and reputation
Privacy & Anonymity; Trust and reputation management; Free-riding prevention; 
Authentication and identity management; Fairness and Incentive models; Virtual 
economies; Digital rights management; Content filtering

P2P and wireless convergence
P2P in cellular networks; P2P in wireless networks; P2P in ad hoc networks; 
Integrated approaches; Energy efficiency

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

AP2PS General Chairs
Nick Antonopoulos, University of Derby, UK
Antonio Liotta, Eindhoven University of Technology, The Netherlands
Giuseppe Di Fatta, The University of Reading, UK

AP2PS Advisory Chairs
Marco Aiello, University of Groningen, The Netherlands
Takahiro Hara, University of Osaka, Japan
Ouri Wolfson, University of Illinois at Chicago, USA

AP2PS 2011 Industry Liaison Chair
Christoph Schuba, Oracle Corp., USA
Roman Y. Shtykh, Rakuten, Inc., Japan

AP2PS 2011 Research Chairs
Yasushi Kambayashi, Nippon Institute of Technology, Japan
Anders Fongen, Norwegian Defense Research Establishment, Norway
Quang Hieu Vu, ETISALAT BT Innovation Center (EBTIC)/ Khalifa University, UAE

Committee: http://www.iaria.org/conferences2011/ComAP2PS11.html
====================



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

Message: 4
Date: Thu, 23 Jun 2011 00:00:41 -0700 (PDT)
From: qweq adcsad <nill_akaser_t...@yahoo.com>
Subject: [ns] Packet Fragment-Defrag.  provision in NS2
To: nsusers <ns-users@isi.edu>
Message-ID:
    <1308812441.5745.yahoomailclas...@web161214.mail.bf1.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Hi,
  Could anybody please suggest whether there is any provision of fragmentation 
and reassembling of packet in LL or MAC or PHY in NS2? 


Regards,
Nill



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

Message: 5
Date: Thu, 23 Jun 2011 14:59:48 +0530
From: sam sha <nsu...@gmail.com>
Subject: [ns] problem in simulating a wired cum wireless link between
    two    nodes...
To: ns-users@isi.edu
Message-ID: <banlktinpkwp_hwun+ux+yymxavhcvak...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Alysson,

Thanks for your time and effort.

However, I would highly appreciate if you could suggest me something to
transfer data between BS or how can I simulate a same kind of topology. My
ultimate aim is to simulate a wireless link between two nodes where the
other side of both the nodes is a wired interface...

Thanking you in anticipation...

Regards,
Samar


---------- Forwarded message ----------
From: Alysson Oliveira <lssn.olive...@gmail.com>
Date: Mon, Jun 20, 2011 at 8:02 PM
Subject: Re: [ns] problem in simulating a wired cum wireless link between
two nodes...
To: sam sha <nsu...@gmail.com>


Hi

  You had made some hierarquical mistake.

  But dont transfer data between BS yet.

I'll see it latter...

See you...

Alysson

2011/6/19, sam sha <nsu...@gmail.com>:
> Hi Alysson Oliveria,
>
>  Thanks for your response...
>  I am attaching herewith my scenario.tcl ... I wanted just to make a
> wireless link between two nodes while another interface of the node is a
> wired link. I am not sure where I am mistaken...
>
>  Thanking you for your timely help....
>
> Regards,
> Sam
>
>
> On Sat, Jun 18, 2011 at 5:50 PM, Alysson Oliveira
> <lssn.olive...@gmail.com>wrote:
>
>> Hi Sam Sha,
>>
>>   Would you send you tcl code? May be you had any topology mistake!
>>
>>   Please, see:
>>     you exemple file ns-2.34/tcl/ex/wired-cum-wireless-sim.tcl
>>     http://www.ece.iupui.edu/tutorials/ns2/index.php?section=9
>>     http://www.isi.edu/nsnam/ns/doc/node192.html
>>
>> Good luck!
>>
>> Alysson Oliveira
>>
>>
>>
>>
>> 2011/6/17, sam sha <nsu...@gmail.com>:
>> >
>> > Hi all,
>> >
>> > I want to simulate a wireless link between two nodes. where both the
>> nodes
>> > have a wired interface as well. So my simulation topology is like -  I
>> > receive the data from the wired link on node-1, I transmit the same on
>> the
>> > wireless link to node-2, now node-2 receives the data and sends on the
>> wired
>> > interface to other nodes in the network.
>> >
>> > I tried making the two nodes as the base station nodes I get the
>> following
>> > error :
>> >
>> > num_nodes is set 2
>> > INITIALIZE THE LIST xListHead
>> > --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
>> >         _o15: no target for slot -1
>> >         _o15 type: Classifier/Hash/Dest
>> > content dump:
>> > classifier _o15
>> >         0 offset
>> >         0 shift
>> >         2147483647 mask
>> >         0 slots
>> >         -1 default
>> > ---------- Finished standard no-slot{} default handler ----------
>> >
>> >
>> >
>> > Please provide any suggestion or any documentation that will help me in
>> > simulating the scenario....
>> >
>> > Thank you all in anticipation...
>> >
>> > Regards,
>> > Sam
>> >
>>
>>
>> --
>> Alysson Oliveira
>>
>


--
Alysson Oliveira

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

Message: 6
Date: Thu, 23 Jun 2011 05:21:44 -0700 (PDT)
From: Mohamed Ibrahim Salman <mohammad_w2...@yahoo.com>
Subject: Re: [ns] Error in Tcl script
To: Leo S?nchez <sanc...@ugr.es>
Cc: "ns-users@isi.edu" <ns-users@isi.edu>
Message-ID: <790310.60000...@web113516.mail.gq1.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1



?Yes, that solved the problem , thank you very much.




________________________________
From: Leo S?nchez <sanc...@ugr.es>
To: ns-users@ISI.EDU
Sent: Wednesday, June 22, 2011 8:57 PM
Subject: Re: [ns] Error in Tcl script


Try defining the process this way:

proc discover_ferry { src dst now index } {
global ns_ node_

...
...
...
}

Hope it helps!

Leo S?nchez



El 22/06/2011 16:48, Mohamed Ibrahim Salman escribi?:
> Hi,
>
> This error appear when I try to invoke discover_ferry{} function
>
>
>
> ns: discover_ferry?  1 13 0.000000 30000 : can't read "node_(1)": no such 
> variable
>? ? ? while executing
> "$ns_ attach-agent $node_($src) $udp_($index)"
>? ? ? (procedure "discover_ferry" line 6)
>? ? ? invoked from within
> "discover_ferry?  1 13 0.000000 30000"
>
>
>
>
>
>
> proc discover_ferry { src dst now index } {
> global ns_ node_($src) node_($dst)
>
> set udp_($index) [new Agent/UDP]
> $ns_ attach-agent $node_($src) $udp_($index)
> set null_($index) [new Agent/Null]
> $ns_ attach-agent $node_($dst) $null_($index)
> set cbr_($index) [new Application/Traffic/CBR]
> $cbr_($index) set packetSize_ 256
>
>
> $cbr_($index) set maxpkts_ 1
> $cbr_($index) attach-agent $udp_($index)
> $ns_ connect $udp_($index) $null_($index)
>
> $ns_ at $now "$cbr_($index) start"
>
> }

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

Message: 7
Date: Thu, 23 Jun 2011 20:51:35 +0000
From: Aayushi Shashi <aayushi_sha...@hotmail.com>
Subject: [ns] Trace Analyzer
To: <ns-users@isi.edu>
Message-ID: <blu167-w5e37e908aceaa24bac936e6...@phx.gbl>
Content-Type: text/plain; charset="windows-1256"


Hello everybody,

I'm making some simulations, and i 'll need to analyze. So I have been 
searching trace analyzers, and I wanted to know if you could recommend some 
trace analyzer that calculates the total average delay.

I hope you can help me.
thank you! 
                          

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

_______________________________________________
Ns-users mailing list
Ns-users@isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users


End of Ns-users Digest, Vol 90, Issue 22
****************************************

Reply via email to