Communication Networks

Slides:



Advertisements
Similar presentations
Introduction Contain slides by Leon-Garcia and Widjaja.
Advertisements

Communications Networks: Fundamental Concepts and Key Architectures
CIS.IUPUI (from Leon-garcia)1 What is a protocol? A set of rules that governs how two parties are to interact. The purpose of a protocol is to provide.
Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies The caller picks up the phone triggering the flow of current in.
Computer Networks Chapter 1 : Communications Networks and Services.
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
Review on Networking Technologies Linda Wu (CMPT )
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Chapter 1 Communication Networks and Services
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
15-1 More Chapter 15 Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
TCP/IP Reference Model For more notes and topics visit: eITnotes.com.
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Communication Network EKT 331 Mohd Alif Hasmani B.Abd Ghani School of Computer & Communication Engineering KUKUM /
Common Devices Used In Computer Networks
Chapter 1 Introduction to Computer Networks and Data Communications Data Communications and Computer Networks: A Business User’s Approach.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Mukesh N. Tekwani Elphinstone College Mumbai
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources.
Network Applications and Layered Architectures Protocols OSI Reference Model.
ECEN “Internet Protocols and Modeling”, Spring 2012 Slide 2.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
Chapter 1 Communication Networks and Services Network Architecture and Services.
Ch 1. Computer Networks and the Internet Myungchul Kim
Chapter 1 Communication Networks and Services Network Architecture and Services.
Introduction Contain slides by Leon-Garcia and Widjaja.
1 Communication Networks. 2 Code : EKT331/4 Lecturer : Pn. Shahadah Binti Ahmad Room No: KKF 8E Contact No:
Chapter 1 Communication Networks and Services Network Architecture and Services Telephone Networks and Circuit Switching Computer Networks & Packet Switching.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
William Stallings Data and Computer Communications
TCP/IP Protocol Architecture CSE 3213 – Fall
Communication Networks - Overview CSE 3213 – Fall November 2015.
Chapter 1 Communication Networks and Services Network Architecture and Services.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
Networks Part 2: Infrastructure + Protocols NYU-Poly: HSWP Instructor: Mandy Galante.
1 ECEN “Internet Protocols and Modeling”, Spring 2011 Slide 5.
Net 221D:Computer Networks Fundamentals
Computer Network Dr. Latifah Munirah Kamarudin Semester /2014.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
COMPUTER NETWORKS Hwajung Lee. Image Source:
1 Network Communications A Brief Introduction. 2 Network Communications.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Chapter 1 Communication Networks and Services
NETWORK Unit 1 Module: 2 Objective: 7.
Local Area Networks Honolulu Community College
Chapter 1 Communication Networks and Services
به نام خدا شبکه هاي کامپيوتري زمستان 90.
Computer Networking An Introduction to Computer Networks and Layered Architectures Dr Sandra I. Woolley.
Lecture 1 Overview of Communication Networks and Services
Chapter Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of various network.
TCP/IP Protocol Suite: Review
NETWORK Unit 1 Module: 2 Objective: 7.
NETWORK Unit 1 Module: 2 Objective: 7.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Unit – III Network Essentials
Presentation transcript:

Communication Networks Chapter 1 : Introduction to Communication Networks and Services

Communication Services & Applications A communication service enables the exchange of information between users at different locations. Communication services & applications are everywhere.

Communication Services & Applications E-mail E-mail server Exchange of text messages via servers

Communication Services & Applications Web Browsing Web server Retrieval of information from web servers

Communication Services & Applications Instant Messaging Direct exchange of text messages

Communication Services & Applications Telephone Real-time bidirectional voice exchange

Communication Services & Applications Cell phone Real-time voice exchange with mobile users

Communication Services & Applications Short Message Service Fast delivery of short text messages

What is a communication network? The equipment (hardware & software) and facilities that provide the basic communication service Virtually invisible to the user; Usually represented by a cloud Facilities Copper wires, coaxial cables, optical fiber Ducts, conduits, telephone poles … Equipment Routers, servers, switches, multiplexers, hubs, modems, … How are communication networks designed and operated?

Communication Network Architecture Network architecture: the plan that specifies how the network is built and operated Architecture is driven by the network services Overall communication process is complex Network architecture partitions overall communication process into separate functional areas called layers Next we will trace evolution of three network architectures: telegraph, telephone, and computer networks

Network Architecture Evolution Telegraph Networks Message switching & digital transmission Telephone Networks Circuit Switching Analog transmission → digital transmission Mobile communications Internet Packet switching & computer applications Next-Generation Internet Multiservice packet switching network

