Ion Stoica, Fall 2001 1 EE 122: Introduction to Computer Networks – Fall 2001  Instructor -Ion Stoica 645 Soda Hall)  Lecture.

Slides:



Advertisements
Similar presentations
CP Networking1 WAN and Internet Access. CP Networking2 Introduction What is Wide Area Networking? What is Wide Area Networking? How Internet.
Advertisements

Eighth Edition by William Stallings
COS 461 Fall 1997 Networks and Protocols u networks and protocols –definitions –motivation –history u protocol hierarchy –reasons for layering –quick tour.
© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
Chapter 1 Data Communications and Networks - Overview Data Communications deals with the transmission of signals in a reliable and effective manner. Topics.
Optical communications & networking - an Overview
Univ. ov TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
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.
Data and Computer Communications
EECS122 - UCB13 TOCTOC: Introduction Network Examples Network Components Ethernet Interconnected LANs Internetwork Types of Networks Internet Packets Transport.
1 Introduction to Networking Lesson 01 NETS2150/2850.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
Ion Stoica, Spring CS 268: Graduate Computer Networks – Spring 2002  Instructors -Ion Stoica 645 Soda Hall) -Kevin Lai.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Ion Stoica, Fall EE 122: Introduction to Computer Networks – Fall 2002  Instructors -Ion Stoica 645 Soda
Welcome to CS 340 Introduction to Computer Networking.
1 Katz, Stoica F04 EECS 122: Introduction to Computer Networks Network Service and Applications Computer Science Division Department of Electrical Engineering.
CS 552 Computer Networks Fall 2008 Rich Martin. Course Description Graduate course on computer networking –Undergraduate knowledge of networking assumed.
1 CS 268: Graduate Computer Networks – Spring 2005  Instructors: -Scott Shenker 683 Soda -Ion Stoica.
CS 552 Computer Networks Fall 2004 Rich Martin. Course Description Graduate course on computer networking –Undergraduate knowledge of networking assumed.
Data and Computer Communications
Ion Stoica, Spring CS 268: Graduate Computer Networks – Spring 2003  Instructor: -Ion Stoica 645 Soda Hall)  Lecture.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Data Communications and Networking
Univ. ov TehranIntroduction to Computer Network1 Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering.
Introduction to Computer Network1 Computer Networks Ilam University Dr. Mozafar Bag-Mohammadi.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
Fall 2008CS 334: Computer Security1 Networks Tutorial.
CE 4228 DATA COMMUNICATIONS AND NETWORKING Introduction.
An Introduction to Computer Networks
1 CS 268: Graduate Computer Networks – Spring 2004  Instructor: -Ion Stoica 645 Soda Hall)  Lecture time: MW, 9:00-11:30 am.
LAN/WAN Networking: An Overview
1 Wide Area Networks Computer Networks. 2 Motivation Connect multiple sites Span geographic distances Cross public right-of-way streets buildings railroads.
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
Review of Networking Concepts Part 1: Switching Networks
Introduction1-1 Course Code:EE/TE533 Instructor: Muddathir Qamar.
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.
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.
Data and Computer Communications Circuit Switching and Packet Switching.
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
William Stallings Data and Computer Communications
Summary - Part 2 - Objectives The purpose of this basic IP technology training is to explain video over IP network. This training describes how video can.
Communication Networks - Overview CSE 3213 – Fall November 2015.
Oz – Foundations of Electronic Commerce © 2002 Prentice Hall Essentials of Telecommunications.
Review of Network Technologies. Basic of Network concepts Computer Network – A Communication system for connecting computers/hosts Why? – Better connectivity.
Department of Computer and IT Engineering University of Kurdistan
Introduction to Computer Network1 Introduction to Computer Networks University of Ilam Dr. Mozafar Bag-Mohammadi.
Univ. ov TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
WAN Transmission Media
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
Univ. ov TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 1 – Data Communications, Data Networks, and.
Data and Computer Communications Eighth Edition by William Stallings Chapter 1 – Data Communications, Data Networks, and the Internet.
Data Communications Chapter 1 – Data Communications, Data Networks, and the Internet.
A Taxonomy of Communication Networks
Computer Science Division
LAN/WAN Networking: An Overview
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Introduction to Computer Networks
CS 268: Graduate Computer Networks – Spring 2003
Optical communications & networking - an Overview
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
Presentation transcript:

