CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 20:16:51 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=604f656b76a21bcec9f5e23b69d16ccf88d553c535da3ca26538929f147bc791a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22nZIGA2TZ6-hSh7AomfGC9-eIg5GeF8rg%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d109a0cbcca9b7-BLR
cn1 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set ns [new Simulator]
- /* Letter S is capital */
- set nf [open lab1.nam w] /* open a nam trace file in write mode */
- $ns namtrace-all $nf
- /* nf – nam file */
- set tf [open lab1.tr w] /* tf- trace file */
- $ns trace-all $tf
- proc finish { } { /* provide space b/w proc and finish and all are in small case */
- global ns nf tf
- $ns flush-trace /* clears trace file contents */
- close $nf
- close $tf
- exec nam lab1.nam &
- exit 0
- }
- set n0 [$ns node] /* creates 4 nodes */
- set n1 [$ns node]
- set n2 [$ns node]
- set n3 [$ns node]
- $ns duplex-link $n0 $n2 200Mb 10ms DropTail /*Letter M is capital Mb*/
- $ns duplex-link $n1 $n2 100Mb 5ms DropTail /*D and T are capital*/
- $ns duplex-link $n2 $n3 1Mb 1000ms DropTail
- $ns queue-limit $n0 $n2 50
- $ns queue-limit $n1 $n2 50
- set udp0 [new Agent/UDP] /* Letters A,U,D and P are capital */
- $ns attach-agent $n0 $udp0
- set cbr0 [new Application/Traffic/CBR] /* A,T,C,B and R are capital*/
- $cbr0 set packetSize_ 500 /*S is capital, space after underscore*/
- $cbr0 set interval_ 0.005
- $cbr0 attach-agent $udp0
- $cbr0 attach-agent $udp0
- set udp1 [new Agent/UDP]
- $ns attach-agent $n1 $udp1
- set cbr1 [new Application/Traffic/CBR]
- $cbr1 attach-agent $udp1
- set udp2 [new Agent/UDP]
- $ns attach-agent $n2 $udp2
- set cbr2 [new Application/Traffic/CBR]
- $cbr2 attach-agent $udp2
- set null0 [new Agent/Null] /* A and N are capital */
- $ns attach-agent $n3 $null0
- $ns connect $udp0 $null0
- $ns connect $udp1 $null0
- $ns at 0.1 "$cbr0 start"
- $ns at 0.2 "$cbr1 start"
- $ns at 1.0 "finish"
- $ns run
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 1 sec ago | 0.25 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 5 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 7
JavaScript | 11 sec ago | 0.25 KB
-
📝 EASY MONEY GUIDE ✅ Working
JavaScript | 14 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 1
JavaScript | 20 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ E
JavaScript | 29 sec ago | 0.25 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ X
JavaScript | 38 sec ago | 0.25 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ X
JavaScript | 39 sec ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand