15-441 Computer Networking Lecture 1 – Introduction 1.

Slides:



Advertisements
Similar presentations
COS 461 Fall 1997 Networks and Protocols u networks and protocols –definitions –motivation –history u protocol hierarchy –reasons for layering –quick tour.
Advertisements

Intro (continued) and Design Principles Nick Feamster CS 3251: Computer Networking I Spring 2013.
1 Lecture 1 Introduction Dejian Ye Software School Fudan University Networking, Spring 2012.
Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
ECE 355 Introduction to Computer Networks and Data Communications
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.
CS 268: Computer Networking L-1 Intro to Computer Networks.
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
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.
Review on Networking Technologies Linda Wu (CMPT )
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Lect-1: IntroductionComputer Networks : An Introduction to Computer Networks Handout #1: Introduction Additional Reading Text book: Chaps.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
ECS152BXin Liu 1 ECS 152B Computer Networks Fall 2003 Prof. Xin Liu
15-744: Computer Networking L-1 Intro to Computer Networks.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
Data Communications and Networking
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 1 Introduction.
1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 1 Introduction
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.
Communications Recap Duncan Smeed. Introduction 1-2 Chapter 1: Introduction Our goal: get “feel” and terminology more depth, detail later in course.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Networked Systems Practicum Lecture 1 – Introduction 1.
Lecture 8 Page 1 Advanced Network Security Review of Networking Basics: Internet Architecture, Routing, and Naming Advanced Network Security Peter Reiher.
Protocols and the TCP/IP Suite
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.
CSx760 Computer Networks1 Introduction to Network Protocols Kang Li.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Computer Networking. 2 Outline 3 Objectives Understand the state-of-the-art in network protocols, architectures and applications Understand how networking.
1 Goals and Objectives Understand state-of-the-art in network protocols, architectures, and applications Process of networking research Constraints and.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 2: Overview of Computer Network.
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.
Lecture91 Administrative Things r Return homework # 1 r Review some problems in homework # 1 r Questions about grading? Yona r WebCT for CSE245 is working!
Ch 1. Computer Networks and the Internet Myungchul Kim
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
1 Computer Networks Lecture 1 Introduction Rabie A. Ramadan, PhD.
L-1 Introduction 1. Today's Lecture Administrivia Example topics 2.
Lecture 6 Page 1 Advanced Network Security Review of Networking Basics Advanced Network Security Peter Reiher August, 2014.
Computer Networking Lecture 1 – Introduction.
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
1 CNT 4704 Analysis of Computer Communication Networks Cliff Zou Department of Electrical Engineering and Computer Science University of Central Florida.
1 Lecture 1 Introduction David Andersen School of Computer Science Carnegie Mellon University Networking, Spring 2005
15-744: Computer Networking L-1 Intro to Computer Networks.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
CS 268: Computer Networking L-1 Intro to Computer Networks.
1 Lecture 1 Introduction David Andersen School of Computer Science Carnegie Mellon University Computer Networks
1 Lecture 1 Introduction Hui Zhang School of Computer Science Carnegie Mellon University Networking, Fall 2007
Computer Science, FSU1 CNT5505 DATA/COMUTER COMMUNICATIONS Fall 2010.
Computer Networking Lecture 1 – Introduction.
Transport Protocols.
ECE 374: Computer Networks & Internet Introduction Spring 2015 Prof. Michael Zink.
1 CNT 4704 Analysis of Computer Communication Networks Cliff Zou Department of Electrical Engineering and Computer Science University of Central Florida.
ECE 374: Computer Networks & Internet Introduction Spring 2012 Prof. Michael Zink.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
CS4470 Computer Networking Protocols
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
15-744: Computer Networking
CS 640: Introduction to Computer Networks
ECE 4450:427/527 - Computer Networks Spring 2017
Computer Science 457 Networking and the Internet
15-744: Computer Networking
Intro to Computer Networks
Presentation transcript:

Computer Networking Lecture 1 – Introduction 1

Today’s Lecture Administrivia Whirlwind tour of networking 2

Instructors Instructors. Srini Seshan Gates Hall Seth Goldstein Gates Hall Teaching assistants. Kaushik Lakshminarayanan Rui Meireles Dae Gun Won  course Please use this instead of ing just one of us! 3

Course Goals Become familiar with the principles and practice of data networking Routing, transport protocols, naming,... Learn how to write applications that use the network An IRC server A peer-to-peer file transfer program Get some understanding about network internals in a hands-on way You’ll implement a routing protocol for your IRC server TCP-style congestion control 4

