What is this course about? CS 442 Data Communications. First, a Brief History of the Internet. Original ARPANet Sites.

Similar documents
Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

Chapter 1: Introduction

Tutorials and Practicals 31W6 ADMINISTRIVIA. A Communications Model. Communications and Networks. Simplified Communications

Organizations have developed standard sets of protocols

Need For Protocol Architecture

Need For Protocol Architecture

Communication Networks - 3 general areas: data communications, networking, protocols

Chapter 2 Communicating Over the Network

Data & Computer Communication

Data Communication and Network. Introducing Networks

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 1: Introducing TCP/IP

Networking and Internetworking 1

ITEC 3800 Data Communication and Network. Introducing Networks

Data and Computer Communications

Chapter 3: Network Protocols and Communications CCENT Routing and Switching Introduction to Networks v6.0 Instructor Planning Guide

M242 COMPUTER NETWORS AND SECURITY

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Layered Architecture

The Internet and the World Wide Web

Lecture (03) Network Model

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Computer Networks (Introduction to TCP/IP Protocols)

Lecture-4. TCP/IP-Overview:

CS-461 Internetworking. Dr. Mohamed Aboutabl

Introduction to Open System Interconnection Reference Model

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

Lecture 3 Protocol Stacks and Layering

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Lecture (03) (I) OSI Reference Model

Lecture 1 Overview - Data Communications, Data Networks, and the Internet

Guide to TCP/IP, Third Edition. Chapter 1: Introducing TCP/IP

Introduction to Networking

What is the fundamental purpose of a communication system? Discuss the communication model s elements.

# DEFINITIONS TERMS. 5) A set of devices interconnected by media links. Network

Chapter 2 Network Models 2.1

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

Cisco Cisco Certified Network Associate (CCNA)

Chapter 11: Wide-Area Networks and the Internet

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Communications and Networking 1

Introduction to Internetworking

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Network Layers. Standardization Cruelty 2009/08/12. (C) Herbert Haas

Communicating over the Network

Ch. 4 - WAN, Wide Area Networks

Network Architecture Models

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

TCP/IP THE TCP/IP ARCHITECTURE

COS 140: Foundations of Computer Science

CSCD 433/533 Advanced Networks

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

CS 428/528 Computer Networks Lecture 01. Yan Wang

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Lecture (03) Networking Model (TCP/IP) Networking Standard (OSI) cont.,..

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

CHAPTER -1. Introduction to Computer Networks

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

CSE 3461 / 5461: Computer Networking & Internet Technologies

networks List various types of networks and their

Chapter 2. Communicating Over The Network

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

CSE 123A Computer Networks

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

What is traveling on the wires? due to Web and http barriers to streaming traffic implosion technical and other

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

Reti di Calcolatori I

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Outline. TCP/IP Internet

BUSINESS DATA COMMUNICATIONS & NETWORKING

Review of Lecture 1. EEC-484/584 Computer Networks. Network Hardware. Outline. Lecture 2. Wenbing Zhao

Typical Network Uses

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

Internet 최양희서울대학교컴퓨터공학부. MMlab 1

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

NT1210 Introduction to Networking. Unit 3: Chapter 3, TCP/IP Networks

Chapter 1 Introduction

Lecture (02) The TCP/IP Networking Model

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Computer Networking. Introduction. Quintin jean-noël Grenoble university

CS3600 SYSTEMS AND NETWORKS

COMPONENTS OF DATA COMMUNICATION

Computer Networks. Computer Networks. Telecommunication Links. CMPUT101 Introduction to Computing - Spring Chapter 12: Computer Networks 1

A typical WAN structure includes the following components.

Networking and Internetworking 1

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Wireless Communications

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

CCNA Exploration1 Chapter 7: OSI Data Link Layer

1: Review Of Semester Provide an overview of encapsulation.

Transcription:

CS 442 Data Communications Introduction What is this course about? Networking: system for connecting computer using a single transmission technology Internet: set of networks connected by routers that are configured to pass traffic among any computers attached to networks in the set Data transmission - media, data encoding Packet transmission - data exchange over a network Internetworking - universal service over a collection of networks Network applications - programs that use an internet First, a Brief History of the Internet Original ARPANet Sites ARPAnet (Advanced Research Projects Agency) in 1969 Early computers were expensive Large footprint, Centralized Programs took a long time to run Couldn't afford to put computers everywhere Distributed communication system Enable research communication Enable dissimilar computers to share information Reroute information automatically Act as a network of networks; internetworking Originally just 4 sites! 1

