48 Pages

Lecture15

Course: CS 372, Fall 2008
School: Oregon State
Rating:
 
 
 
 
 

Word Count: 2953

Document Preview

sday, Tue May 20 Midte #2 rm S core areposte s d C eto m officeif you want to go ove thee om y r xam Program#1 Grading is in progre ss Lab #5 is poste d DueFriday, May 30 Lab sche duleis change d!! Hom work #4 is poste e d Re -assigne proble s (7 & 8) fromHom work #3 d m e DueThursday, May 22 (BOC ) Program#2 is poste d DueThursday, June5 1 Today's Topics Ne twork Addre Translation (NAT) ss...

Register Now

Unformatted Document Excerpt

Coursehero >> Oregon >> Oregon State >> CS 372

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
sday, Tue May 20 Midte #2 rm S core areposte s d C eto m officeif you want to go ove thee om y r xam Program#1 Grading is in progre ss Lab #5 is poste d DueFriday, May 30 Lab sche duleis change d!! Hom work #4 is poste e d Re -assigne proble s (7 & 8) fromHom work #3 d m e DueThursday, May 22 (BOC ) Program#2 is poste d DueThursday, June5 1 Today's Topics Ne twork Addre Translation (NAT) ss I nte t C rne ontrol Me ssageProtocol (I C MP) Routecom putation 2 S haring an I P addre ss Hom ne e tworks, othe sm LANs r all Expe nsiveto haveuniqueI P addre for e host ss ach Want to shareinte t acce through just oneI P addre rne ss ss Want to m aintain se curity/privacy I nstall route ... but how doe it work? r s 3 Ne twork Addre Translation ss NAT is an e nsion of theoriginal I P addre xte ssing sche e m Motivate by e d xhaustion of I P addre space ss Allows m ultiplecom rs at onesiteto share a singleglobal I P pute addre ss Re quire a de to pe s vice rformpacke translation t I n-lineconfiguration All traffic e ring or le nte aving thene twork m go through theNAT de ust vice S hould betranspare to all use nt rs ction Virtual privateconne 4 NAT: Ne twork Addre Translation ss local ne twork use just oneI P addre as far as outsideworld is s ss conce d (e rnal addre rne xte ss) rangeof addre s not ne de fromI S just oneI P addre for sse e d P: ss all de s vice can changeaddre s of de s in local ne sse vice twork without notifying outsideworld can changeI S / e rnal addre without changing addre s P xte ss sse of de s in local ne vice twork de s insidelocal ne not e vice t xplicitly addre ssableby outside world (a se curity plus). 5 NAT: Ne twork Addre Translation ss re of st I nte t rne local ne twork (e hom ne .g., e twork) 10.0.0/24 10.0.0.4 138.76.29.7 10.0.0.3 10.0.0.1 10.0.0.2 All datagram le s aving local ne twork havesam singlesourceNAT IP e addre 138.76.29.7, ss: diffe nt sourceport num rs re be Datagram with sourceor s de stination in this ne twork have10.0.0/24 addre for ss source de , stination (as usual) 6 I m m ntation ple e To se datagramout to theinte t froma com nd rne pute in the r privatene twork: C pute constructs datagramwith sourceaddre and de om r ss stination addre se to NAT box ss, nds NAT box translate thesourceaddre in thedatagramto thesite s ss 's I P addre ss NAT ke ps sourceand de e stination addre s in itstranslation table sse Note che : cksumm bere ust calculate and datagramm be d ust re constructe d 7 I m m ntation ple e To forward an incom datagramfromtheinte t to a ing rne com r in theprivatene pute twork: Datagram arriveaddre d to thesite I P addre s sse 's ss NAT finds sourceand de stination addre s in itstranslation table sse NAT change thede s stination addre in thedatagramto the ss inte addre for thetarge com r rnal ss t pute NAT re constructs thedatagram(with ne che w cksum e and , tc.) forwards it to thecom r in theprivatene pute twork 8 I m m ntation ple e S oftwaresolutions S tandard PCwith , .g.: NAT software e Linux masquerade Windows RRAS (Routing and Remote Access Server) xtra e NI C OK for slowe spe d ne r e tworks (e 10 Mbps) .g., NAT box m translateaddre s in tim for theusual ne ust sse e twork functions to work te stion, e tc. calculating RTD, de cting conge Hardwaresolutions S cial-purposehardwarefor high-spe d ne pe e tworks (e gigabit Ethe t) .g., rne Hybrid solutions Route can incorporatesoftwarefor NAT rs Use in m dium d e -spe d ne e tworks (e 100 Mbps) .g., 9 Virtual conne ction Thee ct of NAT is to forma virtual privateconne ffe ction be e a com r in a privatene twe n pute twork and a re otehost m (inte t site rne ). Of course theconne , ction m beto a com r in a se ay pute parate privatene twork (through anothe NAT box) r I nte rnal com unications do not usetheNAT box m 10 Proble s with basic NAT m I f two com pute insidetheprivatene rs twork both want to com unicate m with thesam e rnal site thebasic translation tableis not sufficie e xte , nt I f onecom pute insidetheprivatene r twork is running applications with two re otehosts, thebasic translation tableis not sufficie m nt I f a re otesitewants to m thefirst contact with a com m ake pute inside r theprivatene twork, the will beno translation tablee re ntry. 11 NAPT Ne twork Addre and Port Translation ss Most popular im m ntation of NAT ple e Usually just calle NAT d Ke ps track of local addre s and I P addre s e sse sse Also can ke p track of (and change TC and UDP protocol e ) P port num rs be Allows ultiplecom rs in theprivatene pute twork to com unicatewith a single m m de stination ultipleapplications on a singlecom r in theprivatene pute twork to m com unicatewith m m ultiplede stinations 12 Exam NAPT table ple Entry in tablere cords protocol port num r as we as IP addre be ll ss Port num rs arere be -assigne to avoid conflicts d Dire ction out I nitial value IPS RC:TCP S RC 10.0.0.125:30000 IPS RC:TCP S RC 10.0.0.77:30000 I P DS T:TCP DS T 128.210.24.6:40001 I P DS T:TCP DS T 128.210.24.6:40002 Translate d IPS RC:TCP S RC 128.210.24.6:40001 IPS RC:TCP S RC 128.210.24.6:40002 I P DS T:TCP DS T 10.0.0.125:30000 I P DS T:TCP DS T 10.0.0.77:30000 Unchange d I P DS T:TCP DS T 68.18.6.225:80 I P DS T:TCP DS T 68.18.6.225:80 I P S :TC S RC P RC 68.18.6.225:80 I P S :TC S RC P RC 68.18.6.225:80 13 out in in NAT table For an out-going datagram : S ourceaddre is change to thesiteaddre ss d ss. S ourceport num r is re be -assigne and re d corde d C cksumis re he calculate d Datagramis re constructe d De stination addre / port num r arenot change ss be d Translation tablere cords rnal ss be I nte sourceaddre / original port num r stination addre / re ss -assigne sourceport num r d be De 14 NAT table For an in-com datagram ing : De stination addre is change to theinte addre re ss d rnal ss corde in thetranslation d table . De stination port num r is change to theport num r re be d be corde in thetranslation d table . C cksumis re he calculate d Datagramis re constructe d S ourceaddre / port num r arenot change ss be d 15 TC splicing P I nte rconne two inde nde TC conne cts pe nt P ctions Form two conne s ctions (inte and e rnal) rnal xte "splice theconne s" ctions to sim ulatedire conne ct ction Transpare to both hosts nt Ve e ry fficie nt Use e nde NAT translation table s xte d 16 NAT: Ne twork Addre Translation ss 2: NAT route r change datagram s sourceaddr from 10.0.0.1, 3345 to 138.76.29.7, 5001, update table s 2 NAT translation table WAN sideaddr LAN sideaddr 138.76.29.7, 5001 10.0.0.1, 3345 ...... ...... S 10.0.0.1, 3345 : D: 128.119.40.186, 80 1: host 10.0.0.1 se datagramto nds 128.119.40.186, 80 10.0.0.1 1 S 138.76.29.7, 5001 : D: 128.119.40.186, 80 10.0.0.4 S 128.119.40.186, 80 : D: 10.0.0.1, 3345 10.0.0.2 138.76.29.7 S 128.119.40.186, 80 : D: 138.76.29.7, 5001 4 3 3: Re arrive ply s de addre st. ss: 138.76.29.7, 5001 10.0.0.3 4: NAT route r change datagram s de addr from st 138.76.29.7, 5001 to 10.0.0.1, 3345 17 First contact Whe contact is initiate fromoutsidethesite the is no n d , re translation tablee ntry E.G., a privatene twork m berunning m ight ultiplese rs rve through a NAT syste m 18 NAT trave proble rsal m clie wants to conne to se r with addre 10.0.0.1 nt ct rve ss se r addre 10.0.0.1 local to LAN (clie can't useit as de rve ss nt stination addr) only onee rnally visibleNAT'e addre 138.76.29.7 xte d ss: 10.0.0.1 C nt lie ? 10.0.0.4 138.76.29.7 NAT route trave r 19 NAT proble rsal m S olution 1: statically configureNAT to forward incom conne ing ction re sts at give que n port to se r rve e (123.76.29.7, port 2500) always forwarde to 10.0.0.1 port 25000 .g., d 10.0.0.1 C nt lie ? 10.0.0.4 138.76.29.7 NAT route r 20 NAT trave proble rsal m S olution 2: Universal PnP I nternet Gateway Device(I GD) Protocol. Allows NAT'e host to: d m (privateI P, privateport #) with (public I P, public port #) ap adve rtise(public IP, public port #) add/re oveport m m appings 10.0.0.1 IGD 10.0.0.4 138.76.29.7 NAT route r 21 NAT trave proble rsal m S olution 3: (TwiceNAT) ProvideDNSse rvice Works in m case ost s Doe work if re otere st use I P addre inste of dom sn't m que s ss ad ain nam e 22 I m m ntations of NAT ple e linux: unix: m asque rade slirp (Serial Lineinternet Routing Protocol) Windows: I C (I nternet Connection Sharing) S 23 NAT: Ne twork Addre Translation ss 16-bit port-num r fie be ld: 60,000 sim ultane conne ous ctions with a singleLAN-side addre ss! NAT is controve rsial. Obje ctions include : rs ss r route should only proce up to laye 3 s nd-to-e argum nt nd e violate e NAT possibility must be taken into account by app designers, eg, P2P applications ss ad d addre shortageshould inste besolve by I Pv6 24 Que stions on NAT? 25 Mode a wide a ne ling -are twork (WAN) Usea graph: "Node m l switche s" ode s "Edge m l dire conne s" ode ct ctions be e switche twe n s C apture e nceof WAN, ignoring attache com rs s sse d pute 26 C puting shorte path om st Re se WAN as a graph pre nt C puteshorte path frome nodeto e ry othe node om st ach ve r Extract ne xt-hop inform ation fromre sulting path inform ation I nse ne rt xt-hop inform ation into routing table s 27 We ights Re se costs as we pre nt ights on e s in graph dge We ights arede rm d by spe d, distance additional te ine e , hardware bottle cks, e , ne tc. S horte path is thepath with lowe total we (sumof st st ight we ights of all e s in thepath) dge S horte path is not ne ssarily fe st e s or fe st hops st ce we dge we 28 Djikstra's Algorithm(sim plifie ve d rsion) S e e calle "Link-S om tim s d tateAlgorithm " ... but Link-S tateuse Djikstra's s Data structure s: S= {all node e pt source s xce } D is array of we ights of e s dge I nitially, D[v] = e we (if e fromsourceto v e dge ight dge xists) or Use to re se the"cost" of a nodein these Sof node for which a path pre nt t s has not ye be n com d t e pute (otherwise) R is array of node s dge xists) or ze (othe ro rwise ) I nitially, R[v] = v (if e fromsourceto v e P is an array of node s dge xists), or ze (othe ro rwise ) I nitializeP [v] to source(if an e fromsourceto v e 29 Djikstra's Algorithm(sim plifie ve d rsion) Num r thenode be s De rm sourcenodeand de te ine stination node At e ite ach ration, find a nodein S com , putethepath to that node and de tethenodefromS , le Tracebackwards (de stination to source in P to ge shorte ) t st path. Find total cost at D[de stination] Routing tableR give first-hop inform s ation 30 Djikstra's Algorithm(sim plifie ve d rsion) initialize S, D, R, P; while (!empty(S)) { u = node in S with D[u] a "smallest element" ... if tied, take smallest u; if(D[u] == ) { error: "no path"; exit;} S = S {u}; for (each v such that edge (u,v) exists) { if(v in S) { c = D[u] + weight (u,v); if(c < D[v]) { R[v] = R[u]; P[v] = u; D[v] = c; } } } } 31 Exam com ple putation (S ourceis 4, De stination is 5) 32 initialize S, D, R, P; while (!empty(S)) { u = node in S with D[u] a "smallest element" ... if tied, take smallest u; if(D[u] == ) { error: "no path"; exit;} S = S {u}; for (each v such that edge (u,v) exists) { if(v in S) { c = D[u] + weight (u,v); if(c < D[v]) { R[v] = R[u]; P[v] = u; D[v] = c; } } } } 33 Distribute routecom d putation Pass inform ation about ne twork topology be e node twe n s Updateinform ation pe riodically Each nodere pute shorte paths and ne hops com s st xt Makechange in routing table s s 34 Othe routing algorithm r s Distance ctor -ve Local inform ation is ne xt-hop routing tableand distancefrome ach switch S witche pe s riodically broadcast topology inform ation Othe switche updaterouting tablebase on re ive inform r s d ce d ation 35 Othe routing algorithm r s Link-state S parate ne e s twork topology fromroutecom putation S witche se link-stateinform s nd ation about local conne ctions (e .g., "link 4 17, OK") Each switch builds its own routing table s s ation to updateglobal topology Use link-stateinform Runs Djikstra's algorithm 36 C parison of algorithm om s Djikstra's algorithm Re quire com tecost inform s ple ation Othe rwise e to im m nt , asy ple e Link-statealgorithm Much m com x ore ple S witche pe s rforminde nde com pe nt putations Use in OS d PF (Ope S n horte Path First) protocol st Distance ctor algorithm -ve Ve sim to im m nt ry ple ple e Use in RI P (Routing Inform d ation Protocol) 37 Que stions on routecom putation? 38 Error de ction te I P provide be ffort de ry s st-e live I nte t laye can de ct a varie of e rne r te ty rrors: C cksum he TTL e xpire s No routeto de stination ne twork C an't de r to de live stination host (e no ARP re .g., ply) I nte t laye discards datagram with ce rne r s rtain type of proble s s m 39 IC MP S etype of e om s rrors can bede cte and re te d porte d I nte t C rne ontrol Me ssageProtocol (I C MP) provide e s rror- re porting m chanism e s Route se control m ssageback to source r nds e Encapsulate in I P datagram d C ontains code inform d ation about thetypeof proble m 40 I C He r MP ade 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Type C ode unuse d Original I P He r ade + 64 bits of DatagramData C cksum he 41 I C He r Exam MP ade ple Type 3 C 0 = ne unre ode t achable 1 = host unre achable 2 = protocol unre achable 3 = port unre achable 4 = fragm ntation ne de and DF se e e d t 5 = sourceroutefaile d C cksum he the16-bit one com m nt of theone com m nt sumof theI C 's ple e 's ple e MP m ssage e starting with theI C Type MP . Original I P He r + 64 bits of Data Datagram ade I P he r is at le 20 byte ade ast s. Re ainde is use by host to m m r d atch m ssageto appropriateproce e ss. 42 ICMP messag e types 43 Type of m ssage s e s I nte t C rne ontrol Me ssageProtocol (I C MP) de s 2 classe fine s of m ssage e s e m ssage rror e s inform ational m ssage e s 44 Error m ssagee ple e xam s S ourceque nch route se whe it has no m que r nds n ore uing spaceavailable . m ssageis se in two case e nt s 1. route se whe theTTL is re d to ze r nds n duce ro 2. de stination host se whe there m tim r e nds n asse bly e xpire be all s fore fragm nts arrive e . Tim e e d e xce de 45 Error m ssagee ple e xam s De stination unre achable route se r nds whe it de rm s that a datagramcannot be n te ine de re to its final de live d stination Re ct dire route se r nds whe it de rm s that a host has incorre se a n te ine ctly nt datagramthat should bese to a diffe nt route nt re r 46 Error m ssagee ple e xam s Fragm ntation re e quire d Route se r nds whe it de rm s datagramis too largefor n te ine outbound ne twork Param te Proble e r m Oneof theparam te spe e rs cifie in a datagramis incorre d ct. 47 Que stions? Ge m t oving on Program#2 Hom work #4 e Lab #5 Re K& R, C ad hapte 5, S ctions 1 - 6 r e 48
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Oregon State - CS - 372
Thursday, May 22 Homework #4 is due Lab #5 is postedQuestions? Solutions will be posted today Due Friday, May 30 Lab schedule is changed! Due Thursday, June 5 (2 weeks from today!) Partnership registration due Tuesday (5/27) Program #2 i
Oregon State - CS - 372
Tue sday, May 27 C ck your scoreposting, pick up* he Re nt score ce s:e Hom work #4 *Program#1 *Lab #4 Hom work #5 is poste e d Hardcopy dueThursday (BOC ) S olutions will beposte We sday e ning d dne ve Lab #5 re port is dueFriday Last s
Oregon State - CS - 372
Thursday, May 29 Homework #5 is due Lab #5 report is due Friday before midnightQuestions? Program #2 is due Thursday, June 5TAs have office hours in the lab today &amp; Friday Questions? No office hours todayExtra hours tomorrow1Tod
Oregon State - CS - 372
Tue sday, June3 Quiz #3, Hom work #5 eS s areposte core dst d Lowe quiz is droppePick up Quiz #3 Que stions? Program#2 is dueThursday, June5Que stions? I f you areworking with a partne besureto che thee r, ck xtra re quire e m nts1
Oregon State - CS - 372
Thursday, June 5Lab #5Grading is in progressCheck your scores1Program #2Due tonight before midnight Questions? Let's make a deal . The submit site will remain open until midnight Saturday, June 7. 50 points will be &quot;redistributed
Oregon State - CS - 372
CS/ECE 372 Introduction to Computer Networks Homework Assignment #1 10 points Hardcopy due Thursday, 10 April 2008, beginning of class Chapter 1, pp. 70 - 75 1. p.70 #P3 2. p.70-71 #P5 3. p.71 #P7 a,b,c 4. p.71-72 #P9 5. p.72 #P11 6. p.72 #P13 7. p.7
Oregon State - CS - 372
CS372 Introduction to Computer Networks Spring 2008 Homework Assignment #2 10 points Hardcopy due Thursday, 1 May 2008, beginning of class Make a copy for yourself for class discussion. Chapter 2, pp. 180 - 184 1. P3 2. P15 (a e only) Chapter 3, pp.
Oregon State - CS - 411
Operating Systems II Spring 2009 MWF 9:009:50 am KEC 1003paulson@eecs.oregonstate.edu http:/web.engr.oregonstate.edu/~paulsonCS 411Instructor: Paulson Office: KEC 2061Stay tuned . office hours might changeMWF 10:00 am 12:00 noon ot
Oregon State - CS - 411
Wednesday, April 1TeamsPosted on course wiki &quot;Projects&quot;, &quot;Teams&quot;Project #1 Posted on course wiki &quot;Projects&quot;, &quot;Project 1&quot; Due Sunday, April 5, before midnightToday's topicsProject #1Intro to OStoolsCourse Mailing List cs4
Oregon State - CS - 411
Friday, April 3Project #1 Due before midnight Sunday. Good discussions on the mailing list Contribute to the student wiki Evaluation criteria list is posted Questions/comments?See the archives Good questions are as valuable as goo
Oregon State - CS - 411
Monday, April 6Project #1Credit Distribution Agreement (hardcopy) Individual review documentsdue by endofclass todayBarCamp Credit due today before 5:00 pm Submit at http:/engr.oregonstate.edu/teach before midnight tonightHard
Oregon State - CS - 411
Wednesday, April 8Project #1Project #2 is postedGrading is in progress Due Sunday, April 19Homework #1 is postedDiscussion in class FridayToday's topicsMore CPU scheduling FCFS (FirstCome, FirstServed) SJF (Shortest Job F
Oregon State - CS - 411
Friday, April 10Project #1 Project #2 Grading is nearly complete Scores will be posted soon Progress reports? Questions? Monday seminar in classBe prepared (questions for Ian)Today's topics Homework #1 More CPU scheduling Hybr
Oregon State - CS - 411
Monday, April 13Project #2 Homework #1Progress reports? Ian's Seminar Wednesday in class Solutions are posted Friday in classQuiz #1Today's topic Multiprocessor scheduling Process Control Blocks Linux ConstantTime SchedulerExp
Oregon State - CS - 411
Wednesday, April 15Have you finished your taxes?Project #2The IRS expects to hear from you today Due date changed to Sunday, April 26Quiz #1Friday in classToday's topic Ian's Project #2 Seminar Review for Quiz #2Quiz #1 Frida
Oregon State - CS - 411
Friday, April 17Note some changes in the course calendar Project #2 Questions? Due Sunday, April 26Today's topics RSDL Scheduler Linux CFS scheduler Quiz #1Linux CPU Schedulers &quot;Constant Time Scheduler&quot; (CTS) &quot;Rotating Stairway
Oregon State - CS - 411
Monday, April 20Quiz #1Comments on Program #1 reviews: Still not finished .I actually read these Confidential, not returned Often used for recommendation letters Use professional language, spellcheck Be specific:Describe how your t
Oregon State - CS - 411
Wednesday, April 22Quiz #1 Project #2Scores are posted Pick up Updates?Homework #2 is postedDiscussion in class FridayTake the COE Computing Services Survey:http:/engr.oregonstate.edu/computing/itsurvey.phpToday's Topics
Oregon State - CS - 411
Friday, April 24Project #2Project #3 is postedDue Sunday before midnight Get started as soon as you finish Project #2 Solutions are postedHomework #2Homework #3 is posted Do Problem #1 Discussion in class MondayTake the COE
Oregon State - CS - 411
Project #2 Monday, April 27Project #3 Credit Distribution Agreement is due (end of class today) Project Review is due (before midnight tonight) Rob's seminar Friday Plan of attack due SundayDo Homework #3, problems 2 5Discussion
Oregon State - CS - 411
Wednesday, April 29Project #3 Get moving Be prepared for Rob's seminar in class FridayMore changes in the calendarToday's topicsLinux Kernel Coding StyleBeing anal for a good reason.The Linux Kernel Coding StyleGreg KroahHartman
Oregon State - CS - 411
Monday, May 4Project #3 We will contact you if your Plan of Attack has run off the road Be sure to follow kernel coding guidelines Comments on Rob's seminar? Other?Midterm Exam in class WednesdayToday's topics Wrap up virtual memor
Oregon State - CS - 411
Midterm Exam Friday, May 8Project #2 Scores are posted Median = 86% Scores are posted Project Reviews:Project #3 evaluation criteria are posted Most are really very good Some show additional insight Some tell me practically not
Oregon State - CS - 411
Monday, May 11Project #3 Project #4 Grading is in progress Credit Distribution Agreements are due Project Reviews are due before midnight tonight Plan of Attack due by midnight Wednesday, May 20 Rob's SeminarHomework #4 is postedF
Oregon State - CS - 411
Wednesday, May 13No lecture on Friday, May 15Project #4 Engineering ExpoPlan of Attack due by midnight Wednesday, May 20 Rob's SeminarFriday, May 22, in classToday's topics More I/O Scheduling File SystemsLinus Elevator Mod
Oregon State - CS - 411
Note changes in the CalendarMonday, May 18Project #3 Guest Speaker: Greg KroahHartman Scores are posted delayed Comments?Project #4 Friday in class Very important . do not missPlan of Attack due by midnight Friday, May 22 Rob's
Oregon State - CS - 411
Wednesday, May 20 Check your scores Check calendar Guest Speaker: Greg KroahHartman Friday in class Very important . do not miss!Calendar UpdatesFriday, May 22:Monday, May 25:Project #4 Plan of Attack is due before midnight Memori
Oregon State - CS - 411
Friday, May 29Project #4 Due Wednesday, June 3 before midnight Evaluation criteria are posted Questions / Comments?Do the Projects Survey Contribution credit Responses will be posted on the course wikiToday's topics Linux Virtual F
Oregon State - CS - 411
Quiz #2 is due now Project #4 Monday, June 1Do the Projects Survey Due Wednesday, June 3 before midnight Evaluation criteria are posted Questions / Comments? Contribution credit Responses (only 3 so far) are posted on the course wiki
Oregon State - CS - 411
Quiz #2 is gradedWednesday, June 3Project #4 Check scoresHomework #5 is posted Due tonight before midnight Evaluation criteria are posted Credit Distribution Agreement (hardcopy) is due by end of class Friday Review document is
Oregon State - CS - 411
Project #4 Friday, June 5Homework #5 Credit Distribution Agreement (hardcopy) is due by end of class Review document is due by midnight Solutions are postedDo the Projects Survey Paulson: Responses are posted on the wiki Contribu
Oregon State - CS - 411
CS411 Spring 2009 Project #1 Due 5 April 2009 Possible 3 5 6 6 6Team:Graded byPointsCommentsgzipped file correctly submitted Repository set up proj01 I/O scheduler Source code file shows changes Add a header block containing your team namea
Oregon State - CS - 411
CS411 Operating Systems IIProject #1Due on Sunday, April 5, before midnightSpring 2009Introduction: The projects for this course will involve modifications and additions to the linux kernel. For most students, this is unfamiliar and intimidatin
Oregon State - CS - 411
Spring 2009 CS411 Project #2 Due 11:59 pm, Sunday, April 26 PossibleTeam:Graded byPointsCommentsPreliminaries (9 pts) gzipped file submission, with all required files Submitted schedule.c Submitted schedule.h Submitted Makefile Compiles Doc
Oregon State - CS - 411
CS411 Operating Systems IIProject #2Spring 2009Due on Sunday, April 19 April 26, before midnightObjectives: 1. understand the basics of the Linux Scheduler 2. understand how a scheduler operates 3. be able to user the Linux kernel's Linked Lis
Oregon State - CS - 411
CS411 Project #3 Due before midnight Sunday, May 10Team:Graded byPoints PossiblePoints EarnedCommentsPreliminaries (20 pts) Plan of Attack (due Sunday, May 3) gzipped file submission Submitted slob.c, patch file, vmlinuz.proj3.teamXX, cha
Oregon State - CS - 411
CS411 Operating Systems IIProject #3Due before midnight Sunday, May 10Spring 2009(Plan of Attack due on Sunday, May 3)Introduction: The memory management layer is the part of the kernel that services all memory allocation requests. To handle
Oregon State - CS - 411
CS411 Operating Systems IISpring2009 NAME Michael Burns Project #4 Follow-up (Individual) (5% of Project #4 grade) Submit this evaluation at http:/engr.oregonstate.edu/teach before midnight Friday, June 5 TEAM # 12Part 1: Self-evaluation 1. Explai
Oregon State - CS - 411
CS411 Project #4 Due before midnight, Wednesday, June 3Team:Graded byPoints PossiblePoints EarnedCommentsPreliminaries (15 pts) Plan of Attack gzipped file submission Submitted source code file, compiled image, compiled module, patch file
Oregon State - CS - 411
CS444 3/04/05 Linux Virtual File SystemVFS Intro The Linux Virtual File System (VFS) is not a file system at all. It is a generic interface that can be used to create file systems for the Linux kernel. All file systems that are supported within
Oregon State - CS - 411
CS411 Operating Systems II Quiz # 2 Take-home, open-book, open-notes. Calculator permitted.Spring 2009Answers should be word-processed, printed, and attached to this page. This quiz is NOT a group project. You may NOT discuss this quiz with anyon
Oregon State - CS - 411
CS411 Operating Systems II Quiz # 2 1. (2 pts) 2. (3 pts)Spring 2009Solutions for selected problemsGiven a record file structure in a file system that provides only sequential access methods (i.e., create_file, reset, read_next_record, write_rec
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #1 To be discussed in class FridayProblems adapted from Silberschatz, Galvin &amp; GagneSpring 20091. (Easy, but long) Given the following set of processes with arrival times, etc. Smaller priority num
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #1 To be discussed in classSpring 2009SolutionsProblems adapted from Silberschatz, Galvin &amp; Gagne1. Given the following set of processes with arrival times, etc. Smaller priority numbers indicat
Oregon State - CS - 411
CS 411 Operating Systems II Homework Assignment #2Spring 2009 To be discussed in class1. Given the following memory partitions and processes 0 - 3 to be loaded (in numerical order) using contiguous allocation. Specify any processes that can not b
Oregon State - CS - 411
CS 411 Operating Systems II Homework Assignment #2Spring 2009 Solutions1. Given the following memory partitions and processes 0 - 3 to be loaded (in numerical order) using contiguous allocation. Specify any processes that can not be loaded, and c
Oregon State - CS - 411
CS 411 Operating Systems II Homework Assignment #3Spring 2009 To be discussed in classA system that uses demand paging has 5 frames, all initially empty. Given the page-reference string: 1,1,3,5,2,2,6,8,7,6,2,1,5,5,5,1,4,9,7,7 1. FIFO page-replac
Oregon State - CS - 411
CS 411 Operating Systems II Homework Assignment #3Spring 2009 SolutionsA system that uses demand paging has 5 frames, all initially empty. Given the page-reference string: 1,1,3,5,2,2,6,8,7,6,2,1,5,5,5,1,4,9,7,7 (Use FIFO to resolve ties.) 1. FIF
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #4Spring 2009To be discussed in classGiven a disk drive with 5000 cylinders, numbered 0 to 4999. Assume that the disk head is positioned at cylinder 1023, and the previous request was at cylinder 1
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #4Spring 2009SolutionsGiven a disk drive with 5000 cylinders, numbered 0 to 4999. Assume that the disk head is positioned at cylinder 1023, and the previous request was at cylinder 1088. (Note: thi
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #5 To be discussed in classSpring 20091. Following is an algorithm for solving the critical section problem. Does this solve the problem of mutual exclusion? If so, prove it. If not, give an example
Oregon State - CS - 411
CS 411 Operating Systems IIHomework Assignment #5Spring 2009Solutions1. Following is an algorithm for solving the critical section problem. Does this solve the problem of mutual exclusion? If so, prove it. If not, give an example that disproves
Oregon State - CS - 312
CS 312 Linux System Administration I: IntroductionJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg KeeneInstructor IntroductionsCarlos Jensen Lance Albertson Jeff SheltrenGoals for this CourseInstall and Configure a Linux System Learn S
Oregon State - CS - 312
CS 312 Linux System Administration 2: Intro Pt 2 / VM DetailsJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseToday's Objectives Perl / Python Documentation / Wiki's SSH Installation / VM DetailsScripting
Oregon State - CS - 312
CS 312 Linux System Administration III: Linux InstallJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg KeeneAdministriva Note Taker Needed Groups for VMsToday's Objectives Disk Partitions Linux Packages (RPMs) CentOS InstallationPartit
Oregon State - CS - 312
CS 312 Linux System Administration 4: BootingJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseToday's Objectives Boot loaders Single-user mode Start-up scripts Shutting downBootstrapping &quot;pull itself
Oregon State - CS - 312
Announcements Note Taker Needed HW1 Due HW2 Posted; due 4/21 by 2PM Read Chapter 3, Chapter 5 (only Section 5.5), Chapter 6 (skip sections 6.2 and 6.3)2Usernames User info: /etc/passwd Passwords: /etc/shadow in hashed format $1$xxUwcovy$J
Oregon State - CS - 312
CS 312 Linux System Administration 6: ProcessesJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseAnnouncementsHW2 Due next Tuesday at 2PMemail tarball to cs312@osuosl.orgthMidterm April 28 Reading
Oregon State - CS - 312
CS 312 Linux System Administration 7: FilesystemsJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseAnnouncements HW 2 Due Connecting to Engineering Servers Midterm April 28 Reading rdChapter 5 &amp; 8 Ch
Oregon State - CS - 312
CS 312 Linux System Administration 8: LVM, RAID, &amp; PerformanceJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseAnnouncementsHW1 Grades HW3 Due April 30th Midterm April 28rd Reading LVM HOWTO (Chapte
Oregon State - CS - 312
CS 312 Linux System Administration 9: Cron, Backups, &amp; SyslogJeff Sheltren &amp; Lance AlbertsonOSU Picture Greg Keene used under CC SA 3.0 licenseAnnouncements HW3 Due Today Midterm Review next Tuesday ReadingBook Chapter 9, 10, &amp; 11(Rea