美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lectures 21: Routing in Data Networks

Lectures 21: Routing in Data Networks Eytan Modiano Eytan Modiano
Lectures 21: Routing in Data Networks Eytan Modiano Eytan Modiano Slide 1

Packet Switched Networks Messages broken into Packets that are routed To their destination Packet Network Buffer Packet Switch Eytan Modiano
Packet Switched Networks Packet Network PS PS PS PS PS PS PS Buffer Packet Switch Messages broken into Packets that are routed To their destination Eytan Modiano Slide 2

Routing Must choose routes for various origin destination pairs o/d pairs) or for various sessions Datagram routing: route chosen on a packet by packet basis Using datagram routing is an easy way to split paths Virtual circuit routing: route chosen a session by session basis Static routing: route chosen in a prearranged way based on O/D pairs Eytan Modiano
Routing • Must choose routes for various origin destination pairs (O/D pairs) or for various sessions – Datagram routing: route chosen on a packet by packet basis Using datagram routing is an easy way to split paths – Virtual circuit routing: route chosen a session by session basis – Static routing: route chosen in a prearranged way based on O/D pairs Eytan Modiano Slide 3

Broadcast Routing Route a packet from a source to all nodes in the network Possible solutions Flooding: Each node sends packet on all outgoing links Discard packets received a second time Spanning Tree Routing: Send packet along a tree that includes all of the nodes in the network Eytan Modiano
Broadcast Routing • Route a packet from a source to all nodes in the network • Possible solutions: – Flooding: Each node sends packet on all outgoing links Discard packets received a second time – Spanning Tree Routing: Send packet along a tree that includes all of the nodes in the network Eytan Modiano Slide 4