ARPANet in 1972 More Internet History 1975 ARPAnet splits into MILNET and NSFNet 1979 Usenet/UUCP over modems 1982 DARPA uses TCP/IP over Ethernet 1983 BSD Unix over Ethernet 1984 DNS 1988 Morris worm 1993 Web starts to take over www.whitehouse.gov 1994 Big business online booms Evolution of the Internet Commercial networks AOL, Compuserve, et. al. grow in the 80 s, incorporated into Internet in 90 s NSFNet shut down in 1995 in favor of NAP structure, commercial backbones Exponential Growth # Hosts (Computers connected) 2

# of Web Sites Creation of the WWW Technologies required: HTML, Browser HTML : Designed by Tim Berners-Lee at CERN. HTML = Hypertext Markup Language, text format for describing layout, multimedia, hyperlinks Mosaic : First browser created by Marc Andreessen at NCSA in 1993. Went on to found Netscape. HTML, browsers spec continues to change today A Communications Model Source generates data to be transmitted Transmitter Converts data into transmittable signals Transmission System Carries data Receiver Converts received signal into data Destination Takes incoming data Simplified Communications Model - Diagram 3

Simplified Data Communications Model Key Communications Tasks Transmission System Utilization Interfacing Signal Generation Synchronization Exchange Management Error detection and correction Flow control Addressing and routing Recovery Message formatting Security Network Management Networking Previous simplified model was Point to Point Point to Point communication not usually practical Devices are too far apart Large set of devices would need impractical number of connections Solution is a communications network Many different topologies, or ways to connect the network Types of Networks Networks can be classified in many different ways. One of the most common is by geographic scope: Local Area Networks (LAN) Backbone Networks (BNs) Metropolitan Area Networks (MANs) Wide Area Networks (WANs) 4

Types of Networks Types of Networks Local Area Networks (LAN) A group of microcomputers of terminals located in the same general area and connected by a common circuit. Covers a clearly defined small area, such as within or between a few rooms or buildings. Generally support data rates of 10 to 100 million bits per second (Mbps). Types of Networks Types of Networks Backbone Network (BN) A larger, central network connecting several LANs, other BNs, metropolitan area networks, and wide area networks. Typically span up to several miles. Generally supports data rates from 64 Kbps to 45 Mbps. Metropolitan Area Network (MAN) Connects LANs and BNs located in different areas to each other and to wide area networks. Typically span from 3-30 miles. Generally supports data rates of 100 to 1000 Mbps. Sometimes this term is also applied to WAN s 5

Types of Networks Simplified Network Model Wide Area Network (WAN) Connects BNs and MANs and are usually leased from inter-exchange carriers (IXC s), i.e. common carriers Typically span hundreds or thousands of miles. Crossing public rights of way Generally supports data rates of 28.8 Kbps to 2 Gbps. How does the data travel? When data may travel different paths in a network, there are currently two different approaches to implement this: Circuit switching Packet switching Circuit Switching Dedicated end-to-end communications path established for the duration of the conversation Path between the sender and receiver is called a circuit Circuit also serves as a constant transmission rate for the duration of the connection guaranteed constant rate Might use multiplexing, where multiple devices share the same communications line Example of circuit switching: telephone network, ISDN 6

Packet Switching Data may be sent out of sequence Small chunks (packets) of data at a time Packets passed from node to node between source and destination Used for terminal to computer and computer to computer communications Packet Switching examples: X.25, Frame Relay, TCP/IP Circuit vs. Packet Switching Packet switching not suitable for real-time services? But: Better sharing of bandwidth Consider statistical usage Simpler, more efficient, less costly Trend toward packet switching ATM: Asynchronous Transfer Mode, Packet switching, but allows constant data rate channel similar to circuit switching we will examine it more later! Software and Protocols LAN/WAN hardware can't solve all computer communication problems Sending data through raw hardware is awkward and inconvenient - doesn't match programming paradigms well Imagine reading a disk by having to write your own code each time to position the read/write head, seek, etc. Network software provides a high-level interface to applications But this software for LAN and WAN systems is large and complicated Layering is a structuring technique to organize networking software design and implementation Layers and Protocols The software at each layer adheres to a protocol A network protocol is a set of rules that specify the format and meaning of messages exchanged between computers across a network Format is sometimes called syntax Meaning is sometimes called semantics Protocols are implemented by protocol software 7