Ion Stoica, Fall EE 122: Introduction to Computer Networks – Fall 2001  Instructor -Ion Stoica 645 Soda Hall)  Lecture time -Tu, Th 9:30 – 11:00  Office hour: -Thursday, 11:15 – 12:15 pm  Class Web page -

Ion Stoica, Fall TAs  Eiman Zolfaghari, Monday, 11:00 -  Anshuman Sharma, Monday, 3:00 -  Abhishek Ghose, Monday, 4:00 -  Sridhar Machiraju, Wednesday, 10:00 -  Barath Raghavan, Wednesday,  Chunlong Guo, Friday, 11:00- 12:00 Chunlong  Dragan Petrovic, Friday, 2:00 -

Ion Stoica, Fall Overview  Administrative trivia  Overview and history of the Internet  A Taxonomy of Communication Networks  Router Architecture in Packet-Switching Networks

Ion Stoica, Fall Administrative Trivia’s  Course Web page: - -check it periodically to get the latest information  Deadline means deadline -unless otherwise specified, it means 9:20 pm on the date (10 minutes before lecture) -special circumstances should be brought to my or TAs attention way ahead of deadlines  Exams are closed-book  Best way to communicate: -but contact your TA first !

Ion Stoica, Fall Goals of this Course  Learn the main concepts of communication networks in general, and Internet in particular -Understand how the Internet works -Try to understand why the Internet is the way it is  Apply what you learned in small scale class projects

Ion Stoica, Fall What Do You Need To Do?  Five homeworks  Two projects  Two midterm exams  Final exam

Ion Stoica, Fall Grading Homeworks20% Two projects30% Midterm exams20% Final exam30%

Ion Stoica, Fall Overview  Administrative trivia  Overview and history of the Internet  A Taxonomy of Communication Networks  Router Architecture in Packet-Switching Networks

Ion Stoica, Fall What is a Communication Network? (from end-system point of view)  Network offers a service: move information -bird, fire, messenger, truck, telegraph, telephone, Internet … -another example, transportation service: move objects horse, train, truck, airplane...  What distinguish different types of networks? -The services they provide  What distinguish the services? -latency -bandwidth -loss rate -number of end systems -service interface (how to invoke the service?) -other details reliability, unicast vs. multicast, real-time, message vs. byte...

Ion Stoica, Fall What is a Communication Network? Infrastructure Centric View  Electrons and photons as communication medium  Links: fiber, copper, satellite, …  Switches: mechanical/electronic/optical, crossbar/Banyan  Protocols: TCP/IP, ATM, MPLS, SONET, Ethernet, PPP, X.25, FrameRelay, AppleTalk, IPX, SNA  Functionalities: routing, error control, congestion control, Quality of Service (QoS)  Applications: FTP, WEB, X windows,...

Ion Stoica, Fall Types of Networks  Geographical distance -Local Area Networks (LAN): Ethernet, Token ring, FDDI -Metropolitan Area Networks (MAN): DQDB, SMDS -Wide Area Networks (WAN): X.25, ATM, frame relay -caveat: LAN, MAN, WAN may mean different things service, network technology, networks  Information type -data networks vs. telecommunication networks  Application type -special purpose networks: airline reservation network, banking network, credit card network, telephony -general purpose network: Internet

Ion Stoica, Fall Types of Networks  Right to use -private: enterprise networks -public: telephony network, Internet  Ownership of protocols -proprietary: SNA -open: IP  Technologies -terrestrial vs. satellite -wired vs. wireless  Protocols -IP, AppleTalk, SNA