Graphs A graphG=(N, A) is a finite nonempty set of nodes and a set of node pairs a called arcs or links or edges) N={123} N={1,2,3,4 A={12),(2,3),(1,4,(24)} A={(1,2) Eytan Modiano
Graphs • A graph G = (N,A) is a finite nonempty set of nodes and a set of node pairs A called arcs (or links or edges) 1 2 3 1 2 3 4 N = {1,2,3} N = {1,2,3,4} A = {(1,2),(2,3),(1,4),(2,4)} A = {(1,2)} Eytan Modiano Slide 5

Walks and paths A walk is a sequence of nodes(n1, n2, . nk in which each adjacent node pair is an arc a path is a walk with no repeated nodes Wak(1,2342) Path(1,234) Eytan Modiano
Walks and paths • A walk is a sequence of nodes (n1, n2, ...,nk) in which each adjacent node pair is an arc. • A path is a walk with no repeated nodes. 1 2 4 3 1 2 4 3 Walk (1,2,3,4,2) Path (1,2,3,4) Eytan Modiano Slide 6

Cycles A cycle is a walk(n1, n2, nk) with n1=nk, k>3, and with no repeated nodes except n1= nk cyce(1,2,43,1) Eytan Modiano
Cycles • A cycle is a walk (n1, n2,...,nk) with n1 = nk, k>3, and with no repeated nodes except n1 = nk Cycle (1,2,4,3,1) 1 2 4 3 Eytan Modiano Slide 7

Connected graph a graph is connected if a path exists between each pair of nodes Connected Unconnected An unconnected graph can be separated into two or more connected components. Eytan Modiano
Connected graph • A graph is connected if a path exists between each pair of nodes. 1 2 4 3 1 2 3 Connected Unconnected • An unconnected graph can be separated into two or more connected components. Eytan Modiano Slide 8

Acyclic graphs and trees An acyclic graph is a graph with no cycles A tree is an acyclic connected graph Acyclic, unconnected clic, connected not tree not tree The number of arcs in a tree is always one less than the number of nodes Proof: start with arbitrary node and each time you add an arc you add a node =>N nodes and N-1 links. If you add an arc without adding a node, the arc must go to a node already in the tree and hence form a cycle
Acyclic graphs and trees • An acyclic graph is a graph with no cycles. • A tree is an acyclic connected graph. 1 2 4 3 1 2 3 1 2 3 Acyclic, unconnected Cyclic, connected not tree not tree • The number of arcs in a tree is always one less than the number of nodes – Proof: start with arbitrary node and each time you add an arc you add a node => N nodes and N-1 links. If you add an arc without adding a node, the arc must go to a node already in the tree and hence form a cycle Eytan Modiano Slide 9

Subgraphs G=(N, A)is a subgraph of G=(N, A)if 1)G is a graph 2 Nis a subset of N 3)A is a subset of A One obtains a subgraph by deleting nodes and arcs from a graph Note: arcs adjacent to a deleted node must also be deleted Graph G Subgraph G of G Slide 10
Subgraphs • G' = (N',A') is a subgraph of G = (N,A) if – 1) G' is a graph – 2) N' is a subset of N – 3) A' is a subset of A • One obtains a subgraph by deleting nodes and arcs from a graph – Note: arcs adjacent to a deleted node must also be deleted 1 2 4 3 1 2 3 – Graph G Subgraph G' of G Eytan Modiano Slide 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Packet Multiple access ll Local Area Networks(LANs).pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 17/18: Delay Models for Data.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lectures 14: Cyclic Codes and error detection.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 6&7 Modulation.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lectures 8-9: Signal detection in Noise.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lectures 12/13: Channel Capacity and Coding.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 10: Link Budget Analysis and Design.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 5: Source Coding.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 4: Quantization.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 3: The Sampling theorem.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 2: Entropy.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lecture 1: Introduction.pdf
- 麻省理工学院:《Robust System Design》Final exam.pdf
- 麻省理工学院:《Robust System Design》The mahalanobis distance in Character Recognition.pdf
- 麻省理工学院:《Robust System Design》Objectives.pdf
- 麻省理工学院:《Robust System Design》Final Project Questions.pdf
- 麻省理工学院:《Robust System Design》Term Project Final presentation.pdf
- 麻省理工学院:《Robust System Design》Plan for the session.pdf
- 麻省理工学院:《Robust System Design》Plan for the session.pdf
- 麻省理工学院:《Robust System Design》Plan for the session.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Lectures 15: ARQ Protocols.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》Eytan Modiano Massachusetts Institute of Technology.pdf
- 美国麻省理工大学:《Communication Systems Engineering(通讯系统工程)》TCP/IP and the Internet Eytan Modiano Massachusetts Institute of Technologylec22.pdf
- 《卫星工程》英文版(一) Attitude Determination and Control (ADCS).pdf
- 《卫星工程》英文版(一) Introduction to Optics part II.pdf
- 《卫星工程》英文版(一)Minimum Energy Trajectories for Techsat 21 Earth Orbiting Clusters.pdf
- 《卫星工程》英文版(一) LAUNCH SYSTEMS Col John Keesee.pdf
- 《卫星工程》英文版(一) l2_orbital_mech.pdf
- 《卫星工程》英文版(一) l3 scpowersys dm done2.pdf
- 《卫星工程》英文版(一) l4 propulsion.pdf
- 《卫星工程》英文版(一) l5 space environ done2.pdf
- 《卫星工程》英文版(一) 10 emformflight.pdf
- 《卫星工程》英文版(一) l6 optics 1.pdf
- 《卫星工程》英文版(一) Trajectory Design For A visibl Geosynchronous Earth Imager.pdf
- 《卫星工程》英文版(一)Adaptive Reconnaissance Golay-3 Optical Satellite.pdf
- 《非线性动力学》(英文版) Lecture 1 Input/Output and State-Space Models.pdf
- 《非线性动力学》(英文版) Lecture 2 Differential Equations As System Models.pdf
- 《非线性动力学》(英文版) Lecture 3 Continuous Dependence On Parameters.pdf
- 《非线性动力学》(英文版) Lecture 5 Lyapunov Functions and storage Functions.pdf
- 《非线性动力学》(英文版) Lecture 4 Analysis Based On Continuity.pdf