Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Loading...
User Settings
close menu
Welcome to Scribd!
Upload
Read for free
FAQ and support
Language (EN)
Sign in
0 ratings
0% found this document useful (0 votes)
0 views
Ri NG
Uploaded by
Innovation SRI
AI-enhanced
cn experiments
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF, TXT or read online from Scribd
Download
Save
Save RiNG For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Ri NG
Uploaded by
Innovation SRI
0 ratings
0% found this document useful (0 votes)
0 views
1 page
AI-enhanced title
Document Information
click to expand document information
cn experiments
Original Title
RiNG
Copyright
© © All Rights Reserved
Available Formats
PDF, TXT or read online from Scribd
Share this document
Share or Embed Document
Sharing Options
Share on Facebook, opens a new window
Facebook
Share on Twitter, opens a new window
Twitter
Share on LinkedIn, opens a new window
LinkedIn
Share with Email, opens mail client
Email
Copy link
Copy link
Did you find this document useful?
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Is this content inappropriate?
Report
cn experiments
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF, TXT or read online from Scribd
Download now
Download as pdf or txt
Save
Save RiNG For Later
0 ratings
0% found this document useful (0 votes)
0 views
1 page
Ri NG
Uploaded by
Innovation SRI
AI-enhanced title
cn experiments
Copyright:
© All Rights Reserved
Available Formats
Download
as PDF, TXT or read online from Scribd
Save
Save RiNG For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download as pdf or txt
Jump to Page
You are on page 1
of 1
Search inside document
Fullscreen
RiNG: $ns duplex-link $n0 $n4 1Mb 10ms set null3 [new Agent/Null]
set ns [new Simulator DropTail $ns attach-agent $n6 $null3
$ns color 1 Red $ns duplex-link $n0 $n5 1Mb 10ms $ns connect $udp2 $null3 $udp2
DropTail
$ns color 2 Green set tcp0 [new Agent/TCP] $tcp0 set set packetSize_ 1500
set nf [open out.nam w] class_ 1 set ftp0 [new Application/FTP]
$ns namtrace-all $nf $ns attach-agent $n1 $tcp0 $ftp0 attach-agent $tcp0
proc finish {} { set sink0 [new Agent/TCPSink] $ns at 1.0 "$ftp0 start"
global ns nf tf $ns attach-agent $n3 $sink0 $ns at 2.0 "$ftp0 stop"
$ns flush-trace $ns connect $tcp0 $sink0 proc finish {} {
close $nf set cbr0 [new global ns tracefile namfile
exec nam out.nam Application/Traffic/CBR] $ns flush-trace
& exit 0 } $cbr0 set packetSize_ 500 close $tracefile
set n0 [$ns node] $cbr0 set interval_ 0.01 close $namfile exec nam ex3.nam &
set n1 [$ns node] $cbr0 attach-agent $tcp0 exit 0}
set n2 [$ns node] $ns at 0.5 "$cbr0 start"
set n3 [$ns node] $ns at 4.5 "$cbr0 stop"
set n4 [$ns node] $ns at 5.0 "finish"
$ns duplex-link $n0 $n1 1Mb 50ms $ns run
DropTail WirElEss NW
$ns duplex-link $n1 $n2 1Mb 50ms set ns [new Simulator]
DropTail set tracefile [open ex3.tr w]
$ns duplex-link $n2 $n3 1Mb 50ms $ns trace-all $tracefile
DropTail
$ns duplex-link $n3 $n4 1Mb 50ms set namfile [open ex3.nam w]
DropTail $ns namtrace-all $namfile
$ns duplex-link $n4 $n1 1Mb 50ms set n0 [$ns node]
DropTail set n1 [$ns node]
set tcp0 [new Agent/TCP] set n2 [$ns node]
$tcp0 set class_ 1 set n3 [$ns node]
$ns attach-agent $n1 $tcp0 set n4 [$ns node]
set sink0 [new Agent/TCPSink] set n5 [$ns node]
$ns attach-agent $n3 $sink0 set n6 [$ns node]
$ns connect $tcp0 $sink0 $ns duplex-link $n0 $n2 100.0Mb
set cbr0 [new 10ms DropTail
Application/Traffic/CBR] $ns queue-limit $n0 $n2 50
$cbr0 set packetSize_ 500 $ns duplex-link $n2 $n1 100.0Mb
$cbr0 set interval_ 0.01 10ms DropTail
$cbr0 attach-agent $tcp0 $ns queue-limit $n2 $n1 50
$ns at 0.5 "$cbr0 start" $ns duplex-link $n2 $n3 100.0Mb
$ns at 4.5 "$cbr0 stop" 10ms DropTail
$ns at 5.0 "finish" $ns queue-limit $n2 $n3 50
STAR $ns duplex-link $n4 $n3 100.0Mb
10ms DropTail
set ns [new Simulator] $ns queue-limit $n4 $n3 50
set nf [open out.nam w] $ns duplex-link $n3 $n6 100.0Mb
$ns namtrace-all $nf 10ms DropTail
proc finish {} { $ns queue-limit $n3 $n6 50
global ns nf $ns duplex-link-op $n0 $n2 orient
$ns flush-trace right-down
close $nf exec nam out.nam $ns duplex-link-op $n2 $n1 orient
left-down
& exit 0 }
$ns duplex-link-op $n2 $n3 orient
set n0 [$ns node] right
set n1 [$ns node] $ns duplex-link-op $n4 $n3 orient
set n2 [$ns node] left-down
set n3 [$ns node] $ns duplex-link-op $n3 $n6 orient
set n4 [$ns node] right-down
set n5 [$ns node] set tcp0 [new Agent/TCP]
$n0 shape square $ $ns attach-agent $n0 $tcp0
ns duplex-link $n0 $n1 1Mb 10ms set sink1 [new Agent/TCPSink]
DropTail $ns attach-agent $n4 $sink1
$ns duplex-link $n0 $n2 1Mb 10ms $ns connect $tcp0 $sink1
DropTail $tcp0 set packetSize_ 1500
$ns duplex-link $n0 $n3 1Mb 10ms set udp2 [new Agent/UDP]
DropTail
$ns attach-agent $n1 $udp2
You might also like
King Air C90GTx Memory Flash Cards
Document
134 pages
King Air C90GTx Memory Flash Cards
Mike William
No ratings yet
Searchresult: Johnson Matthey Management GMBH
Document
2 pages
Searchresult: Johnson Matthey Management GMBH
bilal shah
No ratings yet
Event Management System New
Document
80 pages
Event Management System New
Tamanna Soni
0% (2)
JCI Fact Sheet CCPC
Document
1 page
JCI Fact Sheet CCPC
Ana Sofìa Sanchez Castillo
No ratings yet
CN TCP Udp
Document
11 pages
CN TCP Udp
kingmhd1519
No ratings yet
CN Lab Programs
Document
21 pages
CN Lab Programs
Arkesh Gowda
No ratings yet
NS2 Simulation Using Distance Vector Routing Protocol
Document
2 pages
NS2 Simulation Using Distance Vector Routing Protocol
Kavin Cavin
0% (1)
CN
Document
2 pages
CN
Montana Jones
No ratings yet
#Mesh Topology
Document
7 pages
#Mesh Topology
sirisha
No ratings yet
EXO3
Document
3 pages
EXO3
INFO FAYCAL
No ratings yet
Cnlab Parta
Document
21 pages
Cnlab Parta
B N Keerthana
No ratings yet
Registration ID SP18-BCS-064 Name: Talha Shakil
Document
9 pages
Registration ID SP18-BCS-064 Name: Talha Shakil
Ali Saleem
No ratings yet
Experiment - 4: Pranshu Awasthi 18102276
Document
3 pages
Experiment - 4: Pranshu Awasthi 18102276
Pranshu Awasthi
No ratings yet
Basic Code
Document
2 pages
Basic Code
Aunik Rahman
No ratings yet
Ns 2 PGM
Document
13 pages
Ns 2 PGM
linux lover
No ratings yet
CN Exp7
Document
3 pages
CN Exp7
amanyadaviot2022
No ratings yet
Assignment 8
Document
6 pages
Assignment 8
bishal.nitr
No ratings yet
TCP UDP Program
Document
2 pages
TCP UDP Program
Beulah Sam
No ratings yet
Computer Networks ns2
Document
20 pages
Computer Networks ns2
Himanshu Singh
No ratings yet
Ns2 Programs
Document
19 pages
Ns2 Programs
anusrini23
No ratings yet
Network Programs1
Document
17 pages
Network Programs1
Santhiya R
No ratings yet
CN Lab Manual
Document
28 pages
CN Lab Manual
piyush choudhary
No ratings yet
Ns2 Scripts
Document
63 pages
Ns2 Scripts
PERUN CHITHIRAN
No ratings yet
CNLABFINAL (v2) PDF
Document
36 pages
CNLABFINAL (v2) PDF
Maruti Mohit
No ratings yet
Pradeep Krishna NS2 Pgms
Document
28 pages
Pradeep Krishna NS2 Pgms
rameshsena
No ratings yet
CN Final Part A
Document
22 pages
CN Final Part A
Vyshnavi
No ratings yet
SN Labwork Whole
Document
34 pages
SN Labwork Whole
Jignesh Patel
0% (1)
EXP
Document
7 pages
EXP
Kumar ji
No ratings yet
CN LAB programs
Document
33 pages
CN LAB programs
shrinivasuche
No ratings yet
lab3.tcl
Document
3 pages
lab3.tcl
suneetha prabhu
No ratings yet
Netanim - Program
Document
4 pages
Netanim - Program
Maheshwaran
No ratings yet
Computer Networks Lab - 12 Distance Vector Routing Protocol Ns2 Code
Document
3 pages
Computer Networks Lab - 12 Distance Vector Routing Protocol Ns2 Code
SUGAVANESHWARAN K
No ratings yet
Lab Record: For Installation of ns2
Document
17 pages
Lab Record: For Installation of ns2
ENAGANTI KARUN KUMAR
No ratings yet
Exercises 1. Simple NS2 Program
Document
9 pages
Exercises 1. Simple NS2 Program
Alex
No ratings yet
CN Lab Simulation Programs
Document
9 pages
CN Lab Simulation Programs
thejaschandra
No ratings yet
Lab 3
Document
2 pages
Lab 3
sosq761
No ratings yet
ns3 Programs
Document
4 pages
ns3 Programs
vardharajulu
No ratings yet
simulation-programs
Document
9 pages
simulation-programs
Khyathi Kiran
No ratings yet
Sample Program On NS2/NS3
Document
46 pages
Sample Program On NS2/NS3
Radhika Krishnan
100% (1)
WMN Lab Record Akb
Document
14 pages
WMN Lab Record Akb
goldenhoney1990
No ratings yet
CN Parta
Document
19 pages
CN Parta
kushkruthik555
No ratings yet
Routingalgo TCL
Document
2 pages
Routingalgo TCL
toklesreeja
No ratings yet
Ex 11 (B) TCP Congestion Control Algorithm
Document
4 pages
Ex 11 (B) TCP Congestion Control Algorithm
Muthu raja
No ratings yet
Vaibhav Goel
Document
29 pages
Vaibhav Goel
dege
No ratings yet
CN Lab
Document
7 pages
CN Lab
S 201
No ratings yet
Name:Waleed Mahmood ROLL NO: FA18-BCS-156 Section: C: DOWN IN Node 4 To 5 As We Want To Down The Link .
Document
9 pages
Name:Waleed Mahmood ROLL NO: FA18-BCS-156 Section: C: DOWN IN Node 4 To 5 As We Want To Down The Link .
Ali Saleem
No ratings yet
ns2 File
Document
7 pages
ns2 File
Alex Hill
No ratings yet
Exp 3 1
Document
5 pages
Exp 3 1
Dhanya Sharanya
No ratings yet
CN Lab Mannual1
Document
32 pages
CN Lab Mannual1
defenderrai250
No ratings yet
CN Lab Notes
Document
16 pages
CN Lab Notes
BHAVANA N S CSE-2020-24
No ratings yet
Part A Networks Laboratory
Document
17 pages
Part A Networks Laboratory
Megan_1234
No ratings yet
Advanced Protocol Engineering Lab
Document
9 pages
Advanced Protocol Engineering Lab
Jawa
No ratings yet
lab1.tcl
Document
2 pages
lab1.tcl
suneetha prabhu
No ratings yet
CN Lab Program Conduction Report
Document
50 pages
CN Lab Program Conduction Report
S Geetha Sravya
No ratings yet
Computer Networks
Document
2 pages
Computer Networks
Montana Jones
No ratings yet
CN Lab Week 10
Document
2 pages
CN Lab Week 10
Pagoti Jyothirmaye
No ratings yet
All TCL Scripts
Document
3 pages
All TCL Scripts
Ravinder
No ratings yet
FInal Lab
Document
41 pages
FInal Lab
Kp Kayum
No ratings yet
Part A-Exp 5
Document
9 pages
Part A-Exp 5
Balaji Koushik S
No ratings yet
Ex. No:12 Simulation For Comparison of Ls and DV Date: Aim
Document
6 pages
Ex. No:12 Simulation For Comparison of Ls and DV Date: Aim
Sarath Pathari
No ratings yet
Profound Python Data Science
From Everand
Profound Python Data Science
Onder Teker
No ratings yet
Bash Command Line Pro Tips
From Everand
Bash Command Line Pro Tips
Jason Cannon
Rating: 4.5 out of 5 stars
4.5/5 (8)
DRBD-Cookbook: How to create your own cluster solution, without SAN or NAS!
From Everand
DRBD-Cookbook: How to create your own cluster solution, without SAN or NAS!
Joerg Christian Seubert
No ratings yet
CISCO PACKET TRACER LABS: Best practice of configuring or troubleshooting Network
From Everand
CISCO PACKET TRACER LABS: Best practice of configuring or troubleshooting Network
Mulayam Singh
No ratings yet
VLSI Assignment 2
Document
22 pages
VLSI Assignment 2
Innovation SRI
No ratings yet
Adc
Document
94 pages
Adc
Innovation SRI
No ratings yet
VLSI Assignment-2
Document
24 pages
VLSI Assignment-2
Innovation SRI
No ratings yet
Unit1 Intro BDS
Document
47 pages
Unit1 Intro BDS
Innovation SRI
No ratings yet
Unit4 Trees
Document
51 pages
Unit4 Trees
Innovation SRI
No ratings yet
Unit3 Queues
Document
27 pages
Unit3 Queues
Innovation SRI
No ratings yet
Unit2 Linkedlist
Document
48 pages
Unit2 Linkedlist
Innovation SRI
No ratings yet
DBMS Assignment-2
Document
6 pages
DBMS Assignment-2
Innovation SRI
No ratings yet
Binary Phase Shift Keying
Document
30 pages
Binary Phase Shift Keying
Anonymous lvhUQDya6
No ratings yet
Ome201101 GSM Bts312 Hardware Structure Issue4.0
Document
57 pages
Ome201101 GSM Bts312 Hardware Structure Issue4.0
rizwanrazakhan
No ratings yet
Proposed Method Implementation
Document
19 pages
Proposed Method Implementation
NelLopez
No ratings yet
Wiphold Corporate Profile (Revised) - M&G 081027
Document
32 pages
Wiphold Corporate Profile (Revised) - M&G 081027
LC
No ratings yet
ISPRS SC Spectrum Vol14 No3
Document
34 pages
ISPRS SC Spectrum Vol14 No3
ISPRS Student Consortium
No ratings yet
Light LED
Document
25 pages
Light LED
Bobby Budiman
No ratings yet
Mazda5FogLamp Installation
Document
12 pages
Mazda5FogLamp Installation
alejoromk
No ratings yet
Assignment No 1 KOM
Document
7 pages
Assignment No 1 KOM
Ritesh Deshmukh
No ratings yet
ACTIA IR14299C BMS MASTER List of Errors and Warnings
Document
21 pages
ACTIA IR14299C BMS MASTER List of Errors and Warnings
pieterjansteyaert
No ratings yet
Answer No 3
Document
15 pages
Answer No 3
Politik Itu Kejam
No ratings yet
Algebra 2 Trigonometry Homework Answers
Document
6 pages
Algebra 2 Trigonometry Homework Answers
g3j8bj22
No ratings yet
C70 CEM70 Manual
Document
61 pages
C70 CEM70 Manual
cedricgiraud62
No ratings yet
Topological
Document
18 pages
Topological
Chun Geng
No ratings yet
ICT Abbreviations, Notes, Notes by Navdeep Kaur PDF
Document
30 pages
ICT Abbreviations, Notes, Notes by Navdeep Kaur PDF
Bandana Yadav
No ratings yet
A3SWEMENT
Document
1 page
A3SWEMENT
Naomi Aira Gole Cruz
No ratings yet
Amc 8-1996
Document
6 pages
Amc 8-1996
Idham Muqoddas
No ratings yet
Aqa French Gcse Writing Coursework
Document
6 pages
Aqa French Gcse Writing Coursework
pqltufajd
100% (2)
Decision Tree Learning
Document
2 pages
Decision Tree Learning
Manjunath KV Assistant Professor (CSE)
No ratings yet
10 ĐỀ THI THỬ THPT QUỐC GIA MÔN TIẾNG ANH (Kèm lời giải chi tiết) PDF
Document
156 pages
10 ĐỀ THI THỬ THPT QUỐC GIA MÔN TIẾNG ANH (Kèm lời giải chi tiết) PDF
Vũ Hoàng Hà
No ratings yet
Lista Final Musashi 250522
Document
4 pages
Lista Final Musashi 250522
jesus espejoatahua
No ratings yet
HBIM Development of A Brazilian Modern Architecture Icon: Glass House by Lina Bo Bardi
Document
15 pages
HBIM Development of A Brazilian Modern Architecture Icon: Glass House by Lina Bo Bardi
Nícolas Marques
No ratings yet
Layout of Foundry Workshop
Document
6 pages
Layout of Foundry Workshop
Rao Yasir
No ratings yet
Net Profit From Business: Schedule C-Ez (Form 1040) 09A
Document
2 pages
Net Profit From Business: Schedule C-Ez (Form 1040) 09A
tinpena
No ratings yet
(Am-Medicine Com) 100120200009
Document
220 pages
(Am-Medicine Com) 100120200009
otoralla1591
No ratings yet
Father Saturnino Urios University
Document
5 pages
Father Saturnino Urios University
NelLopez
No ratings yet
Drilling Log: Soil or Rock Material Description
Document
1 page
Drilling Log: Soil or Rock Material Description
Yosep Aliandu
No ratings yet