Course Format ~30 lectures Cover the “principles and practice” Complete readings before lecture 4 homework assignments “Paper”: Do you understand and can you apply the material? “Lab”: Illustrate networking concepts Loosely tied to lecture materials Teach networking concepts/tools 3 programming projects How to use and build networks / networked applications Application-layer programming; include key ideas from kernel Larger, open-ended group projects. Start early! Midterm and final Covers each of the above 3 parts of class 5

Recitation Sections Key 441 objective: system programming Different from what you’ve done before! Low level ( C ) Often designed to run indefinitely. Handle all errors! Must be secure Interfaces specified by documented protocols Concurrency involved (inter and intra-machine) Must have good test methods Recitations address this “A system hackers’ view of software engineering” Practical techniques designed to save you time & pain! 6

Sounds Great! How Do I Get In? Currently 76 people are enrolled, and 33 people are on the waiting list. If you do not plan to take the course, please drop it ASAP so somebody else can take your place! We give preference to: 1.Students attending class (sign in sheet) 7

Administrative Stuff Watch the course web page Handouts, readings,.. Read bboards academic.cs [.announce] for official announcements cyrus.academic.cs discuss for questions/answers Office hours posted on web page By appointment this week Course secretary Angela Miller, Gates

Grading Roughly equal weight in projects and testing 45% for Project I, II and III 15% for Project II 15% for Midterm exam 25% for Final exam 15% for Homework You MUST demonstrate competence in both projects and tests to pass the course Fail either and you fail the class! 9

Policy on Collaboration Working together is important Discuss course material in general terms Work together on program debugging,.. Final submission must be your own work Homeworks, midterm, final Projects: Solo (P1) + Teams of two (P2,P3) Collaboration, group project skills Both students should understand the entire project Web page has details Things we don’t want to have to say: We run projects through several cheat-checkers against all previously and concurrently handed in versions… 10

Late Work and Regrading Late work will receive a 15% penalty/day No assignment can be more than 2 days late No penalty for a limited number of handins - see web page Only exception is documented illness and family emergencies Requests for regrading must be submitted in writing to course secretary within 2 weeks. Regrading will be done by original grader No assignments with a “short fuse” Homeworks: ~1-2 weeks Projects: ~5 weeks Start on time! Every year some students discover that a 5 week project cannot be completed in a week 11

This Week Intro – what’s this all about? Protocol stacks and layering Recitations start this week: Socket programming (213 review++) On to the good stuff…Whirlwind tour of networking Course outline: Low-level (physical, link, circuits, etc.) Internet core concepts (addressing, routing, DNS) Advanced topics 12

What is the Objective of Networking? Enable communication between applications on different computers Web (Lecture 22) Peer to Peer (Lecture 23) Audio/Video (Lecture 20) Funky research stuff (Lecture 27) Must understand application needs/demands (Lecture 3) Traffic data rate Traffic pattern (bursty or constant bit rate) Traffic target (multipoint or single destination, mobile or fixed) Delay sensitivity Loss sensitivity 13

What Is a Network? Collection of nodes and links that connect them This is vague. Why? Consider different networks: Internet Andrew Telephone Your house Others – sensor nets, cell phones, … Class focuses on Internet, but explores important common issues and challenges 14

How to Draw a Network NodeLinkNode 15

Basic Building Block: Links Electrical questions Voltage, frequency, … Wired or wireless? Link-layer issues: How to send data? When to talk – can either side talk at once? What to say – low-level format? Lecture 5 Okay… what about more nodes? NodeLinkNode 16

Basic Building Block: Links … But what if we want more hosts? (Lectures 6 & 7) Scalability?! One wire Wires for everybody! 17

Local Area Networks (LANs) Benefits of being “local”: Lower cost Short distance = faster links, low latency Efficiency less pressing One management domain More homogenous Examples: Ethernet (Lecture 6) Token ring, FDDI wireless (Lecture 25) 18

Multiplexing Need to share network resources How? Switched network Party “A” gets resources sometimes Party “B” gets them sometimes Interior nodes act as “Switches” What mechanisms to share resources? 19

Back in the Old Days… 20

Circuit Switching Source first establishes a connection (circuit) to the destination Each switch along the way stores info about connection (and possibly allocates resources) Source sends the data over the circuit No need to include the destination address with the data since the switches know the path The connection is explicitly torn down Example: telephone network (analog) 21