Protocol Suites A set of related protocols that are designed for compatibility is called a protocol suite Protocol suite designers: Analyze communication problem Divide problems into subproblems Design a protocol for each subproblem A well-designed protocol suite Is efficient and effective - solves the problem without redundancy and makes best use of network capacity Allows replacement of individual protocols without changes to other protocols Example: Protocol Architecture For example a file transfer problem might use three layers, each is independent with their own protocol File transfer application Transmits file transfer commands, e.g. Send File X Communication transport service layer Data integrity, break data into packets Network access layer Interface to hardware, addressing, routing If multiple protocols at each layer, since they are independent, one could invoke other protocols! Example: Protocols in Simplified File Transfer App Example: Protocol Data Units (PDU) At each layer, protocols are used to communicate Control information is added to the packet of data at each layer Start with a packet at the Application Layer The Transport Layer adds its own header of control information to the packet Might even fragment a big packet into multiple little packets If so, must add sequence numbers, ID of sending application or there may be confusion if multiple apps, data arrives out of sequence The Network layer may in turn add its own header of control information to the Transport Layer packets E.g., addressing information 8

Example: Operation of a Protocol Architecture TCP/IP Protocol Architecture Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) TCP/IP are protocols in the suite; there are many other protocols as well Used by the global Internet Open system, not proprietary (e.g. Appletalk, IPX/SPX, netbeui ) Many vendors for the different layers of the stacks No official model but a working one. Application layer Host to host or Transport layer Internet layer Network access layer or Data Link layer or Device layer Physical layer Layers is a logical idea - can be ignored in implementation Application Layer Support for user applications The application software used by the network user, allows the user to define what message are sent over the network. e.g. HTTP, SMTP Transport Layer (TCP) Takes the message generated by the application layer and performs these functions before passing them to the IP layer. 1. Attaches application identifier (i.e. the port number) 2. Splits data into packets for ordering of delivery 3. Collects message accounting information that can be used to identify how many messages each user has sent and to track errors. This provides the reliable delivery of data. 9

Internet Layer (IP) Takes each packet generated by the TCP layer and performs the following functions before passing it to the Data Link / Network Access layer: Determines an address for the destination understood by the network Systems may be attached to different networks, provides routing functions from source to destination across multiple networks Device / Data Link / Network Access Layer Takes the message generated by the IP layer and performs three functions before passing the message on the physical layer. 1. It controls the physical layer by deciding when to transmit messages over the media. 2. It formats the message by indicating where messages start and end, and which part is the address. 3. It detects and corrects any errors that have occurred in the transmission of the message. Physical Layer TCP/IP Layering Physical interface between data transmission device (e.g. computer) and transmission medium or network. It transfers a series of electrical, radio, or light signals through the circuit from sender to receiver. Characteristics of transmission medium Signal levels Data rates etc. Application (ftp) Transport (tcp) Internet (ip) Data Link (eth) Physical (10BaseT) Network (Router up to IP Layer) Application (ftpd) Transport (tcp) Internet (ip) Physical (RF) Data Link (eth) 10

Data Encapsulation Some Protocols Application Email (SMTP/POP) DNS Ping Telnet/rlogin NFS traceroute FTP SNMP Web/HTTP RIP/Bootp Transport TCP UDP Network layer in this picture includes Transport and Internet Layers Internet Data Link IP / ICMP / IGMP Ethernet / ARP SLIP, PPP Token Ring, Xmodem, HDLC Transport / Internet Layer Remember that the layers are independent! Design of TCP/IP Stack Layers in the protocol physically communicate either up or down the stack Transport layer talks to Internet and Application layer, never directly to the Physical layer Hides details of other layers Layers in the protocol logically communicate with the peer layer of the recipient FTP source client talks to FTPD on recipient TCP source talks to remote endpoint TCP IP source talks to remote endpoint IP, maybe routers 11

OSI Model Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard OSI v TCP/IP 7 6 5 4 3 2 1 The Importance of Standards Standards are necessary in almost every business and public service entity. The primary reason for standards is to ensure that hardware and software produced by different vendors can work together. The use of standards makes it much easier to develop software and hardware that link different networks because software and hardware can be developed one layer at a time. The Standards Making Process Two types of standards: Formal standards are developed by an official industry or government body. Defacto standards emerge in the marketplace and supported by several vendors, but have no official standing. 12

The Standards Making Process Formal standardization process has three stages 1. Specification stage: developing a nomenclature and identifying the problems to be addressed. 2. Identification of choices stage: those working on the standard identify the various solutions and choose the optimum solution from among the alternatives. 3. Acceptance, the most difficult stage: defining the solution and getting recognized industry leaders to agree on a single, uniform solution Telecommunications Standards Organizations International Organization for Standards (ISO) Member of the ITU, makes technical recommendations about data communications interfaces. ITU-T (formally CCITT) ATM forum Frame Relay forum IETF Telecommunications Standards Organizations International Telecommunications Union - Telecommunication Standardization Sector (ITU- TSS) Technical standard setting organization of the UN ITU. Formerly called the Consultative Committee on International Telegraph and Telephone (CCITT) Comprised of representatives of over 150 Postal Telephone and Telegraphs (PTTs), like AT&T, RBOCs, or common carriers. Other Standards Organizations American National Standards Institute (ANSI) Institute of Electrical and Electronics Engineers (IEEE) Electronic Industries Association (EIA) National Institute of Standards and Technology (NIST) National Exchange Carriers Association (NECA) Corporation for Open Systems (COS) Electronic Data Interchange -(EDI) of Electronic Data Interchange for Administration Commerce and Transport (EDIFACT). 13

Some Standards Application Layer HTTP, HTML, POP, MPEG, HTTPS Network Layer TCP/IP, IPX/SPX Data Link Layer 802.3 Ethernet, Token Ring, PPP, X-modem, H.283 Physical Layer RS-232, IEEE CAT 5 Cable, V.90, V.34 Standards Required to allow for interoperability between equipment Advantages Ensures a large market for equipment and software Allows products from different vendors to communicate Disadvantages Freeze technology May be multiple standards for the same thing Probing The Internet: Apps Two tools are common: ping - sends message that is echoed by remote computer Arguments and behavior varies a bit between Windows/Unix traceroute - reports path to remote computer Use tracert in Windows Both tools are quite useful for rudimentary debugging of the network. We will examine both in more detail later, but first here is a look at their high-level usage. Ping Example Sends packet to remote computer Remote computer replies with echo packet Local computer reports receipt of reply May include round trip time mazzy> ping beowulf.alaska.net PING beowulf.alaska.net (209.112.130.8): 56 data bytes 64 bytes from 209.112.130.8: icmp_seq=0 ttl=237 time=140.3 ms 64 bytes from 209.112.130.8: icmp_seq=1 ttl=237 time=139.6 ms 64 bytes from 209.112.130.8: icmp_seq=2 ttl=237 time=151.0 ms 64 bytes from 209.112.130.8: icmp_seq=3 ttl=237 time=137.0 ms --- beowulf.alaska.net ping statistics --- 5 packets transmitted, 4 packets received, 20% packet loss round-trip min/avg/max = 137.0/141.9/151.0 ms 14

Traceroute Example Sends series of packets along path to destination Each successive packet identifies next router along path Packets have a Time To Live option that is incremented Uses expanding ring search Reports list of packets mazzy> traceroute styx.gci.net traceroute to styx.gci.net (208.138.129.15), 30 hops max, 46 byte packets 1 137.229.114.101 (137.229.114.101) 0.896 ms 0.737 ms 0.694 ms 2 swa-7206-1.uaa.alaska.edu (137.229.101.2) 1.540 ms 0.836 ms 0.896 ms 3 121-village-net.gci.net (209.165.156.121) 1.589 ms 2.062 ms 1.574 ms 4 * styx.gci.net (208.138.129.15) 5.530 ms * Protocols in Ping/Traceroute What protocols were involved? At a high level Ping : The app sent data in some format that was recognized by the receiver. The receiver was running a program whose responsibility was to echo the packet back. Traceroute : The app sent data with increasing TTL fields. There must be some receiver program that will report back Your packet died here From UAA, try a traceroute to www.alaska.net! Discussion Problem: Email Delivery Say you want to devise a protocol that can receive data from a client and eventually pass it on to the recipient (i.e. sendmail). What should be in this protocol? What layer are we talking about? Ideas for defining it? We will look at email a bit more in a homework exercise. 15