Ion Stoica, Fall The Internet  Global scale, general purpose, heterogeneous- technologies, public, computer network  Internet Protocol -open standard: Internet Engineering Task Force (IETF) as standard body ( ) -technical basis for other types of networks Intranet: enterprise IP network  Developed by the research community

Ion Stoica, Fall History of the Internet  70’s: started as a research project, 56 kbps, < 100 computers  80-83: ARPANET and MILNET split,  85-86: NSF builds NSFNET as backbone, links 6 Supercomputer centers, 1.5 Mbps, 10,000 computers  87-90: link regional networks, NSI (NASA), ESNet(DOE), DARTnet, TWBNet (DARPA), 100,000 computers  90-92: NSFNET moves to 45 Mbps, 16 mid-level networks  94: NSF backbone dismantled, multiple private backbones  Today: backbones run at 2.4 Gbps, 10s millions computers in 150 countries

Ion Stoica, Fall Growth of the Internet  Number of Hosts on the Internet: Aug Oct ,024 Dec ,174 Oct ,000 Oct ,056,000 Apr ,706,000 Jul ,540,000 Jul ,249,900 Jul ,288,000 Data available at:

Ion Stoica, Fall Recent Growth ( )

Ion Stoica, Fall Services Provided by the Internet  Shared access to computing resources -telnet (1970’s)  Shared access to data/files -FTP, NFS, AFS (1980’s)  Communication medium over which people interact - (1980’s), on-line chat rooms, instant messaging (1990’s) -audio, video (1990’s) replacing telephone network?  A medium for information dissemination -USENET (1980’s) -WWW (1990’s) replacing newspaper, magazine? -audio, video (1990’s) replacing radio, CD, TV?

Ion Stoica, Fall Today’s Vision  Everything is digital: voice, video, music, pictures, live events  Everything is on-line: bank statement, medical record, books, airline schedule, weather, highway traffic, toaster, refrigerator …  Everyone is connected: doctor, teacher, broker, mother, son, friends, enemies

Ion Stoica, Fall What is Next?  Electronic commerce -virtual enterprise  Internet entertainment -interactive sitcom  World as a small village -community organized according to interests -enhanced understanding among diverse groups  Electronic democracy -little people can voice their opinions to the whole world -little people can coordinate their actions -bridge the gap between information haves and have no’s  Electronic terrorism -hacker can bring the whole world to its knee

Ion Stoica, Fall Industrial Players  Telephone companies -own long-haul and access communication links, customers  Cable companies -own access links  Wireless/Satellite companies -alternative communication links  Utility companies: power, water, railway -own right of way to lay down more wires  Medium companies -own content  Internet Service Providers  Equipment companies -switches/routers, chips, optics, computers  Software companies

Ion Stoica, Fall Commercial Internet after 1994 NSF Network Regional ISP America On Line IBM Bartnet Campus Network Joe's Company Stanford Xerox Parc Berkeley NSF Network Internet MCI UUnet SprintNet Modem IBM

Ion Stoica, Fall Backbone ISP Internet Physical Infrastructure  Residential Access -Modem -DSL -Cable modem -Satellite  Enterprise/ISP access, Backbone transmission -T1/T3, DS-1 DS-3 -OC-3, OC-12 -ATM vs. SONET, vs. WDM  Campus network -Ethernet, ATM  Internet Service Providers -access, regional, backbone -Point of Presence (POP) -Network Access Point (NAP)

Ion Stoica, Fall

Ion Stoica, Fall

Ion Stoica, Fall

Ion Stoica, Fall Overview  Administrative trivia  Overview and history of the Internet  A Taxonomy of Communication Networks  Router Architecture in Packet-Switching Networks

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

Ion Stoica, Fall  Broadcast communication networks -information transmitted by any node is received by every other node in the network examples: usually in LANs (Ethernet, Wavelan) -Problem: coordinate the access of all nodes to the shared communication medium (Multiple Access Problem)  Switched communication networks -information is transmitted to a sub-set of designated nodes examples: WANs (Telephony Network, Internet) -Problem: how to forward information to intended node(s) this is done by special nodes (e.g., routers, switches) running routing protocols Broadcast vs. Switched Communication Networks

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

