Introduction to Data Communication

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Lecture 1 Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network structure,
Lecture Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network structure,
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
1-1 Foundation Objectives: 1.1 What’s the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure and.
1: Introduction1 Part I: Introduction Chapter goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
What’s the Internet: “nuts and bolts” view
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Chapter 1 Introduction Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Computer Networking Introduction, Part II.
CS 3830 Day 2 Introduction 1-1. Announcements  Program 1 posted on the course web  Project folder must be in 1DropBox on S drive by: 9/14 at 3pm  Must.
1: Introduction1 Packet switching versus circuit switching r Great for bursty data m resource sharing m no call setup r Excessive congestion: packet delay.
Overview-Part2.
Computer Networking Introduction, Part I. Lecture #1: Part I: Introduction Chapter goal: get context, overview, “feel” of networking.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
CS 381 Introduction to computer networks Chapter 1 - Lecture 4 2/10/2015.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
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.
Introduction1-1 Course Code:EE/TE533 Instructor: Muddathir Qamar.
1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware, software Question:
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
Ch 1. Computer Networks and the Internet Myungchul Kim
TCP/IP Network.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
1 Network Core and Network Edge By Muhammad Hanif To BS IT 4 th Semester.
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of delay.
INF1060 Introduction1 Introduction to Data Communication Kjell Åge Bringsrud (basert på lysark av Carsten Griwodz)
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
Ch 1. Computer Networks and the Internet Myungchul Kim
Lecture 1: Facts of network technologies developments
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
Introduction 1-1 1DT057 Distributed Information Systems Chapter 1 Introduction.
Data Communications Chapter 1 – Data Communications, Data Networks, and the Internet.
Administrative Things
CS 5565 Network Architecture and Protocols
Introduction (2) Overview: access net, physical media
Graciela Perera Introduction Graciela Perera
CS 3214 Computer Systems Networking.
Day 01 - The Internet.
Part 0: Networking Review
Slides taken from: Computer Networking by Kurose and Ross
Chapter 1: Introduction
CS 3214 Computer Systems Lecture 21 Godmar Back.
A Taxonomy of Communication Networks
Part I: Introduction Chapter goal:
An Aleksandar,   Accounts have been created for any students in EECS 340 who did not already have one.  Physical access to the labs has.
OSI Protocol Stack Given the post man exemple.
CS 3214 Computer Systems Networking.
Introduction 1 1: Introduction.
CS 5565 Network Architecture and Protocols
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
CSE 3461/5461 Reading: Chapter 1, Kurose and Ross
Chapter 1: Introduction
Part I: Introduction Chapter goal:
TCP/IP Protocol Suite: Review
Part I: Introduction Chapter goal:
TCP/IP Protocol Suite: Review
Computer Networking 숙명여자대학교 컴퓨터 과학과 최 종원.
Introduction to Data Communication
CSE 3461/5461 Reading: Chapter 1, Kurose and Ross
Chapter 1: Introduction
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Part I: Introduction Overview: what’s the Internet what’s a protocol?
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Presentation transcript:

Introduction to Data Communication Kjell Åge Bringsrud (basert på lysark av Carsten Griwodz) Introduction

Introduction Goal Give an overview of the topic Approach Descriptive Use Internet as example Content What is the Internet? What is a protocol? End systems Core networks Access network and physical media Throughput, loss and delay Protocol layers, service models Backbones, NAP’er, ISP’er History Introduction

What is the Internet? router workstation server mobile unit Millions of interconnected devices: host computers, end systems PCs, workstations, servers PDAs, telephones, fridges … which run network applications Communication links Fiber, copper, radio, satellite Routers passing on packets of data through the network Introduction

What is the Internet? Internet: “network of networks” Protocols router Partly hierarchical Public Internet versus private intranet ISPs: Internet Service Providers Protocols Control sending, receiving of messages E.g., TCP, IP, HTTP, FTP, PPP router workstation server mobile unit local ISP company networks regional ISP Introduction

What is the Internet from a service view? Communication infrastructure Allows distributed applications: WWW, email, games, e-commerce, database., elections, More? Internet standards: RFC: Request for comments IETF: Internet Engineering Task Force Introduction

End systems End systems Client/server model Peer-to-peer model Run application programs E.g., web browser, web server, email At “the edge” of the net Client/server model Clients ask for, and get a service from the servers E.g. WWW client (browser)/ server; email client/server Peer-to-peer model Interactions are symmetrical E.g. telephone conferences Introduction

What is a protocol? Human protocols: “What time is it?” “I have a questions” Formal phrases… … are special “messages” that are sent, which lead to … … defined events or actions when the message is received Network protocols: Machine instead of people All communication activity in the Internet is controlled by protocols Protocols define formats, order of sending and receiving of messages, and the actions that the reception initiates. Introduction