Bell’s Telephone Alexander Graham Bell (1875) working on harmonic telegraph to multiplex telegraph signals Discovered voice signals can be transmitted directly Microphone converts voice pressure variation (sound) into analogous electrical signal Loudspeaker converts electrical signal back into sound Telephone patent granted in 1876 Bell Telephone Company founded in 1877 Signal for “ae” as in cat Microphone Loudspeaker analog electrical signal sound

Bell’s Sketch of Telephone

Signaling Signaling required to establish a call Flashing light and ringing devices to alert the called party of incoming call Called party information to operator to establish calls Signaling + voice signal transfer

The N2 Problem For N users to be fully connected directly Requires N(N – 1)/2 connections Requires too much space for cables Inefficient & costly since connections not always on 1 2 3 4 N . . . N = 1000 N(N – 1)/2 = 499500

Telephone Pole Congestion

Circuit Switching Patchcord panel switch invented in 1877 Operators connect users on demand Establish circuit to allow electrical current to flow from inlet to outlet Only N connections required to central office 1 N N – 1 2 3

Manual Switching

Strowger Switch But expensive and not always discreet Human operators intelligent & flexible But expensive and not always discreet Strowger invented automated switch in 1888 Each current pulse advances wiper by 1 position User dialing controls connection setup Decimal telephone numbering system Hierarchical network structure simplifies routing Area code, exchange (CO), station number . 9 1st digit 2nd digit . . .

Strowger Switch Telegraph concept

Hierarchical Network Structure CO = central office Tandem CO Toll Telephone subscribers connected to local CO (central office) Tandem & Toll switches connect CO’s

Three Phases of a Connection Pick up phone Dial tone. Dial number Exchange voice signals 1. 2. 3. 4. 5. Telephone network Hang up. 6. Connection set up Information transfer Connection release Network selects route; Sets up connection; Called party alerted Telephone network

Computer Connection Control A computer controls connection in telephone switch Computers exchange signaling messages to: Coordinate set up of telephone connections To implement new services such as caller ID, voice mail, . . . To enable mobility and roaming in cellular networks “Intelligence” inside the network A separate signaling network is required Computer Switch connects Inlets to Outlets . . . Voice Signaling

Digitization of Telephone Network Pulse Code Modulation digital voice signal Voice gives 8 bits/sample x 8000 samples/sec = 64x103 bps Time Division Multiplexing for digital voice T-1 multiplexing (1961): 24 voice signals = 1.544x106 bps Digital Switching (1980s) Switch TDM signals without conversion to analog form Digital Cellular Telephony (1990s) Optical Digital Transmission (1990s) One OC-192 optical signal = 10x109 bps One optical fiber carries 160 OC-192 signals = 1.6x1012 bps! All digital transmission, switching, and control

Elements of Telephone Network Architecture Digital transmission & switching Digital voice; Time Division Multiplexing Circuit switching User signals for call setup and tear-down Route selected during connection setup End-to-end connection across network Signaling coordinates connection setup Hierarchical Network Decimal numbering system Hierarchical structure; simplified routing; scalability Signaling Network Intelligence inside the network

Computer Network Evolution Overview 1950s: Telegraph technology adapted to computers 1960s: Dumb terminals access shared host computer SABRE airline reservation system 1970s: Computers connect directly to each other ARPANET packet switching network TCP/IP internet protocols Ethernet local area network 1980s & 1990s: New applications and Internet growth Commercialization of Internet E-mail, file transfer, web, P2P, . . . Internet traffic surpasses voice traffic

What is a protocol? Communications between computers requires very specific unambiguous rules A protocol is a set of rules that governs how two or more communicating parties are to interact Internet Protocol (IP) Transmission Control Protocol (TCP) HyperText Transfer Protocol (HTTP) Simple Mail Transfer Protocol (SMTP) Unambiguous - jelas

A familiar protocol ?? Caller Dials 411 System replies “What city”? Caller replies “Springfield” System replies “What name?” Caller replies “Simpson” System replies “Thank you, please hold” Caller waits “Do you have a first name or street?” Operator replies Caller replies “Evergreen Terrace” Operator replies “Thank you, please hold” Caller waits System replies with number Caller dials

Terminal-Oriented Networks Early computer systems very expensive Time-sharing methods allowed multiple terminals to share local computer Remote access via telephone modems Terminal . . . Terminal Telephone Network Modem Modem Terminal Host computer

Medium Access Control Dedicated communication lines were expensive Terminals generated messages sporadically Frames carried messages to/from attached terminals Address in frame header identified terminal Medium Access Controls for sharing a line were developed Example: Polling protocol on a multidrop line Host computer Terminal . . . Terminals at different locations in a city Must avoid collisions on inbound line Polling frames & output frames input frames

