Nicholas Weaver & Vladimir Stojanovic

Slides:



Advertisements
Similar presentations
Data Communications System By Ajarn Preecha Pangsuban.
Advertisements

Network Services Networking for Home & Small Business.
Network Layer and Transport Layer.
Shalini Bhavanam. Key words: Basic Definitions Classification of Networks Types of networks Network Topologies Network Models.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
CS61C L37 I/O : Networks (1) Kronrod © UCB TA Alex Kronrod inst.eecs/~cs61c-te inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture 37 I/O.
Chapter 2 Network Models.
Core 3: Communication Systems. On any network there are two types of computers present – servers and clients. By definition Client-Server architecture.
COMPUTER NETWORKS.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Plan of attack ‣ What is a network made of? ‣ How is it shared? ‣ How do we evaluate a network? ‣ How is communication organized? 1.
CS61C L36 I/O : Networks (1) Garcia © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
CS 61C: Great Ideas in Computer Architecture (Machine Structures) Lecture 38: IO and Networking Instructor: Dan Garcia
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
TCP/IP Guide. OSI Reference Model Real-World Analogy Phase OSI Layer CEO LetterWeb Site Connection (Simplified) Transmission 7 The CEO of a company in.
CPS Today’s topics Computer Applications Computer Communications Upcoming Computer Security ( Great Ideas, Chapter 11) Reading Great Ideas, Chapter.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Network Services Networking for Home & Small Business.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
Spring 2006Computer Networks1 Chapter 2 Network Models.
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.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Networks. Ethernet  Invented by Dr. Robert Metcalfe in 1970 at Xerox Palo Alto Research Center  Allows group of computers to communicate in a Local.
CS10 L17 Internet II (1) Garcia © UCB Senior Lecturer SOE Dan Garcia cs10.berkeley.edu CS10 : Beauty and Joy of Computing.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Instructor & Todd Lammle
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter Objectives In this chapter, you will learn:
Computer Communications
Computer Networks.
A quick intro to networking
Computer Networks.
IT 251 Computer Organization and Architecture
Click to edit Master subtitle style
Part I. Overview of Data Communications and Networking
IT 251 Computer Organization and Architecture
The Internet Ed Lazowska Bill & Melinda Gates Chair Paul G. Allen School of Computer Science & Engineering University of Washington July 2017.
OSI Protocol Stack Given the post man exemple.
Layered Architectures
Networks.
Understanding the OSI Reference Model
Data Networking Fundamentals
Network Architecture Introductory material
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
ECE 4400:427/527 - Computer Networks Spring 2017
Topic 5: Communication and the Internet
NETWORKING TECHNOLOGIES (II)
Review of Important Networking Concepts
Practical Issues for Commercial Networks
TCP/IP Protocol Suite: Review
The Internet Ed Lazowska Bill & Melinda Gates Chair Paul G. Allen School of Computer Science & Engineering University of Washington July 2018.
Basic Mechanisms How Bits Move.
Networking Theory (part 2)
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
CSCD 330 Network Programming
Network Architecture Models
OSI Reference Model Unit II
Chapter 3 Transport Layer
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Networking Theory (part 2)
Presentation transcript:

Nicholas Weaver & Vladimir Stojanovic CS 61C: Great Ideas in Computer Architecture (Machine Structures) Networking Nicholas Weaver & Vladimir Stojanovic http://inst.eecs.berkeley.edu/~cs61c/ Hookup sound

Networks: Talking to the Outside World Originally sharing I/O devices between computers E.g., printers Then communicating between computers E.g., file transfer protocol Then communicating between people E.g., e-mail Then communicating between networks of computers E.g., file sharing, www, … Original printers were the size of bathrooms - HAD to share FTP was the first time file sharing happened Communicating between people has become dominant, pervasive, ubiquitous - Also IM Last bullet is where a lot of research is happening 10/13/2018

“Revolutions like this don't come along very often” www.computerhistory.org/internet_history The Internet (1962) History 1963: JCR Licklider, while at DoD’s ARPA, writes a memo describing desire to connect the computers at various research universities: Stanford, Berkeley, UCLA, ... 1969 : ARPA deploys 4 “nodes” @ UCLA, SRI, Utah, & UCSB 1973 Robert Kahn & Vint Cerf invent TCP, now part of the Internet Protocol Suite Internet growth rates Exponential since start! “Lick” “Revolutions like this don't come along very often” Vint Cerf www.greatachievements.org/?id=3736 en.wikipedia.org/wiki/Internet_Protocol_Suite 10/13/2018

World’s First web server in 1990 en.wikipedia.org/wiki/History_of_the_World_Wide_Web The World Wide Web (1989) “System of interlinked hypertext documents on the Internet” History 1945: Vannevar Bush describes hypertext system called “memex” in article 1989: Sir Tim Berners-Lee proposed and implemented the first successful communication between a Hypertext Transfer Protocol (HTTP) client and server using the internet. ~2000 Dot-com entrepreneurs rushed in, 2001 bubble burst Today : Access anywhere! World’s First web server in 1990 Tim Berners-Lee 10/13/2018

