Computer Science Division

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
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.
Aleksandar, Accounts have been created for any students in EECS 340 who did not already have one. Physical access to the labs has also been granted. If.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Communications and Networks Chapter 8.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
1 Katz, Stoica F04 EECS 122: Introduction to Computer Networks Network Service and Applications Computer Science Division Department of Electrical Engineering.
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Communication concepts (Continued) Week 2 Lecture 2.
Data Communications and Networks Chapter 2 - Network Technologies - Circuit and Packet Switching Data Communications and Network.
Data Communications and Networking
Presentation on Osi & TCP/IP MODEL
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Review of Networking Concepts Part 1: Switching Networks
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
CS162 Operating Systems and Systems Programming Lecture 13 Packet Switching March 7, 2011 Ion Stoica
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
The OSI Model.
ECE 466 Switching Networks. ECE 466 A communication network provides a scalable solution to connect a large number of end systems Communication Networks.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 4: Fundamental network design issues Slides.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
Ch 1. Computer Networks and the Internet Myungchul Kim
Computer Networks with Internet Technology William Stallings
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
William Stallings Data and Computer Communications
Lecture 8 Virtual Switching (contd.) & Message Switching.
Department of Computer and IT Engineering University of Kurdistan
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Data Communication and Networks
Chapter 2 PHYSICAL LAYER.
Chapter 3: Packet Switching (overview)
Networking Using the OSI Model.
Packet Switching Networks & Frame Relay
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
A Taxonomy of Communication Networks
The Underlying Technologies
Scaling the Network: The Internet Protocol
3. Internetworking (part 1)
Packet Switching Datagram Approach Virtual Circuit Approach
The OSI Model and the TCP/IP Protocol Suite
Network Layer Goals: Overview:
Introduction and Overview of Network and Telecommunications (contd.)
LAN Risanuri Hidayat.
Networks & Protocols EE 122: Intro to Communication Networks
CS4470 Computer Networking Protocols
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
NET323 D: Network Protocols
Net 323: NETWORK Protocols
Computer Science 457 Networking and the Internet
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Anthony D. Joseph and Ion Stoica
Network Core and QoS.
NET323 D: Network Protocols
ECE453 – Introduction to Computer Networks
Data Communication Networks
Network Layer I have learned from life no matter how far you go
Switching Techniques.
OSI Model The Seven Layers
TCP/IP Protocol Suite: Review
Network Architecture for Cyberspace
Scaling the Network: The Internet Protocol
Optical communications & networking - an Overview
Network Core and QoS.
Presentation transcript:

EECS 122: Introduction to Computer Networks Network Service and Applications Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776

Overview Taxonomy of Communication Networks Services and Applications

Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Packet-Switched Communication Network Circuit-Switched Communication Network Datagram Network Virtual Circuit Network

Broadcast vs. Switched Communication Networks Broadcast Communication Networks Information transmitted by any node is received by every other node in the network Examples: usually in LANs (Ethernet, WiFi) Problem: coordinate the access of all nodes to the shared communication medium (Multiple Access Problem) Switched Communication Networks Information transmitted to a sub-set of designated nodes Examples: WANs (Telephony Network, Internet) Problem: how to forward information to intended node(s)? Done by special nodes (e.g., routers, switches) executing routing protocols

Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Packet-Switched Communication Network Circuit-Switched Communication Network Datagram Network Virtual Circuit Network

Circuit Switching Three phases If circuit not available: “Busy signal” circuit establishment data transfer circuit termination If circuit not available: “Busy signal” Examples Telephone networks ISDN (Integrated Services Digital Networks)

Telegraph Network Alexander Graham Bell 1876: Demonstrates the telephone at US Centenary Exhibition in Philadelphia

Telephone Network Almon Brown Strowger (1839 - 1902) 1889: Invents the “girl-less, cuss-less” telephone system, aka the mechanical switching system

Timing in Circuit Switching Host 1 Host 2 Node 1 Node 2 DATA processing delay at Node 1 propagation delay between Host 1 and Node 1 Circuit Establishment Data Transmission Circuit Termination propagation delay between Host 2 and Node 1

Circuit Switching Node (switch) in a circuit switching network incoming links Node outgoing links

Circuit Switching: Multiplexing/Demultiplexing Frames Slots = 1 2 3 4 5 1 2 3 4 5 Time divided in frames and frames into slots Relative slot position inside a frame determines to which conversation data belongs E.g., slot 0 belongs to red conversation Requires synchronization between sender and receiver—surprisingly difficult! In case of non-permanent conversations Needs to dynamically bind a slot to a conservation How to do this? If a conversation does not use its circuit the capacity is lost!

Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Packet-Switched Communication Network Circuit-Switched Communication Network Datagram Network Virtual Circuit Network

Packet Switching Data sent as formatted bit-sequences (Packets) Packets have following structure: Header and Trailer carry control information (e.g., destination address, check sum) Each packet traverses the network from node to node along some path (Routing) At each node the entire packet is received, stored briefly, and then forwarded to the next node (Store-and-Forward Networks) Typically no capacity is allocated for packets Header Data Trailer

Packet Switching Node in a packet switching network incoming links outgoing links Memory

Packet Switching: Multiplexing/Demultiplexing Data from any conversation can be transmitted at any given time Single conversation can use the entire link capacity if it is alone How to tell them apart? Use meta-data (header) to describe data

Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Packet-Switched Communication Network Circuit-Switched Communication Network Datagram Network Virtual Circuit Network

