Скачать презентацию Computer Communication Networks Lecture 01 Introduction Скачать презентацию Computer Communication Networks Lecture 01 Introduction

f9b35e0702496a7f74fd8977cc7f3b6b.ppt

  • Количество слайдов: 52

Computer Communication & Networks Lecture # 01 Introduction Course Instructor: Engr. M. Zeeshan Sarwar Computer Communication & Networks Lecture # 01 Introduction Course Instructor: Engr. M. Zeeshan Sarwar

Grading Policy n n n Final Exam: Mid term Exam Assignments Quizzes: Labs 40% Grading Policy n n n Final Exam: Mid term Exam Assignments Quizzes: Labs 40% 20% 5% 10% 25%

n n n Quizzes may be announced or unannounced. Exams are closed-book and extremely n n n Quizzes may be announced or unannounced. Exams are closed-book and extremely time limited. Exams consist of design questions, numerical, maybe true-false and short answer questions.

Reading n Text book: q Data Communications and Networking, 4/e n n B. A. Reading n Text book: q Data Communications and Networking, 4/e n n B. A. Forouzan, Mc. Graw-Hill, 2003, ISBN 0 -07 -292354 -7. Reference books: q Computer Networking, a top-down approach featuring the Internet (3 rd edition), n q q J. K. Kurose, K. W. Ross, Addison-Wesley, 2005, ISBN 0 -321 -26976 -4. Computer Networks, A Systems Approach L. Peterson & Davie Data and Computer Communication by William Stallings (7 th Edition) Prentice Hall.

Data Communications n The term telecommunication means communication at a distance. The word data Data Communications n The term telecommunication means communication at a distance. The word data refers to information presented in whatever form is agreed upon by the parties creating and using the data. Data communications are the exchange of data between two devices via some form of transmission medium such as a wire cable.

Fundamental Characteristics n The effectiveness of a data communication system depend on four fundamental Fundamental Characteristics n The effectiveness of a data communication system depend on four fundamental characteristics: q q Delivery Accuracy Timelines Jitter

Five Components of Data Communication 1. Message 2. Sender 3. Receiver 4. Medium 5. Five Components of Data Communication 1. Message 2. Sender 3. Receiver 4. Medium 5. Protocol

Direction of data flow Simplex Half Duplex Full Duplex Direction of data flow Simplex Half Duplex Full Duplex

Network design Before looking inside a computer network, first agree on what a computer Network design Before looking inside a computer network, first agree on what a computer network is

Computer network ? n n n Set of serial lines to attach terminals to Computer network ? n n n Set of serial lines to attach terminals to mainframe ? Telephone network carrying voice traffic ? Cable network to disseminate video signals ? Specialized to handle: Keystrokes Voice Video

What distinguishes a Computer network ? n n Generality Built from general purpose programmable What distinguishes a Computer network ? n n Generality Built from general purpose programmable hardware Supports wide range of applications Not optimized for special purpose application like making phone calls or delivering television signals

Information, Computers, Networks n Information: anything that is represented in bits q q n Information, Computers, Networks n Information: anything that is represented in bits q q n Form (can be represented as bits) vs Substance (cannot be represented as bits) Properties: q q q Infinitely replicable Computers can “manipulate” information Networks create “access” to information

Networks n Potential of networking: q n move bits everywhere, cheaply, and with desired Networks n Potential of networking: q n move bits everywhere, cheaply, and with desired performance characteristics Network provides “connectivity”

What is “Connectivity” ? n Direct or indirect access to every other node in What is “Connectivity” ? n Direct or indirect access to every other node in the network n Connectivity is the magic needed to communicate if you do not have a direct pt-pt physical link. q Tradeoff: Performance characteristics worse than true physical link!

Building Blocks n Nodes: PC, special-purpose hardware… q q n hosts switches Links: coax Building Blocks n Nodes: PC, special-purpose hardware… q q n hosts switches Links: coax cable, optical fiber… q point-to-point … q multiple access