Shared vs. Switch-Based Networks Node Shared Shared vs. Switched: Shared: 1 at a time (CSMA/CD) Switched: pairs (“point-to-point” connections) communicate at same time Aggregate bandwidth (BW) in switched network is many times that of shared: point-to-point faster since no arbitration, simpler interface Crossbar Switch Node CSMA/CD = Carrier Sense Multiple Access / Collision Detection Bus: On collision, have to wait random amount of time Buses not used very much, inefficient. Switches are much more efficient Bandwidth is like throughput 10/13/2018

Shared Broadcast Old-school Ethernet and Wireless It doesn't just share but all others can see the request? How to handle access: Old when I was old skool: Token ring A single "token" that is passed around Ethernet: Listen and send Randomized retry when someone else interrupts you Cable Modem: "Request to send": small request with a listen and send model Big transfers then arbitrated

What makes networks work? links connecting switches and/or routers to each other and to computers or devices Computer network interface switch ability to name the components and to route packets of information - messages - from a source to a destination Computer has Network Interface Card (NIC) Sends message through the series of switches, which get the message to recipient Usually draw the series of switches as the “Internet Cloud” - Represents an abstraction, “don’t know” implementation - Send the message through the network, and it will get to where it needs to go Switches use routing tables to know how to get the message to the recipient Layering, redundancy, protocols, and encapsulation as means of abstraction (61C big idea) 10/13/2018

Software Protocol to Send and Receive SW Send steps 1: Application copies data to OS buffer 2: OS calculates checksum, starts timer 3: OS sends data to network interface HW and says start SW Receive steps 3: OS copies data from network interface HW to OS buffer 2: OS calculates checksum, if OK, send ACK; if not, delete message (sender resends when timer expires) 1: If OK, OS copies data to user address space, & signals application to continue Timer is counting down on Time To Live (TTL) - You can see this in Pings Header Payload Checksum Trailer CMD/ Address /Data Net ID Len ACK INFO Dest Src 10/13/2018

Protocols for Networks of Networks? What does it take to send packets across the globe? Bits on wire or air Packets on wire or air Delivery packets within a single physical network Deliver packets across multiple networks Ensure the destination received the data Create data at the sender and make use of the data at the receiver

The OSI 7 Layer Network Model A conceptual "Stack" Physical Link: eg, the wires/wireless Data Link: Ethernet Network Layer: IP Transport Layer: TCP/UDP Session Layer/Presentation Layer/Application Layer Political Layer: "Feinstein/Burr 'thou shalt not encrypt'" Political Application Presentation Session Transport Network Data Link Physical

Protocol Family Concept Protocol: packet structure and control commands to manage communication Protocol families (suites): a set of cooperating protocols that implement the network stack Key to protocol families is that communication occurs logically at the same level of the protocol, called peer-to-peer… …but is implemented via services at the next lower level Encapsulation: carry higher level information within lower level “envelope” 10/13/2018

Inspiration… Dear John, Your days are numbered. --Pat CEO A writes letter to CEO B Folds letter and hands it to assistant Assistant: Puts letter in envelope with CEO B’s full name Takes to FedEx FedEx Office Puts letter in larger envelope Puts name and street address on FedEx envelope Puts package on FedEx delivery truck FedEx delivers to other company Dear John, Your days are numbered. --Pat

The Path of the Letter “Peers” on each side understand the same things No one else needs to Lowest level has most packaging CEO Semantic Content Letter CEO Identity Envelope Aide Aide Location Fedex Envelope (FE) FedEx FedEx

The Path Through FedEx Deepest Packaging (Envelope+FE+Crate) Truck Truck FE FE FE Sorting Office Sorting Office Sorting Office New Crate Crate Crate Crate Airport Airport Airport Deepest Packaging (Envelope+FE+Crate) at the Lowest Level of Transport

Protocol Family Concept Message Logical Message Message T H Actual Logical T H Message Actual Physical Each lower level of stack “encapsulates” information from layer above by adding header and trailer. 10/13/2018

Most Popular Protocol for Network of Networks Transmission Control Protocol/Internet Protocol (TCP/IP) This protocol family is the basis of the Internet, a WAN (wide area network) protocol IP makes best effort to deliver Packets can be lost, corrupted TCP guarantees delivery TCP/IP so popular it is used even when communicating locally: even across homogeneous LAN (local area network) WS companies used TCP/IP even over LAN Because early Ethernet controllers were cheap, but not reliable TCP and IP fundamentally different but very connected TCP hires IP guys - GO! - IP guy falls into a hole - TCP hires another IP guy -IP gus falls into a hole - Hire another! 10/13/2018

TCP/IP packet, Ethernet packet, protocols Application sends message EH Ethernet Hdr IP Header IP Data TCP breaks into 64KiB segments, adds 20B header TCP data TCP Header IP adds 20B header, sends to network Message If Ethernet, broken into 1500B packets with headers, trailers 10/13/2018