Communication Networks A Second Course Jean Walrand Department of EECS University of California at Berkeley.

Slides:



Advertisements
Similar presentations
PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Advertisements

Introduction 2 1: Introduction.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
COS 461 Fall 1997 Networks and Protocols u networks and protocols –definitions –motivation –history u protocol hierarchy –reasons for layering –quick tour.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Information Technology Foundations-BIT 112 TECHNOLOGY GUIDE FOUR Basics of Telecommunications and Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
EECS122 Midterm Review Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Lecture 8 Congestion Control EECS 122 University of California Berkeley.
Computer Network Architecture and Programming
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,
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Transmission Control Protocol (TCP) and Packet-Switching Hardware Devang Parekh EE290F 4/15/04.
Review on Networking Technologies Linda Wu (CMPT )
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Network Architectures Week 3 – OSI and The Internet.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Transport Layer TCP and UDP IS250 Spring 2010
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.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
TCP/IP Reference Model For more notes and topics visit: eITnotes.com.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Presentation on Osi & TCP/IP MODEL
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
Huda AL_Omairl - Network 71 Protocols and Network Software.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Ch 1. Computer Networks and the Internet Myungchul Kim
TCP/IP Network.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
William Stallings Data and Computer Communications
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of delay.
TCP/IP Protocol Architecture CSE 3213 – Fall
Communication Networks - Overview CSE 3213 – Fall November 2015.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Computer Network Overview Ikjun Yeom. 2 What is a computer network? a collection of computing nodes and links connecting the nodes why we need it? –to.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
INTRO TO COURSE AND ARCHITECTURE MODELS Data Communications.
1. Layered Architecture of Communication Networks: TCP/IP Model
Review. Layers Physical layer – sending bits from one place to another, ensuring an okay BER Data link layer – encapsulate information bits into frames,
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
CS587x MidTerm Review Department of Computer Science Iowa State University.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
COMPUTER NETWORKS Hwajung Lee. Image Source:
Computer networks. Topologies Point to point Bus (rail) Ring Tree, star, etc.
1 Network Communications A Brief Introduction. 2 Network Communications.
Introduction Chapter 1. TCP/IP Reference Model Why Another Model? Although the OSI reference model is universally recognized, the historical and technical.
The Transport Layer Implementation Services Functions Protocols
TCP/IP Protocol Suite: Review
TCP/IP Protocol Suite: Review
Communication Networks: Technology & Protocols
Basics of Telecommunications and Networks
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

Communication Networks A Second Course Jean Walrand Department of EECS University of California at Berkeley

Review of TCP/IP Networks History Key Ideas Protocols Technology

Networks WAN MAN

Networks WAN MAN LAN

WAN LAN Networks

History 1962 – L. Kleinrock proposes Packet SwitchingL. Kleinrock 1966 – L. Roberts proposes architecture to DarpaL. Roberts 1969 – First demonstration of packet switching: 4-node Arpanet 1969 – S. Croker introduces RFCs (managed by J. Postel) 1972 – R. Kahn proposes an open architecture: Inter-networking with stateless routers, best effort, no control planeR. Kahn 1973 – Kahn and V. Cerf propose early ideas of IP (32-bit address) and TCP (end-to-end ACKs with a window scheme)V. Cerf 1973 – R. Metcalfe invents EthernetR. Metcalfe 1982 – IGP and EGPIGP and EGP Late 1970s, early 1980s – Berkeley develops BSD, a modified implementation of UNIX that includes TCP/IP 1983 – Arpanet switches to TCP/IP 1983 – P. Mockapetris invents DNSP. Mockapetris 1988 – Van Jacobson fixes TCPVan Jacobson 1985 – 1995 – Internet supported by NSF and other agencies 1993? – T. Berners-Lee invents WWWT. Berners-Lee 1995 – Internet is privatized 2000… - WiFi,VoIP, P2P See

Key Ideas Packet Switching End-to-End error and flow control Internetworking Multiple Access DNS P2P VoIP

Packet Switching A B A | B | …. C A | C | ….

End-to-End Error and Flow Control A B A | B | n | … | EC A | B | m | … | EC B | A| k | m | … | EC ACKs all packets from A up to packet m Error control field A can have up to N packets for B that have not been acknowledged Selecting N adjusts the rate of transmissions: limit congestion If ACK is late, A retransmits packets

Internetworking Goal: Connect different networks 1.1 a 1.2 b 1.0 c 2.0 d 2.1 e 2.2 f a  c|1.1  2.2 | X d  f |1.1  2.2 | X a  b|1.1  1.2 | Y ROUTER Router looks at IP addresses (1.1, …) Each network uses local addresses (e.g., a, b, c, …)

Multiple Access Goal: Share one medium (e.g., WiFi) A B C time A | B | C | A | “Collision” Wait random time after collision C | A | “Busy” A | B | Wait until idle