Why not connect each node with every other node ? n n Number of Why not connect each node with every other node ? n n Number of computers that can be connected becomes very limited Number of wires coming out of each node becomes unmanageable Amount of physical hardware/devices required becomes very expensive Solution: indirect connectivity using intermediate data forwarding nodes

A Network A network can be defined recursively as two or more nodes connected A Network A network can be defined recursively as two or more nodes connected by a physical link Or two or more networks connected by one or more nodes

Switched Networks n A network can be defined recursively as. . . q q Switched Networks n A network can be defined recursively as. . . q q q two or more nodes connected by a link white nodes (switches) implement the network colored nodes (hosts) use the network

Switched Networks n A network can be defined recursively as. . . q q Switched Networks n A network can be defined recursively as. . . q q q two or more networks connected by one or more nodes: internetworks white nodes (router or gateway) interconnects the networks a cloud denotes “any type of independent network”

Switching Strategies Circuit switching: carry bit streams n a. b. c. d. establishes a Switching Strategies Circuit switching: carry bit streams n a. b. c. d. establishes a dedicated circuit links reserved for use by communication channel send/receive bit stream at constant rate example: original telephone network • Packet switching: storeand-forward messages a. operates on discrete blocks of data b. utilizes resources according to traffic demand c. send/receive messages at variable rate d. example: Internet

What next ? n Hosts are directly or indirectly connected to each other q What next ? n Hosts are directly or indirectly connected to each other q n Can we now provide host-host connectivity ? Nodes must be able to say which host it wants to communicate with

Addressing and Routing n Address: byte-string that identifies a node q n Routing: forwarding Addressing and Routing n Address: byte-string that identifies a node q n Routing: forwarding decisions q n usually unique process of determining how to forward messages to the destination node based on its address Types of addresses q q q unicast: node-specific broadcast: all nodes on the network multicast: some subset of nodes on the network

Wrap-up n A network can be constructed from nesting of networks n An address Wrap-up n A network can be constructed from nesting of networks n An address is required for each node that is reachable on the network n Address is used to route messages toward appropriate destination

What next ? n n n Hosts know how to reach other hosts on What next ? n n n Hosts know how to reach other hosts on the network How should a node use the network for its communication ? All pairs of hosts should have the ability to exchange messages: cost-effective resource sharing for efficiency

Multiplexing n Physical links and nodes are shared among users q q (synchronous) Time-Division Multiplexing n Physical links and nodes are shared among users q q (synchronous) Time-Division Multiplexing (TDM) Frequency-Division Multiplexing (FDM) L 1 R 1 L 2 L 3 Switch 1 Multiple flows on a single link Switch 2 R 3 Do you see any problem with TDM / FDM ?