What is a protocol? A human protocol and a computer protocol: Hi! Hi! TCP connect request Hi! TCP connect response What time Is it? GET http://gaia.cs.umass.edu/index.htm 2.15 <fil> time Introduction

What are protocol layers? Several layers of communication Snakker du norsk? Sprechen Sie Deutsch? Do you speak English? Yes! time Use the language for all further messages! Peter What’s your name? Use name in further messages now! … Peter, have you met Paul? Introduction

What are protocol layers? Networks are complex Many parts: Hardware, software End systems, routers Links of different kinds Protocols Applications Question: Is it possible to organize the structure of a network? Or at least our discussion of networks? Introduction

Why layering? Management of complex systems: Modularisation simplifies Design Maintenance Updating of a system Explicit structure allows Identification of the individual parts Relations among them Clear structure: layering Layered reference model Goal: different implementation of one layer fit with all implementations of other layers Introduction

TCP/IP - protocol stack application: supports network applications ftp, smtp, http Your applications transport: data transfer from end system to end system TCP, UDP network: finding the way through the network from machine to machine IP (data) link: data transfer between two neighbors in the network ppp, ethernet physical: bits “on the wire” application transport network link physical Introduction

OSI - model application presentation application session transport A standard for layering of communication protocols Open Systems Interconnection by the ISO – International Standardization Institute Two additional layers to those of the Internet stack presentation: translates between different formats XML, XDR provides platform independence session: manages connection, control and disconnection of communication sessions RTP presentation application session transport network link physical Introduction

Layering: logical communication Each layer: distributed “units” implement functionality of each layer in each node Units execute operations, and exchange messages with other units of the same layer application transport network link physical network link physical application transport network link physical application transport network link physical application transport network link physical Introduction

Layering: logical communication data E.g. transport Receive data from the application Add receiver address, reliability check, information to create a “datagram” Send datagram to the transport layer in the receiver node Wait for “ack” from the transport layer in the receiver node Analogy: post office application transport network link physical transport ack data data transport Introduction

Layering: physical communication data application transport network link physical network link physical application transport network link physical data application transport network link physical application transport network link physical Introduction

Protocol layer and data Each layer takes data from next higher layer Adds header information to create a new data unit (message, segment, frame, packet …) Send the new data unit to next lower layer source destination application transport network link physical application transport network link physical M H t n l message M H t n l segment datagram frame Introduction

A closer look at network structures End systems applications and host computers Core networks Routers Network of networks Access network, physical medium Communication links Introduction

Access network and physical media How to connect end systems to edge routers? Home network Company network (schools, companies) Mobile access network Keep in mind when choosing a technology: Bandwidth? Shared or dedicated medium? Introduction

Home network: point to point Dial-up via modem Up to 56Kbps direct access to the router (at least in theory) ISDN: integrated services digital network 128Kbps purely digital connection to the router ADSL: asymmetric digital subscriber line Up to 1 Mbps uplink (home-to-router) Up to 8 Mbps downlink (router-to-home) Introduction

Home network: cable modem/broadband An example HFC: hybrid fiber coax Asymmetrical: up to 10Mbps downlink, 1 Mbps uplink Network of copper cable and optical fiber connects homes to ISP routers Shared access to router for several homes Problems: congestion, dimensioning hundreds of homes fiber kabel router Coaxial cable Introduction

Institutional access networks (LAN) Company/university local area network (LAN) connects end systems to the rest of the net Ethernet: Shared or dedicated cable connects end systems and routers 10 Mbps, 100Mbps, Gigabit Ethernet Introduction

Wireless access networks Shared wireless access networks connect end systems to routers Wireless LANs: radio spectrum replaces cable E.g. IEEE 802.11b - 11 Mbps IEEE 802.11a – 54 Mbps Wireless access over long distances GSM for example… base station mobile machines router Introduction

Physical medium Physical link: a sent bit propagates through the link Closed media: Signals propagate in cable media (copper, fiber) Open media: Signals propagate freely, e.g. radio. Twisted Pair (TP) Two isolated copper cables Category 3: traditional telephone cables, 10 Mbps Ethernet Category 5 TP: 100Mbps Ethernet Category 6 TP: 1Gpbs Ethernet Introduction

Physical medium: coax, fiber Coaxial cable Wire (signal carrier) in a wire (shielding) baseband: a single channel on a cable broadband: multiple channels on a cable Bi-directional Typically used for 10Mbs Ethernet. Fiber optic cable Optical fiber that carries light impulses High-speed transfer: High-speed point-to-point transmission Low error rate Longer distances 100Mbps, 1Gbps Ethernet Introduction