Circuit Switching Discussion Circuits have some very attractive properties. Fast and simple data transfer, once the circuit has been established Predictable performance since the circuit provides isolation from other users E.g. guaranteed bandwidth But it also has some shortcomings. How about bursty traffic circuit will be idle for significant periods of time How about users with different bandwidth needs do they have to use multiple circuits Alternative: packet switching. 22

Packet Switching (our emphasis) Source sends information as self-contained packets that have an address. Source may have to break up single message in multiple Each packet travels independently to the destination host. Switches use the address in the packet to determine how to forward the packets Store and forward Analogy: a letter in surface mail. 23

Packet Switching – Statistical Multiplexing Switches arbitrate between inputs Can send from any input that’s ready Links never idle when traffic to send (Efficiency!) Packets 24

Packet Switching Discussion Efficient Can send from any input that is ready General Multiple types of applications Accommodates bursty traffic Addition of queues Store and forward Packets are self contained units Can use alternate paths – reordering Contention (i.e. no isolation) Congestion Delay 25

Networks Juggle Many Goals Efficiency – resource use; cost The “ilities”: Evolvability Managability Security (securability, if you must) Ease of: Creation Deployment Creating useful applications Scalability 26

Challenges for Networks Geographic scope The Internet vs. Andrew Scale The Internet vs. your home network Application types vs. video conferencing Trust and Administration Corporate network – one network “provider” Internet – 17,000 network providers 27

Internet An inter-net: a network of networks. Networks are connected using routers that support communication in a hierarchical fashion Often need other special devices at the boundaries for security, accounting,.. The Internet: the interconnected set of networks of the Internet Service Providers (ISPs) About 17,000 different networks make up the Internet 28 Internet

Challenges of the Internet Heterogeneity Address formats Performance – bandwidth/latency Packet size Loss rate/pattern/handling Routing Diverse network technologies  satellite links, cellular links, carrier pigeons 29

Challenges of the Internet Scale 100,000,000s of hosts 18,000+ administrative domains, Thousands of applications Adversarial environment Oh, and let’s make it easy to use… How to translate between various network technologies? 30

Internet Design In order to inter-operate, all participating networks have to follow a common set of rules E.g., requirements for packets: Header information: Addresses, etc. (Lecture 9) Data. What is packet size limit? (Lectures 5—9) 31

Internet Computer 1Computer 2 Need naming and routing Lectures 8-13 How To Find Nodes? 32

Naming What’s the IP address for It is Translates human readable names to logical endpoints Local DNS ServerComputer 1 33

Routing R R R R R H H H H R R H R Routers send packet towards destination H: Hosts R: Routers 34

Network Service Model What is the service model? Ethernet/Internet: best-effort – packets can get lost, etc. What if you want more? Performance guarantees (QoS) Reliability Corruption Lost packets Flow and congestion control Fragmentation In-order delivery Etc… 35

What if the Data gets Corrupted? Internet GET inrex.htmlGET index.html Solution: Add a checksum Problem: Data Corruption 0,996,7,8214,571,2,36 X 36

What if Network is Overloaded? Problem: Network Overload Short bursts: buffer What if buffer overflows? Packets dropped Sender adjusts rate until load = resources  “congestion control” Solution: Buffering and Congestion Control 37

What if the Data gets Lost? Internet GET index.html Problem: Lost Data Internet GET index.html Solution: Timeout and Retransmit GET index.html 38

Problem: Packet size Solution: Fragment data across packets What if the Data Doesn’t Fit? On Ethernet, max IP packet is 1.5kbytes Typical web page is 10kbytes GETindex.html GET index.html 39

Solution: Add Sequence Numbers Problem: Out of Order What if the Data is Out of Order? GETx.htindeml GET x.htindeml GET index.html ml4inde2x.ht3GET1 40

Networks [including end points] Implement Many Functions Link Multiplexing Routing Addressing/naming (locating peers) Reliability Flow control Fragmentation Etc…. 41

Meeting Application Demands Sometimes interior of the network can do it E.g., Quality of Service Benefits of circuit switching in packet-switched net Hard in the Internet, easy in restricted contexts Lecture 21 OR hosts can do it E.g., end-to-end Transport protocols TCP performs end-to-end retransmission of lost packets to give the illusion of a reliable underlying network. Lectures

Next Lecture How to determine split of functionality Across protocol layers Across network nodes Read two papers on the motivations for the Internet architecture: “The design philosophy of the DARPA Internet Protocols”, Dave Clark, SIGCOMM 88 “End-to-end arguments in system design”, Saltzer, Reed, and Clark, ACM Transactions on Computer Systems, November