DNS: Domain Name Service Translate Name into IP address (e.g., google.com into ) Directory of DNS is distributed:.com,.edu, ….edu: berkeley.edu, stanford.edu, … Mapping can depend on source address Mapping can be done to multiple addresses

P2P: Peer-to-peer Goal: All peers become servers Example: Each peer knows the addresses of a set of peers: his “friends” To find a file, peer A asks his friends who in turn ask their friends, and so on, until someone, B, says he has the file… (can limit search); A then asks B for the file. Many variations are possible. The key idea is that there is no specialized server; every client becomes a server.

VoIP: Voice over IP Goal: Place phone calls over Internet (Should be cheaper because the Internet infrastructure is much lighter than that of the phone network.) Steps: Gateway converts phone signal into IP packets and vice- versa Protocol to convert phone number into gateway IP address Gateway converts usual control signals (dial tone, ringing, busy, …) into IP packets and vice-versa

Protocols: IP: Internet Protocol TCP: Transmission Control Protocol UDP: User Datagram Protocol HTTP: Hypertext Transfer Protocol FTP: File Transfer Protocol ARP: Address Resolution Protocol TCPUDP IP HTTPFTP

Protocols: Fiber, Wires, WL Eth. HTTP, FTP, … IP UDP - TCP Physical Interface Synchronous unreliable bit pipe Data Link Control Data Link Control Asynchronous reliable bit pipe Physical Link Network Asynchronous routed path FHData Physical Interface Synchronous unreliable bit pipe Data Link Control Asynchronous reliable bit pipe Physical Link Network Asynchronous routed path FHData Transport PHDataPHData THData End NodeRouterEnd Node Application Data

IP: Internet Protocol Delivers packets between any two hosts Organizes address, manages routing tables Addresses: 32 bits, arranged so that prefix determines next router toward destination Routing algorithm: Essentially shortest path. Done in two levels: nodes are grouped; shortest path inside each group and across groups. Tables updated periodically to adjust to changes

TCP: Transmission Control Protocol Implements reliable delivery of byte stream between hosts Multiplexes multiple connections to and from a host: adds a “port” number End-to-end retransmissions Regulates flow to avoid congesting Destination (flow control) Routers (congestion control) Method: ACKs, control number of unacknowledged packets

TCP Service: IP Transport ABC [A | B | p1 | p2 | …] p1p2p1p2p3p1p2 ports Application HTTP DNS ftp TCP: Byte Stream  Ordered, reliable, well-paced

Congestion Control: Flows share links: How to share the links bandwidth?

TCP AlgorithmTCP Algorithm: AIMD AB x C DE y Limit rates: x = y TOC TOC – Congestion Control - TCP Algorithm – AIMDCongestion Control TCP Algorithm Try to be fair

TCP: Summary W 1 64KB X 0.5 TO 3DA X 0.5 3DA TO X 0.5 SSCA SS CA 3 3

Flow Control Objective: Avoid saturating destination Algorithm: Receiver avertizes window RAW RAW window = min{RAW – OUT, W} where OUT = Oustanding = Last sent – last ACKed W = Cong. Window from AIMD + refinements [ACK | RAW | …]

SYN k SYN n; ACK k+1 DATA k+1; ACK n+1 ACK k+n+1 data exchange FIN FIN ACK ½ close FIN FIN ACK ½ close TCP Phases: 3-way handshake

UDP: User Datagram Protocol Unreliable delivery of packets with error detection Multiplexes multiple connections to and from a host: adds a “port” number Adds error detection code for the packet No retransmission, no flow control

FTP: File Transfer Protocol Reliable delivery of file between hosts Converts file into byte stream for TCP

HTTP Transfer of html files Sets up TCP connections and FTP to transfer files Closes connections after transfer

ARP: Address Resolution Protocol Discovers local address from IP address Example: In “Internetworking” slide, host 1.1 uses ARP to discover local address b of 1.2 Protocol: Host 1.1 broadcasts request on local network: Who is 1.2? Host 1.2 replies to 1.1; local address of source (b) is in the packet.

Technology Communication Links Switches

Communication Links Fibers Cat5 Unshielded Twisted Pairs Coaxial Cable Wireless

Communication Links Convert bits string into signals that propagate as electromagnetic waves Optical: Typically ON/OFF  pulses of light; encoding makes sure there are enough transitions for the receiver to remain in sync Fibers: up to 10Gbps over 100 km per wavelength; up to 128 wavelengths per fiber Wired and wireless: Typically pulses of sine waves at different frequencies or phases to encode groups of bits Wires: 100 Mbps over 100 m Wireless: 100 Mbps over 30 m with multiple antennas (802.11n) Error control codes: typically to detect errors

Telephone SwitchTelephone Switch RouterRouter

Switches Various links: optical, cable, wires Looks up destination address and sends packet to corresponding output port May perform some traffic policing (limit rate) and some differentiated service (e.g., priority to VoIP packets) Fast router: total throughput of 500 Gbps From a few to 128 ports