20 Pages

lec16

Course: CSE 120A, Spring 2009
School: UC Irvine
Rating:
 
 
 
 
 

Word Count: 823

Document Preview

of UCI University California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Open Shortest Path First (OSPF): General Idea: Part (A): Within a small network called an "Autonomous System" (AS), each router sends their address and an estimate of delays on outgoing links to all their neighbors. Each router also forwards information received to all outgoing...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> UC Irvine >> CSE 120A

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.
of UCI University California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Open Shortest Path First (OSPF): General Idea: Part (A): Within a small network called an "Autonomous System" (AS), each router sends their address and an estimate of delays on outgoing links to all their neighbors. Each router also forwards information received to all outgoing links not equal to incoming link, subject to a maximum number of hops -- "flooding" Part (B): Each router uses the information it obtains, and an algorithm to find the shortest path to each possible destination in the network. UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Part (A) in more detail: A router estimates delay to all adjacent routers, e.g. queueing time + transmit time + propagation time. The router sends this information to all adjacent routers as a message: source msg. # link 1 delay 1 ... link m delay m When a router receives a message, if it is new it - updates its information. - copies the message to all adjacent routers (other than incoming link). UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Part (B) in more detail: Explore links from each router & keep track of best routes found so far. IP : OSPF Link length 3 3 6 1 4 1 1 (1/8) Link along shortest path from source to node Minimum distance from source to that node 3 1 4 8 0 3 6 1 1 4 1 2 3 1 4 6 1 4 8 7 Source Link not along shortest Tree of shortest paths from souce path from source to node to other nodes UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 6 1 Source 4 1 1 (2/8) Destination 1 4 8 0 3 6 1 3 3 1 6 4 1 4 1 1 Algorithm: Initial label = infinity for all nodes, 0 for source; nodes unmarked Pick umarked node with smallest label [here: source] Update its children and mark it; mark/unmark shortest path links [Here: three nodes are updated (3, 6, 1), their links are marked.] 5 8 UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 3 1 6 (3/8) 3 1 4 0 3 6 1 1 3 1 5 4 1 2 1 4 8 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label [node with label 1] Update its children and mark it; mark/unmark shortest path links [nodes with label 5: umark link from source, mark link 1-5] 5 8 UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 2 3 1 5 (4/8) 3 1 4 8 0 3 6 1 1 3 1 5 4 1 2 1 4 8 10 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label [node with label 2] Update its children and mark mark/unmark it; shortest path links [label 10, mark links 2-10] UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 2 3 1 5 (5/8) 3 1 4 8 10 0 3 6 1 1 3 1 6 1 4 4 8 2 10 4 1 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label [node with label 3] Update its children and mark it; mark/unmark shortest path links [update node from label 5 to 4, umark old link, mark new one] UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 2 3 1 4 6 (6/8) 3 1 4 8 10 3 1 6 1 4 4 8 2 8 3 0 6 1 1 4 1 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label [node with label 4] Update its children and mark it; mark/unmark shortest path links [update label from 10 to 8, unmark/mark link] UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 2 3 1 4 6 (7/8) 3 1 4 8 8 3 1 6 1 4 4 8 2 7 3 0 6 1 1 4 1 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label Update its children and mark it; mark/unmark shortest path links UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing IP : OSPF 3 3 0 6 1 1 4 1 2 3 1 4 6 (8/8) 3 3 1 6 1 4 4 8 2 7 1 4 8 7 0 3 6 1 1 4 1 Algorithm: Initial label = infinity for all nodes, 0 for source; source marked Pick umarked node with smallest label Update its children and mark it; mark/unmark shortest path links (typo - the link from 2 to 7 should not be marked) UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Border Gateway Protocol (BGP): Each router has to know about all other routers in the Internet? No - use "hierarchical routing" uci.edu calren2.net cenic.net S R R G R R R G R R G nox.org mit.edu D R G R G R R R ucaid.edu - Use OSPF within each AS, e.g. to get from S to UCIs gateway to calren2.net. - Use BGP to determine the sequence of autonomous systems from S to D. UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing BGP: Part (A): Exchange preferred routes with adjacent autonomous systems. Send message [route,delay] for each destination AS to each adjacent AS. UCI University of California, Irvine EECS 161 - Introduction to Computer Networking Scott Jordan Internet / Routing Part (B): (Tanenbaum, fig. 5-55) Example: F to D - eliminate routes that include you (I,E) - eliminate routes that violate policies - among remaining, choose shortest path Policies may include economic arrangements between autonomous systems.
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:

UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanInternet / Flow ControlFlow Control: Problem: Congestion causes delay and/or packet loss. Solution: - retransmission of lost packets - control when
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanInternet / Flow ControlSelective Repeat Protocol (SRP): Idea: Increase window size to W>1, and only retransmit dropped packets. Example for W=4: 0 S
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanPerformanceDiscrete Random Variables set of outcomes = { x 1, x 2, , x n } . associated probabilities = { p 1, p 2, , p n } , i.e. P ( X = x i ) = p
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanPerformanceA Model of Packet Arrivals We want to model the times at which packets arrive at a router: x T1 T2 x T3 x tIdea: split time into small
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanPerformanceA Router Model Example: 1 0 2) long term proportion of time spent in state 0, ( 0 ), = 2/3 General case: x i-1 y x (i) = - (i 1) - y i
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanInternet / Quality of ServiceAsynchronous Transfer Mode (ATM): Goal: a protocol that can accommodate a wide range of applications including data, in
UC Irvine - CSE - 120A
UCIUniversity of California, IrvineEECS 161 - Introduction to Computer NetworkingScott JordanInternet / Quality of ServiceInternet QoS: Two ideas: Integrated Services "IntServ": - Reservation of bandwidth along a route, for each flow or for
UC Irvine - CSE - 120A
UC Irvine - CSE - 120A
BRIEFEXERCISE25 Workingcapital=CurrentassetsCurrentliabilities Currentassets Currentliabilities Workingcapital Currentratio: $47, 500,000 Currentassets = $145, 800,000 Currentliabilities =.33:1 ($47,500,000 145,800,000 ($ 98,300,000 )EXERCISE32
UC Irvine - CSE - 120A
EXERCISE45 (a) ServiceRevenue OperatingExpenses InsuranceExpense NetIncome CashBasis $22,000 13,000 3,600 $5,400 AccrualBasis $28,000 14,500 $13,500(b) The accrual basis of accounting provides more useful information for decision mak
UC Irvine - CSE - 120A
BRIEFEXERCISE62 (a) TheendinginventoryunderFIFOconsistsof400unitsat$9 foratotalallocationof$3,600. (b) TheendinginventoryunderLIFOconsistsof300unitsat$6+ 100unitsat$8foratotalallocationof$2,600($1,800+$800).EXERCISE61 Endinginventoryphysicalcount.
UC Irvine - CSE - 120A
BRIEFEXERCISE72 (a) Segregationofduties. (b) Independentinternalverification. (c) Documentationprocedures.BRIEFEXERCISE85 (a) BadDebtsExpense. [($500,000X2%)$1,500] AllowanceforDoubtfulAccounts. 8,500 (b) BadDebtsExpense. [($500,000X2%)+$600] Allow
UC Irvine - CSE - 120A
BRIEFEXERCISE94 Bookvalue,1/1/07($32,000$14,000). .$18,000 Less:Salvagevalue.. . 2,000 Depreciablecost. .. $16,000 Remainingusefullife.. . 2years Revisedannualdepreciation($16,0002). . $8,000 EXERCISE93 $96, 000 $6, 000 Straightli
UC Irvine - CSE - 120A
DEMO 3-1: ACCOUNTING EQUATIONAssetsCash 1 2 3 4 5 6 7 8 9 10 11 (1,900) (200) $18,700 # $10,000 # $3,000 # $3,600 # (3,600) $20,000 10,000 (10,000) 5,500 2,400 (3,500) 3,000 3,600 10,000 + Equipment Accounts Received Prepaid Rent=Supplies = Note
UC Irvine - CSE - 120A
UC Irvine - CSE - 120A
UC Irvine - CSE - 120A
UC Irvine - CSE - 120A
Stony Brook University - PHY - 132
Lecture PowerPoint Chapter 29 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in te
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 21 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 22 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 23 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 24 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 25 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 26 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 27 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - PHY - 132
Lecture PowerPoints Chapter 28 Physics for Scientists and Engineers, with Modern Physics, 4th edition Giancoli 2009 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in t
Stony Brook University - CHE - 131
Professor Carlos Simmerling CMM Bldg, Room G80 Graduate Chemistry Bldg, Room 579 Office hours listed on blackboardChapter 10 Gases and the AtmosphereCommon Gases and their UsesEarths AtmosphereProperties of Gases Composition of Dry Air
Penn State - PHYS - 211
Physics211R:LabTemplate Kinematicsin2DimensionsProjectileMotionScore:_100_ Name:ElizabethDonofrio Section#:002 Name:TylerHess Section#:001 Name:SeanHeaster Section#:002 Name:ToddFisher Section#:001NOTE: Remember to SAVE this template as a Word do
Cornell - BEE - 3299
Genetically modified organisms (GMOs) are created by using recombinant DNA technology and artificially inserting genes from a different species to create a transgenic plant. Despite the appeal of this technology to some, there is constant debate over
Cornell - BEE - 3299
Without question, I believe that global warming is a very pressing issueand is directly attributable to human actions. Increased CO2 emissions attributable to the burning of fossil fuels are indisputably correlated with increased greenhouse gases bei
Cornell - BEE - 3299
Devon Siegel das257 Assignment 4, Parts 1-3Part 1: StakeholdersPresident Barack Obama As the leader of the most powerful nation in the world, Barack Obama is at the forefront of environmental policy that directly affects not only the United Stat
Cornell - BEE - 3299
Devon Siegel das257 Assignment 4: Ecosystems Part 1: The Cayuga Lake ecosystem has many biotic and abiotic factors. The biotic factors include the plants, animals (mostly fish) and microorganisms that live in/on the lake. The abiotic factors include
Cornell - BEE - 3299
Devon Siegel das257 Assignment 5: Global Processes 1. In 1999, the U.S. Department of Energy (DOE) in conjunction with the U.S. Environmental Protection Agency (EPA) and the Energy Information Administration (EIA) produced a report which outlined th
Cornell - BEE - 3299
Devon Siegel das257 Human systems: Assignment 1 Part 1: college student in Ithaca, NY in 2009 I need / I use or do the following to meet that need: Air: breathe in and out, stay in an oxygen-rich environment Water: drink clean water from the tap or
Cornell - BEE - 3299
Devon Siegel das257 Human systems Part 2 Values: Honesty: Honesty is a big part of the way I have chosen to live my life, as it is my decision to be honest every situation. Honesty is extremely important, and a value that is consistent part of my e
Cornell - BEE - 3299
I divided the problems facing the world into three categories: environmental, economic and social. Environmental problems I thought of are: pollution (air, water, etc.), deforestation, global warming, desertification and extinction of both plant and
Cornell - BEE - 3299
Pro-sustainability articles: 1. Obama directs regulators to tighten auto rules John M. Broder, NY Times 1/26/2009 Source: http:/www.nytimes.com/2009/01/27/us/politics/27calif.html Summary:President Obama directed federal regulators to set strict limi
Cornell - BEE - 3299
Of the problems I listed in the previous assignment, the environmental problems are most important to me. These problems included pollution, resource degradation and plant/animal extinction, among many others. These problems are most important to me
Cornell - BEE - 3299
Devon Siegel Lesson 3 Assignment 1: Feedback Control Systems Kate leaves her apartment on a chilly February morning on a mission to get to class before the freshmen take the good seats in the last row. Even as she starts her walk, multiple systems a
Cornell - BEE - 3299
Part A: One system in which I live is Hunterdon County. Hunterdon County is part of a larger system called New Jersey, which is part of an even larger system called the United States of America. Within Hunterdon County, there are subsystems called to
Cornell - FD SC - 430
Beer/Wine Log Devon Siegel Beers Name Style Production Location Alcohol Content Cost per pint Tasting notes Food pairing recommendations Name Style Production Location Alcohol Content Cost per 6-pack Tasting notes Food pairing recommendations Wines N
Cornell - PSYCH - 2090
Devon Siegel PSYCH 2090, Spring 09 Assignment 2: Babies in the wild Video 1 URL: http:/www.youtube.com/watch?v=q6BMiscDVGA Substage represented by the video: Secondary circular reactions Why is the video a good example? This video is a good example o
Cornell - HADM - 4430
Sample themes for prelim 2 Topics include: classes #8 Bordeaux through #14 Italy (readings and handouts). The following is a list of study topics which will help you focus on the most important things. This is information which a person who is intere
Cornell - HADM - 4430
CA% of grape variety 75% grape source State 75% Region County 75% AVA 85% Vineyard 95% prod'n statements rown, produced, bottled g 100% produced, bottled 75% made, bottled 10% bottled 0% vintage dated 95%WA75% 75% 75% 85% 95% 100% 75% 10% 0% 95%
Cornell - HADM - 4430
HADM 4300 Wines Prelim #1 Study GuideComponents, Winemaking, Viticulture, Wine Service, Wine Buying What information on the wine label is important to review before accepting a wine in a restaurant? Winemaker Location of production Vintage year Gra
Cornell - HADM - 4430
HADM 4300 Wines Prelim #1 Study GuideComponents, Winemaking, Viticulture, Wine Service, Wine Buying What information on the wine label is important to review before accepting a wine in a restaurant? Winemaker Location of production Vintage year Gra
Cornell - HADM - 4430
Wines Study Guide for Prelim #1 Components, Winemaking, Viticulture, Wine Service, Wine Buying What information on the wine label is important to review before accepting a wine in a restaurant? -location of grape/winery (who made it/where it was made
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113
Penn State - CHEM - 113