Statistical Multiplexing Statistical multiplexer allows a line to carry frames that contain messages to/from multiple terminals Frames are buffered at multiplexer until line becomes available, i.e. store-and-forward Address in frame header identifies terminal Header carries other control information CRC Information Header Header Information CRC Host computer Terminal . . . Multiplexer Frame

Error Control Protocol Communication lines introduced errors Error checking codes used on frames “Cyclic Redundancy Check” (CRC) calculated based on frame header and information payload, and appended Header also carries ACK/NAK control information Retransmission requested when errors detected Header Information CRC CRC Information Header Terminal

Computer-to-Computer Networks As cost of computing dropped, terminal-oriented networks viewed as too inflexible and costly Need to develop flexible computer networks Interconnect computers as required Support many applications Application Examples File transfer between arbitrary computers Execution of a program on another computer Multiprocess operation over multiple computers

Packet Switching Transfer arbitrary message size Network should support multiple applications Transfer arbitrary message size Low delay for interactive applications But in store-and-forward operation, long messages induce high delay on interactive messages Packet switching introduced Network transfers packets using store-and-forward Packets have maximum length Break long messages into multiple packets ARPANET testbed led to many innovations

ARPANET Packet Switching Host generates message Source packet switch converts message to packet(s) Packets transferred independently across network Destination packet switch reasembles message Destination packet switch delivers message Packet Switch Packet 2 Message Message Packet 2 Packet Switch Packet Switch Packet 1 Packet Switch Packet 1 Packet Switch Packet 1

Routing is highly nontrivial in mesh networks ARPANET Routing Routing is highly nontrivial in mesh networks No connection setup prior to packet transmission Packets header includes source & destination addresses Packet switches have table with next hop per destination Routing tables calculated by packet switches using distributed algorithm Packet Switch Packet Hdr Nontrivial - penting Packet Switch Packet Switch Dest: Next Hop: xyz abc wvr edf Packet Switch Packet Switch

Other ARPANET Protocols Error control between adjacent packet switches Congestion control between source & destination packet switches limit number of packets in transit Flow control between host computers prevents buffer overflow Packet Switch Error Control Congestion - kesesakn Packet Switch Congestion Control Packet Switch Packet Switch Packet Switch Flow Control

ARPANET Applications ARPANET introduced many new applications Email, remote login, file transfer, … Intelligence at the edge UCLA RAND TINKER USC NBS UCSB HARV SCD BBN STAN AMES McCLELLAN UTAH BOULDER GWC CASE CARN MITRE ETAC MIT ILL LINC RADC

Ethernet Local Area Network In 1980s, affordable workstations available Need for low-cost, high-speed networks To interconnect local workstations To access local shared resources (printers, storage, servers) Low cost, high-speed communications with low error rate possible using coaxial cable Ethernet is the standard for high-speed wired access to computer networks

Ethernet Medium Access Control Network interface card (NIC) connects workstation to LAN Each NIC has globally unique address Frames are broadcast into coaxial cable NICs listen to medium for frames with their address Transmitting NICs listen for collisions with other stations, and abort and reschedule retransmissions Transceivers

The Internet Different network types emerged for data transfer between computers ARPA also explored packet switching using satellite and packet radio networks Each network has its protocols and is possibly built on different technologies Internetworking protocols required to enable communications between computers attached to different networks Internet: a network of networks

Internet Protocol (IP) Routers (gateways) interconnect different networks Host computers prepare IP packets and transmit them over their attached network Routers forward IP packets across networks Best-effort IP transfer service, no retransmission Recheck Net 1 Net 2 Router

Addressing & Routing Hierarchical address: Net ID + Host ID IP packets routed according to Net ID Routers compute routing tables using distributed algorithm G Net 1 Net 5 Net 3 Net 4 Net 2 H

Transport Protocols Host computers run two transport protocols on top of IP to enable process-to-process communications User Datagram Protocol (UDP) enables best-effort transfer of individual block of information Transmission Control Protocol (TCP) enables reliable transfer of a stream of bytes Transport Protocol Internet

Names and IP Addresses 128.100.11.1 Easier to remember Routing is done based on 32-bit IP addresses Dotted-decimal notation 128.100.11.1 Hosts are also identified by name Easier to remember Hierarchical name structure tesla.comm.utoronto.edu Domain Name System (DNS) provided conversion between names and addresses