Datagram Packet Switching Each packet is independently switched Each packet header contains destination address No resources are pre-allocated (reserved) in advance Example: IP networks

Timing of Datagram Packet Switching Host 1 Host 2 Node 1 Node 2 propagation delay between Host 1 and Node 2 transmission time of Packet 1 at Host 1 Packet 1 Packet 2 Packet 3 processing delay of Packet 1 at Node 2 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3

Datagram Packet Switching Host C Host D Host A Node 1 Node 2 Node 3 Node 5 Host B Host E Node 7 Node 6 Node 4

Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Communication Network Broadcast Communication Network Packet-Switched Communication Network Circuit-Switched Communication Network Datagram Network Virtual Circuit Network

Virtual-Circuit Packet Switching Hybrid of circuit switching and packet switching Data is transmitted as packets All packets from one packet stream are sent along a pre-established path (=virtual circuit) Guarantees in-sequence delivery of packets However, packets from different virtual circuits may be interleaved Example: ATM networks

Virtual-Circuit Packet Switching Communication with virtual circuits takes place in three phases VC establishment data transfer VC disconnect Note: packet headers don’t need to contain the full destination address of the packet

Timing of Virtual-Circuit Packet Switching Host 1 Host 2 Node 1 Node 2 propagation delay between Host 1 and Node 1 VC establishment Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Data transfer Packet 1 Packet 2 Packet 3 VC termination

Datagram Packet Switching Host C Host D Host A Node 1 Node 2 Node 3 Node 5 Host B Host E Node 7 Node 6 Node 4

Packet-Switching vs. Circuit-Switching Most important advantage of packet-switching over circuit switching: Exploitation of statistical multiplexing: Efficient bandwidth usage; ratio between peek and average rate is 3:1 for audio, and 15:1 for data traffic However, packet-switching must handle congestion: More complex routers Harder to provide good network services (e.g., delay and bandwidth guarantees) In practice they are combined: IP over SONET, IP over Frame Relay

Overview Taxonomy of Communication Networks Services and Applications

The Internet Protocol (IP) Problem: Many different network technologies e.g., Ethernet, Token Ring, ATM, Frame Relay, etc. How can you hook them together? n x n translations? IP was invented to glue them together n translations Minimal requirements (datagram) The Internet is founded on IP “IP over everything”

Addressing Every Internet host has an IP address e.g., 67.114.133.15 Packets include destination address Network is responsible for routing packet to address Host-view: Network Source Destination

IP-centric View Host C Host D Host A Router 1 Router 2 Router 3 Host B Host E Router 7 Router 6 Router 4

Physical View A big mess! Every “link” could be a whole network of ATM, frame relay, ethernet, DSL, etc. Beauty of IP: you can ignore these different network technologies In many networks, IP is used only at the edge

Back to IP Host C Host D Host A Router 1 Router 2 Router 3 Router 5 Host B Host E Router 7 Router 6 Router 4

Routing Routers have “routing tables” Tables mapping each destination with an outgoing link Requires that routing table is highly compressible! Implications for address assignment, mobility, etc. Routing decisions made packet-by-packet Routers keep no connection state Question: Why have the network do routing? Why not the hosts? Compare delivery-by-hand to FedEx

Internet Service “Best-Effort” service Why this service model? No guarantees about packet delivery Hosts must cope with loss and delay Why this service model? Why not guarantee no loss and low delay?

Domain Name Service (DNS) Humans/applications use machine names e.g., www.cs.berkeley.edu Network (IP) uses IP addresses e.g., 67.114.112.23 DNS translates between the two An overlay service in its own right Global distribution of name-to-IP address mappings—a kind of content distribution system as well Unsung hero of the Internet

File Transfer (FTP, SCP, etc.) Get file from soup.cs.berkeley.edu Get file Your PC file soup.cs.berkeley.edu Get address for soup.cs.berkeley.edu 67.132.22.5 DNS

Email Email message exchange is similar to previous example, except Exchange is between mail servers DNS gives name of mail server for domain

Get www.icir.org/file.html Web Get www.icir.org/file.html Your PC Proxy Get file.html file.html www.icir.org Get address for www.icir.org 67.132.22.5 DNS

Caching Caches can be visible or transparent Visible: Transparent: Client is configured to ask cache Transparent: Cache intercepts packet on its way to web server Example of a “application-aware middlebox” Violates purity of architecture, but are prevalent...

Content Distribution Network (CDN) How to get closest copy of replicated content? CDNs have mirror servers distributed globally CDN customers allow CDN to run their DNS “Smart” DNS server returns results based on requester’s IP address

Dashed lines are “virtual links” Gnutella (P2P) Overlay Network Dashed lines are “virtual links”

Gnutella (cont’d) User asks for file (by metadata) Each host sends request to its “neighbors” in overlay network Responses sent back to original requesting node Many variations on P2P file sharing.....

Overlay Networks Create a set of “virtual links” between hosts Communication between neighbors on overlay is done by IP But the overlay can use different routing, or application-specific processing, at overlays nodes IP is often overlay on circuit-switched network App-specific networks increasingly overlaid on IP

Architecture The assignment of tasks and knowledge Who does what, and where is the state kept? How they do it: algorithms and implementation

Internet Architecture Routers do routing, and almost nothing else No application-specific functions Hosts do all application-specific processing Allowed wide variety of applications to flourish on Internet