What Goes Wrong in the Network? Reliability at stake n n Bit-level errors (electrical What Goes Wrong in the Network? Reliability at stake n n Bit-level errors (electrical interference) Packet-level errors (congestion) q n distinction between lost and late packet Link and node failures q q distinction between broken and flaky link distinction between failed and slow node

What Goes Undesirable in the Network? Required performance at stake n n Messages are What Goes Undesirable in the Network? Required performance at stake n n Messages are delayed Messages are delivered out-of-order Third parties eavesdrop The challenge is to fill the gap between application expectations and hardware capabilities

Networks: key issues n Network criteria q Performance n n q Reliability n n Networks: key issues n Network criteria q Performance n n q Reliability n n n q Throughput Delay Data transmitted are identical to data received. Measured by the frequency of failure The time it takes a link to recover from a failure Security n Protecting data from unauthorized access

Terminology n The throughput or bandwidth of a channel is the number of bits Terminology n The throughput or bandwidth of a channel is the number of bits it can transfer per second n The latency or delay of a channel is the time that elapses between sending information and the earliest possible reception of it

Network topologies n Topology defines the way hosts are connected to the network Network topologies n Topology defines the way hosts are connected to the network

Network topology issues a goal of any topology 1. high throughput (bandwidth) 2. low Network topology issues a goal of any topology 1. high throughput (bandwidth) 2. low latency

Bandwidth and Latency Bandwidth 1. telecommunications: range of radio frequencies: a range of radio Bandwidth and Latency Bandwidth 1. telecommunications: range of radio frequencies: a range of radio frequencies used in radio or telecommunications transmission and reception 2. computing: communications capacity: the capacity of a communications channel, for example, a connection to the Internet, often measured in bits per second 3. a data transmission rate; the maximum amount of information (bits/second) that can be transmitted along a channel Latency A synonym for delay, is an expression of how much time it takes for transmission from one designated point to another

Categories of Topology Categories of Topology

Mostly used network topologies bus mesh star ring Mostly used network topologies bus mesh star ring

A hybrid topology: a star backbone with three bus networks A hybrid topology: a star backbone with three bus networks

Hierarchical organization of the Internet Hierarchical organization of the Internet

LAN, WAN & MAN q Network in small geographical Area (Room, Building or a LAN, WAN & MAN q Network in small geographical Area (Room, Building or a Campus) is called LAN (Local Area Network) q Network in a City is call MAN (Metropolitan Area Network) q Network spread geographically (Country or across Globe) is called WAN (Wide Area Network)

Layering & Protocol Stacks Layering & Protocol Stacks

What’s a protocol? human protocols: n “what’s the time? ” n “I have a What’s a protocol? human protocols: n “what’s the time? ” n “I have a question” n introductions … specific msgs sent … specific actions taken when msgs received, or other events network protocols: n machines rather than humans n all communication activity in Internet governed by protocols

Protocol n protocols define format, order of msgs sent and received among network entities, Protocol n protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt a human protocol and a computer network protocol: Hi Hi Got the time? 2: 00 time TCP connection req. TCP connection reply. Get http: //gaia. cs. umass. edu/index. htm

Standard n n Essential in creating and maintaining an open and competitive market for Standard n n Essential in creating and maintaining an open and competitive market for equipment manufacturers Guaranteeing national & international interoperability of data & telecommunication technology & process.

Layered Tasks An example from the everyday life Hierarchy? Services Layered Tasks An example from the everyday life Hierarchy? Services

Why layered communication? n n To reduce complexity of communication task by splitting it Why layered communication? n n To reduce complexity of communication task by splitting it into several layered small tasks Functionality of the layers can be changed as long as the service provided to the layer above stays unchanged q n n makes easier maintenance & updating Each layer has its own task Each layer has its own protocol

Reference Models n n OSI reference model TCP/IP Reference Models n n OSI reference model TCP/IP

OSI Reference model n n 1. 2. 3. 4. Open System Interconnection 7 layers OSI Reference model n n 1. 2. 3. 4. Open System Interconnection 7 layers Crate a layer when different abstraction is needed Each layer performs a well define function Functions of the layers chosen taking internationally standardized protocols Number of layers – large enough to avoid complexity

Seven layers of the OSI model Seven layers of the OSI model

Exchange using OSI Model Exchange using OSI Model

Issues, to be resolved by the layers n n n Larger bandwidth at lower Issues, to be resolved by the layers n n n Larger bandwidth at lower cost Error correction Flow control Addressing Multiplexing Naming Congestion control Mobility Routing Fragmentation Security. .

Applications q q q q q E-mail Searchable Data (Web Sites) E-Commerce News Groups Applications q q q q q E-mail Searchable Data (Web Sites) E-Commerce News Groups Internet Telephony (Vo. IP) Video Conferencing Chat Groups Instant Messengers Internet Radio

Research areas in Networking n n n n Routing Security Ad-hoc networks Wireless networks Research areas in Networking n n n n Routing Security Ad-hoc networks Wireless networks Protocols Quality of Service …

Readings n Chapter 1: 1. 1, 1. 2 q Computer Networks, A Systems Approach Readings n Chapter 1: 1. 1, 1. 2 q Computer Networks, A Systems Approach L. Peterson & Davie n Chapter 1 (B. A Forouzan) q n Section 1. 1, 1. 2, 1. 3, 1. 4 Chapter 2 (B. A Forouzan) q Section 2. 1