Internet Applications All Internet applications run on TCP or UDP TCP: HTTP (web); SMTP (e-mail); FTP (file transfer; telnet (remote terminal) UDP: DNS, RTP (voice & multimedia) TCP & UDP incorporated into computer operating systems Any application designed to operate over TCP or UDP will run over the Internet!!!

Elements of Computer Network Architecture Digital transmission Exchange of frames between adjacent equipment Framing and error control Medium access control regulates sharing of broadcast medium. Addresses identify attachment to network or internet. Transfer of packets across a packet network Distributed calculation of routing tables

Elements of Computer Network Architecture Congestion control inside the network Internetworking across multiple networks using routers Segmentation and reassembly of messages into packets at the ingress to and egress from a network or internetwork End-to-end transport protocols for process-to-process communications Applications that build on the transfer of messages between computers. Intelligence is at the edge of the network.

Trends in Network Evolution It’s all about services Building networks involves huge expenditures Services that generate revenues drive the network architecture Current trends Packet switching vs. circuit switching Multimedia applications More versatile signaling End of trust Many service providers and overlay networks Networking is a business

Packet vs. Circuit Switching Architectures appear and disappear over time Telegraph (message switching) Telephone (circuit switching) Internet (packet switching) Trend towards packet switching at the edge IP enables rapid introduction of new applications New cellular voice networks packet-based Soon IP will support real-time voice and telephone network will gradually be replaced However, large packet flows easier to manage by circuit-like methods

Optical Circuit Switching Optical signal transmission over fiber can carry huge volumes of information (Tbps) Optical signal processing very limited Optical logic circuits bulky and costly Optical packet switching will not happen soon Optical-to-Electronic conversion is expensive Maximum electronic speeds << Tbps Parallel electronic processing & high expense Thus trend towards optical circuit switching in the core

Standards New technologies very costly and risky Standards allow players to share risk and benefits of a new market Reduced cost of entry Interoperability and network effect Compete on innovation Completing the value chain Chips, systems, equipment vendors, service providers Example 802.11 wireless LAN products

Standards Bodies Internet Engineering Task Force Internet standards development Request for Comments (RFCs): www.ietf.org International Telecommunications Union International telecom standards IEEE 802 Committee Local area and metropolitan area network standards Industry Organizations MPLS Forum, WiFi Alliance, World Wide Web Consortium

Exercise 1 The introduction of a new services usually impacts other services through substitution. Describe how substitution takes place in the following cases. E-mail, facsimile and postal mail E-mail, local and long distance phone service Cell phone, local and long distance phone service

Solution Ex 1.1 E-mail, facsimile and postal mail E-mail is used for most of the correspondence previously handled by postal mail. Documents sent by facsimile are also transferred using E-mail as attachments. Hardcopies can be scanned for electronic transmission b) E-mail, local and long distance phone service E-mail is an inexpensice and convenient alternative for most of the communication in which real time interaction is not essential. Instant-messaging is faster than e-mail and more closely approaches the real-time experience of the telephone c) Cell phone, local and long distance service cell phone is used for local and long distance calls mostly because users can be reached even if they are not in a specific location such as home or office. The steep drop in the cost of long distance relative to the cost of cellular airtime has enable ‘call anywhere’ cellular service offering

Exercise 1.2 Describe step-by-step procedure that is involved from the time you deposit a letter in a mailbox to the time the letter is delivered to its destination. What role do names, addresses and mail codes play? How might the letter be routed to its destination? To what extent can be the process be automated?

Solution Ex 1.2 The steps involved in mailing a letter are The letter is deposited in mailbox The letter is picked up by postal employee and placed in a sack The letter is taken to a sorting station, where it is sorted according to destination, as determined by the mail code and grouped with other letters with the same destination mail code. ( or by largest geographical unit / country/ city) The letter is shipped to the post office that handles the mail for the specific mail code The letter is then sorted by street address The letter is picked up at the post office by the postal worker responsible for delivering to the specified address The letter is delivered according to the number and street

Exercise 1.3 Suppose that a letter is sent by fax. Is this mode of communications connectionless or connection-oriented? Real-time or non-real time? SOLUTION: In order to send a letter by fax, a telephone connection must first be established. Therefore, the mode of communication is connection oriented. The transfer of information across the network accurs in real time.

Exercise 1.4 Two musician is located in different cities wish to have a jam session over a communications network. Find the maximum possible distance between the musicians if the are to interact in real time, in the sense of experiencing the same delay in hearing each other as if they were 10 meters apart. The speed of sound is approximately 330 m/s. Assume that the network transmits the sound at the speed of light in cable, 2.3 x 108 m/s. SOLUTION: Find the delay for the sound when the musician 10 m apart: t10 = 10/ (330 m/s) = 30.30 milliseconds The maximum distance is the time required for a real time ‘experience’ times the cable speed d = (2.3 x 108 m/s) x (30.30 x 10-3 s) = 6 969 km