Ion Stoica, Fall Circuit Switching  Three phases 1.circuit establishment 2.data transfer 3.circuit termination  If circuit not available: “Busy signal”  Examples -Telephone networks -ISDN (Integrated Services Digital Networks)

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

Ion Stoica, Fall Circuit Switching  A node (switch) in a circuit switching network incoming linksoutgoing links Node

Ion Stoica, Fall Circuit Switching: Multiplexing/Demultiplexing  Time divided in frames and frames divided in slots  Relative slot position inside a frame determines which conversation the data belongs to -e.g., slot 0 belongs to red conversation  Needs synchronization between sender and receiver  In case of non-permanent conversations -needs to dynamic bind a slot to a conservation -how to do this?  If a conversation does not use its circuit the capacity is lost! Frames Slots =

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

Ion Stoica, Fall Packet Switching  Data are sent as formatted bit-sequences, so-called packets.  Packets have the following structure: Header and Trailer carry control information (e.g., destination address, check sum)  Each packet is passed through 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 HeaderData Trailer

Ion Stoica, Fall Packet Switching  A node in a packet switching network incoming linksoutgoing links Node Memory

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

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

Ion Stoica, Fall 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

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

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

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

Ion Stoica, Fall 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

Ion Stoica, Fall Virtual-Circuit Packet Switching  Communication with virtual circuits takes place in three phases 1.VC establishment 2.data transfer 3.VC disconnect  Note: packet headers don’t need to contain the full destination address of the packet

Ion Stoica, Fall Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Timing of Datagram Packet Switching Packet 1 Packet 2 Packet 3 Host 1Host 2 Node 1Node 2 propagation delay between Host 1 and Node 1 VC establishment VC termination Data transfer

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

Ion Stoica, Fall Packet-Switching vs. Circuit-Switching  Most important advantage of packet-switching over circuit switching: Ability to exploit 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 needs to deal with 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

Ion Stoica, Fall Overview  Administrative trivia  Overview and history of the Internet  A Taxonomy of Communication Networks  Router Architecture in Packet-Switching Networks

Ion Stoica, Fall Router Architecture in Packet Switching Networks  Set of input and output interfaces interconnected by a high speed fabric input interfaceoutput interface fabric

Ion Stoica, Fall Data and Control Paths  Data Path: all operations performed by a router on a packet as the packet propagates to its destination -forwarding, buffer management, scheduling  Control Path: all operation required to set and maintain state in a router – state required to process packets on the data path -routing protocols, signaling

Ion Stoica, Fall Typical Functions Performed by Input Interface on Data Path  Packet forwarding: decide to which output interface to forward each packet based on the information in packet header xxx xxx.xxx2 ……

Ion Stoica, Fall Typical Functions Performed by Output Interface  Buffer management: decide when and which packet to drop  Scheduler: decide when and which packet to transmit 1 2 Scheduler Buffer

Ion Stoica, Fall Typical Functions Performed by Output Interface  Packet classification: map each packet to a predefined flow -use to implement more sophisticated services (e.g., QoS)  Flow: a subset of packets between any two endpoints in the network 1 2 Scheduler flow 1 flow 2 flow n Classifier Buffer management

Ion Stoica, Fall Control Path  Routing protocol: compute and set up routing tables  Signaling protocol: set-up reservations and flow state along the path to achieve better services (e.g., delay and bandwidth guarantees)

Ion Stoica, Fall Summary  Course administrative trivia  Internet history and trivia  Rest of the course a lot more technical and (hopefully) exciting

Ion Stoica, Fall Links for Long Haul Transmission  Types of links -T1/DS1: Mbps -T3/DS3: Mbps -STS-1/OC-1: Mbps -STS-3/OC-3: Mbps -STS-12/OC-12: Mbps -STS-48/OC-48: Gbps -STS-192/OC-192: Gbps  Higher levels of services offered commercially -Frame Relay -ATM  Possibilities -IP over SONET -IP over ATM -IP over Frame Relay -IP over WDM