Physical media: radio Types of radio links Radio microwaves E.g. up to 45 Mbps LAN 2Mbps, 11Mbps, 54Mbps wide-area GSM, 9,8 Kbps satellite Up to 50Mbps per channel (or several thinner channels) 270 Msec end-to-end delay (limited by speed of light). Radio Signal in electromagnetic spectrum No physical ”cable” Bi-directional Effects of environment on the distribution: Reflection Obstruction by blocking objects Interferences Introduction

Core networks Graph of interconnected routers One fundamental question: how is data passed through the net? Circuit switching Packet switching Dedicated line through the network Discrete data units are sent through the network Introduction

Core networks: Circuit Switching End-to-end resource reservation for a ”session” Link bandwidth, router capacity Dedicated resources (no sharing) Guaranteed throughput Setup phase is required Introduction

Core networks: Circuit Switching Historical: Analog telephone networks Network consists of resources Cables Switches with relays Establish a physical connection Relays switch to connect cables physically Create a circuit Guaranteed resources No difference between talking and silence Modern: Networks consist of resources Cables Routers or switches Network resources can be shared Establish a connection Switches reserve part of available resource Division of link bandwidth into parts Frequency division Time division Introduction

Core networks: Packet Switching Each end-to-end data stream is divided into packets Data streams share network resources Each packets uses the entire bandwidth of a link Resources are used as needed Competition for resources: Combined resource need can exceed the available resources Congestion: packets are queued in front of “thin” links Store and forward: packets move one link at a time Send over a link Wait for your turn at the next link Division of bandwidth Dedicated allocation Resource reservation Introduction

Core networks: Packet switching 10 Mbps Ethernet C A statistical multiplexing 1.5 Mbps B Queue of packets that wait for link access 45 Mbps D E Introduction

Packet switching versus circuit switching Packet switching allows more users in the net! 1 Mbps link Each user 100Kbps when “active” Active 10% of the time, at random times Circuit switching max 10 users Loss probability: 0% Waste: ~90% capacity Packet switching >10 may be active concurrently! Loss probability >0% Waste: < 90% capacity N users 1 Mbps link Introduction

Packet switching versus circuit switching Is packet switching always the best approach? Good for data with “bursty” behavior Resource sharing No ”setup phase” required In a congested network: delay and packet loss Protocols required for reliable traffic and congestion control How to achieve a behavior like that of circuit switching? Bandwidth guarantees are required for audio/video applications Unsolved problem so far! Introduction

Delay in packet switching networks Packet experience delay on the way from sender to receiver four sources of delay in each hop. Node processing: Checking for bit errors Determining the output link Queuing Waiting for access to the output link Depends on the congestion level of the router A B queueing node processing Introduction

Delay in packet switching networks Transmission delay: R = link bandwidth (bps) L = packet size (bits) Time required to send a packet onto the link = L/R Propagation delay: d = physical link length (m) s = propagation speed in the medium (~2x108 m/sec) Propagation delay = d/s Note: s and R are of very different size! transmission A propagation B node processing queueing Introduction

More about queueing delays R= link bandwidth (bps) L= packet length (bits) a= average packet arrival rate traffic intensity = La/R La/R ~ 0: average queuing delay is small La/R -> 1: queuing delay grows La/R > 1: more data is arriving at the link than it can handle  link goes into congestion (Average delay is infinite!) Introduction

Packet switched network: Routing Goal: move packets from router to router between source and destination There are several methods to find the path of packets. Datagram network: Destination address determines the next hop. Path can change during the sessions. Routers need no information about sessions. Analogy: ask for the way while you drive. Virtual circuit network: Each packet has a “tag” (virtual circuit ID), which determines the next hop. Path is determined when connection is set up, and remains the same for the entire session. Routers need state information for each virtual circuit. Introduction

Datagram and Virtual Circuit Networks physical link network application transport Introduction

Datagram and Virtual Circuit Networks 209.73.164.90 216.239.51.101 216.239.51.127 129.42.16.98 Interface 1 209.73.164.78 Interface 3 192.67.198.54 80.91.34.111 Interface 2 129.42.16.99 209.189.226.1 80.91.34.114 81.93.162.21 192.67.198.50 129.240.148.31 81.93.162.20 209.189.226.17 193.99.144.73 129.240.148.32 129.240.148.11 193.99.144.71 66.77.74.255 66.77.74.20 129.240.148.31 Introduction

Datagram network Introduction … - … 216.239.51.101 … - … 216.239.51.101 - IF1 209.189.226.17 - IF2 80.91.34.111 - IF3 209.189.226.* - 209.189.226.17 129.240.* - 80.91.34.111 81.93.* - 80.91.34.111 192.67.* - 80.91.34.111 209.73.* - 80.91.34.111 129.240.148.* - 80.91.34.111 193.99.* - 80.91.34.111 66.77.74.20 - 80.91.34.111 216.239.51.101 129.240.148.31 Introduction

Datagram network 216.239.51.101 129.240.148.31 Introduction

Virtual circuit network 216.239.51.101 … - … C1 - IF1 C2 - IF2 C3 - IF3 129.240.148.31 Introduction

Network layer: IP Datagram switching IP offers: IP Datagram service Internet Protocol Datagram service of the Internet RFC 791 IP offers: Datagram service Unreliable Unordered Addressing Routing IP networks can use virtual circuits IPv4: circuit is one hop IPv6: can have a tag Introduction

Connection-oriented service Goal: data transfer between end systems Start of communication Handshaking Initial preparation of data transfer Hi!, hi! Is a human handshaking protocol Creates a ”state” in the two machines that communicate. End systems know their communication partners During communication Connection End system expects messages from connected end system End system know when messages belong to the connection End of communication Teardown Bye! Bye! Is a human teardown protocol New handshake required for re-establishing connection Introduction

Connectionless service Goal: data transfer between end systems As before! Start of communication No connection setup No preparation for data transfer Programs must expect messages at all times During communication No connection No state in the machines Senders don’t know whether messages are expected Sender must identify itself in each message End of communication No teardown Just stop sending Introduction

Services over Switching Approaches Services requested Between end systems Connection-oriented service Connectionless service Switching approaches From host to host Circuit switching Packet switching Connection-oriented service Connection-less service Circuit switching Fits well Setup wasted Packet switching Additional work needed Introduction

Transport layer: TCP Connection-oriented service TCP offers: TCP Transmission Control Protocol Connection-oriented service of the Internet RFC 793 TCP offers: Connections Handshake, end-system state, teardown Reliable, ordered, stream-oriented data transfer Loss: acknowledgements and retransmissions Flow control: Send not faster than receiver can receive Congestion control: Send slower when the network is congested. Introduction

Transport layer: UDP Connectionless service UDP offers: UDP User Datagram Protocol Connectionless service of the Internet RFC 768 UDP offers: No connections Send immediately Unreliable, unordered, packet-oriented data transfer Loss: messages are simply lost Messages arrive exactly as send No flow control Send as fast as programs want to No congestion control Ignore network problems Introduction

Transport layer: applications Applications that use TCP: HTTP (WWW) FTP (file transfer) SMTP (email) Telnet (remote login) Applications that use UDP: Streaming media Video conferencing Internet telephony NTP (network time protocol) Introduction

Internet structure: network of networks More or less hierarchical National/international “backbone providers” (NBPs) These interconnect either privately, or at so-called Network Access Point (NAPs) regional ISPs Connect to NBPs local ISPs, companies Connect to regional ISPs local ISP regional ISP NBP B NAP NAP NBP A regional ISP local ISP Introduction

National Backbone Provider example BBN/GTE US backbone network Introduction

History of the Internet 1961-1972: Early packet-switching concepts 1961: Kleinrock – queueing theory proves that packet switching is effective 1964: Baran – packet switching in military networks 1967: ARPAnet starts Advanced Reearch Projects Agency 1969: first ARPAnet node operational 1972: ARPAnet publically demonstrated NCP (Network Control Protocol) first machine-machine protocol first e-mail program ARPAnet has 15 nodes Introduction

History of the Internet 1972-1980: Internetworking – new, proprietary networks 1970: ALOHAnet satellite network on Hawaii 1973: Metcalfe’s doctor thesis proposes Ethernet 1974: Cerf and Kahn – architecture to the interconnection of many networks End of the 70s: proprietary architectures: DECnet, SNA, XNA 1979: ARPAnet has 200 nodes Cerf og Kahn’s internetworking principles: Minimalism, autonomy – no internal network changes necessary to interconnect networks best effort service model Statekess routers Decentralized control This defines mostly today’s Internet architecture Introduction

History of the Internet 1980-1990: new protocols – the Net grows 1983: first use of TCP/IP 1982: e-mail protocol SMTP defined 1983: DNS defined to translate a name into an IP address 1985: ftp protocol defined 1988: TCP congestion control New national networks: Csnet, BITnet, NSFnet, Minitel 100,000 machine connected to the Net. Introduction

History of the Internet 1990’s: commercialization, WWW Early 1990s: WWW hypertext [Bush 1945, Nelson 1960’s] HTML, http: Berners-Lee 1994: Mosaic, later Netscape late 1990s: commercialization of the WWW Late 1990s: ca. 50 million machines on the Internet ca. 100 million+ users backbone links operate at 1 Gbps Introduction

Summary Covering a large area! Hopefully you have now: Overview over the Internet What is a protocol? Network components Throughput, loss, delay Layering and service models backbone, NAPer, ISPer Hopefully you have now: A impression and overview of the area More depth and details in later courses Introduction