0% found this document useful (0 votes)
38 views

Advanced Protocol Notes

Uploaded by

Karthik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
38 views

Advanced Protocol Notes

Uploaded by

Karthik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 14
Ex:o1. TNSTAUATION AND CONFIWURATION OF Netwoorn SiMuator. AIM: To install. and. tonfiquro, a. niticor’ simulator nea! Theory: Nature sinutotor "nse" has Bocce. lomponente, - U\Natucsx£ simutaler 2- For en nations (i) Neticere&. Animate (NAH) Foe euting Ho arumalion of nebrisorcl Git) Teel. lorumand language (TCL) ConvAnDdDs : ov. Susteh te sc00t uso sudo -i laa. aie ner | suilo apt-get instal nsa 03, Install nam By sullo apt-get inte nam Reet: Nutsoeh ainulile has Bar insted. andl iorfiqunad, 'Vis/eogs ee Network ToroLovy Aim: To inpliment a stax topology uting. 6a Cove: set ns [mew Simulator] Set nF [open expl.nam tating, 0 var Smudatoe anX 0° go Nam Site iv ussite meg, gns vnambrae-all $nf ga sme Pehisean F He topolagy . ins sun Creating, nobles andl aAsiting Tete Ye specified yi | | a ie se ee > 2vlialnoas, Stan Toporony with Ter ConNEcTions Aw: To vecatte 0 clase topology, seth tep tonnactiona using. 6g Cone: Set ns Lonewo Simulator] set mf Lopen exp2am wl] ams mambrce-all df im J SW ctinee ct nt Lopen expa-tr w] $s trace-all gut prec fish 43. § global msynf wb No con ae t be Used) dns flush -tace Storing all traces dose 4nf a dose brits exec nam expr.mam 7 exe wok -F expr crok. expaty 3 wok fla tae he trace. fi andh ae Aneline dt for rertomamee met evaluation 4 ‘set no free nofe] sch m1 Gnas nafle] Geb Ma [neto nofle] seb n3 ree node! / de Aupler -linZ dno dm2 top loms Drop dns Suplon link dni m2 Yo tome Dropbil, ne Mugler lok 42 dns toh toms DropTat brs opler-limk-op 400 42 onemt: right -Lovon dns duplex -Lunk-op 4m dna orient right up Ans Aupler-lmk-op tna dna orient Lett set tep Ineo Agent! TCP] Btep set classta Tp > > dns athach rent mo Hep Minch ule spurl to set sink. Enewo Agent /TPSentl a Kibidishisanis igaead dns attach-agent gma $simk \ ‘ dns wnnect step 46m lornc/in Ko Iwo ant set Ftp Tmewo Application /FTP] gHp acthach -agemt Step beating, a fife dip set type. FIP He pe ametcca tp et packet-sine— tooo Attp seb vate tmb hanson. opptcat tii incl oh fms at 1.0 “d#tp start” gms at 2.0 “Ettp stop” Ve aa ans at 5.0 "$imich" | 1 ns wn x Resur: ' dM Sl thn ithe ep tortie plinth ang nan, & YN 2/01/2004 Grae ToroLoos with UDP CONNECTION Am: To Emplorait 0. stare topelogy. with ure onrwctiore using sa. Cope: set ns [mew Srmulator| becting on nistnonirent set n¥ [open expsnam uw] $ns mambree-all ¢nf treating, 0 syre els ae set rt Lopen expa.tr io] / totace Sie te lore atl tae, ees & acxese wets progvams ; dns Fluch-trace Gases the traces close Snf oe ee ee fi exec nam expanam Jf frenutiig Yam exec awk -f exp2.cvok expa.ty F exit o \ |S | |seb no Lams node] sab m L4ns node] ket na Lams node e na Lhns note ans Guplex-Unh 4mo ¢u2_ ob toms DropTetl 5 Auplex ink 4m m2 \oMb toms DropTail ams daplex-link gna gma to toma Drop Ta ams Auplex-lB-op ro dn2 oment vight-ovon Lams Huuplor- Un -0p gm 4n2. orient might - up ans Saplor- Uink-op ama dma orient (oft ail sat vip Erew Agert,/ud? ] ans actach - agertt 4m dudp / set null Ere Agent/NULL] ang attach -agenb ama dwull dys tommect tudp dull » tng cat chy fne0 Applastion TresfhiclCBR] Y athach agent udp MacFirg application. to t%e. ann door set type CBR Appia 1 Seby cet paskeb—sing- 1000 Pnfat cing feby set eke Imb ne ab 1.0 “Sebr start" dns at 2.0 “§ebr stop” ans at 5.0 “Fimish" és un Result: Sins topslogy. usith, UDP Se eee sa. of APY > lot/oikenaa Am: To aimuflila and. find out ruumiber. off pacha Greppedl hse to vonseaby, Cone: set ms [mao Simulate] briccting.’ “ar ane%conmart SA $F Lopen labattr WT bwaliq a toace ams trae-a8% tf sch nf [open laba.nam Ww] owabing, a Nam $ilas dns nambrse -all nf sek no Lave note] beating nodes ect nt Lane nose] seb no fens nodel eck m3 [$ns node] ecb nan fans rode] sc ons Care node ech ne [ans rode] ame colon, cre Meigning. Whe tenet no (ebel “Ping o” Anfoling neces gma label “Pings” . dns bel “Pings” gme label “Finge” | amo label “Router” gms color ' "ved" ams Color 2 "green" Cans tape Kyran i cea aE SSS | gs duplee lik no 4n2 100K 200ms Droptail : ans dayton ok. 4mign2 tHb 200 ms Doplacd = ams Aupla- link dua nas Hb ,g00ms DreptatZ dns duploe-Un 4me dma 100Hb 30096 Droptard ams Auphe- link 42 dna 1 Hb 200ms Droplaz, dns uplee- lak, 42 4ne IHb 3200ms Drop tal 4ns queue-limis $nogn2 5 ns queur- limit §m2 éna 3 ams qyoue- limb snr ame & ans queue-Uimid §ng dur 6 €db ping 0 Leto Agants/ Prng| pave opty dns attach agent 4mo $pingo : 4pingo seb packet-singe 5000 A22 opin dping0 seb “otiswoL— 0.0001 : i se& pga [mew Agent [Ping] ans attach -agent mn dping a seb pings Enea Agent! Pong ans attach agent 4ns 4ping © dus pings set packets, 60000 | dus pings seb Intousal — 0.0001 pings seb “yitsusal 0.0001 seb pong & Eero Agar / Pong | dpingo seb class ( | hms attach agent Ame ping | $oping 5 seb Class a | dng Convact Spingo sping a | gus lomud gpings 4pinge Ast PEMet whe \oon Vet AOSD Ertiucall = him 3 24 | AgertlPing Trebproc vecv Lfrom rtts § | dself Gucbvay made - puts "The nolo [dmole 141 veceised on sgily from sro usith ls sunt thlp tine grt! | proc FinBd 4 Z global ms nt tf exec alok -f° labawk (abstr ¥ exec nam, labs.ram ans flush—trace Clesa. $tF exft o uA 1 gns at ot tpngo sent" Tnging. From b ams at 0.2 “gpmgo sent” gus at 0.3 “$pingo sen” gms ab 0.4 “dpingo send” gns at 0.5 “dpingo send” ’ gme at 0-6 “pingo send" sorriy? gus a6 0-1 “kpmgo seni * ams ob 0.8 “pingo send” ems ab 0.4 “$pingo send“ P ams ab 1-0 “kpingo cond” 4 perig ans at 1-1 “gpixgo sendl * ans at 2 “sping send.” gus ab 1-3 “pingo send" ams ab Ld “§pingo send" ans ob LS “fpingo send" ams at l-6 “&ping 0 send gre at 17 “Bpingo cond" 47s ob 18 “gpingo sen" ams at 0-1 “sping S son" ans a£1-8 “Spings send “ ams ob 5.0 “Finish “ ans yon a File: lob. awok Be oun & count =0; S 4 event =$1 5 it levends fe 124, ; cone Py i END Z prnth "Packets Broppo +f \n",lount) et > 8 ey : Resorts. ox The hae snd 0d fun, aaa sshing fh PORT At snntod pho gawd yak ’ = a mm QhALT 2 Sm * wee BW) Sgored. So. , as RPS mon aah eA 9° Sato a St Shad Shibinownng, wait gnognne A np aX p) SvtokY vse Sb Sp SM apes fx rp adh Tha gosh dhive about gosh sani Gaiigay aes ai. oakiaw sir i pe china) a) ah 30/oi/ena, Aim. To find hatarate and Yoougfpl of 0 TP tonnection Cone: set ns Lnevo Simulator] set wf [open expa mam uw] 4ns nambrae -all @nf : st mt [open expr.tr wo] gms trw-all ént proc finish $3 4 glob ns mF wt $ns flush- trace clea auf Usse nt exec Nam exphnam ¢ exec awk ~F exph.awk exprty £ exit o 4 et no [ne naka] ee mm [ns nodal] eet 1a [ns node] ech 12 Léns node] bs dupe tink, ni 472 1oHb toms DropTatL ee duplex link. 43 $72 10Mb ome DropTa?L ee fupbr-lisB--op 4no 4m onent Night Loon fey Huplac-UrB-op fmt M2 orient YIgh’ -up yes Gaglor -US-op $s 42 onent ge | éns Auplen lin m0 4n2 10Mb joms ‘DropTarL Poet tep [mew Agent /TeP] atep seb dass 2 gms attach- agent v0 dtp set sim [neo Agert /TPSint-] gms attach - agort m3 dsm gre toned step dmb ect ep [news Aplcation /FTP) atip ottath agent sep bip sé type - FTP afip set pactet-size 1000 gitp set vate imb ans at 1.0 “Sfbp start” ans ob 2.0 “$Etp stop” gns at 5.0. “$ttp Fmich" gs wn File Nama: expa.aiok Bevin Stime =0 ftime =O Flag = © forge =0 | Brromhpst «0 labeney =O 13 ee laesty" 44 GDL fon += Go 4 Ltlag == 0h stime =$2 Flog =! Ftime= $2 i 3 ENDS ) latanay = Hime. -stime. rreughput, = Lfsigg «3)/ prints ("\y batancy ier yy laloreg prenbl U"\y Throughput : */oF throughput) 4 Outrur OO \ 39 ‘ 1) 0) hadioney 21 00l79 Throughput 16 1418617

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy