Cs/ee 143 Communication Networks Steven Low CMS, EE, Caltech Fall 2012.

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

IP-Internet Protocol Addresses. Computer Engineering Department 2 Addresses for the Virtual Internet The goal of internetworking is to provide a seamless.
1 EL736 Communications Networks II: Design and Algorithms Class1: Introduction Yong Liu 09/05/2007.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Logically-Centralized Control COS 597E: Software Defined Networking.
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
1 Introduction to Network Layer Lesson 09 NETS2150/2850 School of Information Technologies.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
Cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
Cs/ee 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
Introduction 2 1: Introduction.
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
Chapter 18 Introduction to Network Layer 18.# 1
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Questions What is Full form Of TCP/IP
Jaringan Komputer Lanjut Packet Switching Network.
CS 381 Introduction to computer networks Lecture 2 1/29/2015.
EEC-484/584 Computer Networks Lecture 3 Wenbing Zhao
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
TCP/IP Lecture Extra. TCP/IP Developed by DARPA (Defense Advanced Research Projects) TCP is a connection-oriented transport protocol that sends data as.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 13 Introduction to Networks and the Internet.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 13.
Network Layer IS250 Spring 2010
Cs/ee 143 Communication Networks Chapter 3 Ethernet Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
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.
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Introduction 1-1 Chapter 1 Part 2 Network Core These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
CS 381 Final Exam Study Guide Final Exam Date: Tuesday, May 12 th Time: 10:30am -12:30pm Room: SB 105 Exam aid: 8 ½ x 11 page of notes front and back.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Ch 1. Computer Networks and the Internet Myungchul Kim
CS 453 Computer Networks Lecture 18 Introduction to Layer 3 Network Layer.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Data Communications and Networks Chapter 7 – IP Addressing ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 2 Omar Meqdadi Department of Computer Science and Software Engineering.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
Prepaid by: Guided by: ashwin goswami.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
A Taxonomy of Communication Networks
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
Network Layer Goals: Overview:
CS4470 Computer Networking Protocols
Network Core and QoS.
ECE453 – Introduction to Computer Networks
Network Layer I have learned from life no matter how far you go
cs/ee/ids 143 Communication Networks
Networking CS 3470 Sarah Diesburg
EE 122: Lecture 7 Ion Stoica September 18, 2001.
COS 461: Computer Networks
Networking CS 3470 Sarah Diesburg
Review of Internet Protocols Network Layer
Network Core and QoS.
Presentation transcript:

cs/ee 143 Communication Networks Steven Low CMS, EE, Caltech Fall 2012

Warning These notes are not self-contained, probably not understandable, unless you also were in the lecture They are supplement to not replacement for class attendance

Internet applications (2006) Telephony Music TV & home theatre Cloud computing Finding your way Mail Games Library at your finger tip Social networking

Networking: 143, 144, 145  cs/ee 143 Communication Networks How to send information from A to B  cs/ee 144 Ideas Behind the Web How web technologies work  cs/ee 145 Projects in Networking Advanced project – propose your own topic Understanding both theory and practice of networks

Networking: 143, 144, : transport layer and down 144: transport layer and up 145: project course 143/144/145 forms a project sequence for CS major Another RSRG sequence: cs141abc

143: Communication Networks

144: Ideas behind the web a.k.a. What makes google tick? Unique course that you can’t find at any other school The course will be a series of important topics from the web. For each, we will learn -The theory behind the topic -Hands-on design, system building

CS 141a - Distributed Computation LaboratoryCourse Introduction October Classes You are expected to attend class. Goal is learning with minimal lecturing. Ideally, classes consist of discussions, students solving problems together. You are expected to use the material outside class; the class is interactive. Turn off anything with an on/off switch. Interact! Talk! Source: Mani Chandy

Alumni Recommendation The Caltech experience should give engineers skills in: Communication Writing scientific papers, proposals, plans Speaking to science, government, business audiences Working in teams Project planning and management Division of labor; leadership Larger, global view of the world Source: Mani Chandy

RSRG courses and research RSRG courses 1. Learn by doing 1. Emphasis on creativity, problem-solving, research 2. Integrating courses, SURF, internships, theses, research opportunities in multiyear programs 3. Close interaction with faculty in and out of class 4. Interactive classes: “The lecture is dead.” Source: Mani Chandy

Course website

cs/ee 143 Communication Networks Chapter 1 The Internet Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech

Hosts, routers, links IP addresses, domain name Packet, header/trailer

Basic mechanisms Packet switching No dedicated resources Packets may follow different paths Packets may be lost, error, out-of-order Addressing Globally unique IP address Domain name Mapping from DN to IP may change dynamically (DNS)

Basic mechanisms Routing Destination based Routing decision may adapt to network condition, e.g., failure Error & loss recovery Retransmission of lost or erroneous pkt Typically done end-to-end Flow & congestion control End-to-end Implicit feedback class project focus

Router

CIDR notation Example (IPv4) /24 = { – } = subnet mask /22 = { – } = { – } subnet mask: prefix = first 24 bits #addresses = = 2 8 #addresses = = 2 10 CIDR = classless inter-domain routing

CIDR notation

CIDR notation / /1

CIDR notation / / / /3 Address blocks may be nested ! e.g /1 contains /3

Forwarding decision Destination IPOutput link / / Packet’s destination IP Output link ? entry 1: entry 2: destination:

Forwarding decision / / / / /22 output link 2output link 1

Forwarding decision / / /24 Packet dest: output link 2output link 1

Longest prefix matching Destination IPOutput link / / Packet’s destination IP Output link 1 It matches more with the first address block entry 1: entry 2: destination:

Longest prefix matching Destination IPOutput link / / Packet’s destination IP Output link 2 It matches more with the second address block entry 1: entry 2: destination:

Longest prefix matching Destination IPOutput link / / / Packet’s destination IP Output link entry 1: entry 2: entry 3: destination: Even though it matches both entries 2 and 3, entry 2 has a longer prefix entry 3 “contains” entry 2

Longest prefix matching / / / /22 Subnets in routing tables may not be disjoint! Route to most specific address block

How to construct routing table Destination IPOutput link / / How do we make routing decisions? (Dijkstra, Bellman-Ford, BGP,... Ch 5 Routing)

cs/ee 143 Communication Networks Chapter 2 Principles Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech

Principles  Sharing  Metrics  Scalability  Layering Application & technology independence  Application topology

Sharing Packet switching, statistical multiplexing  Queueing analysis cf circuit switching in traditional telephone network

Sharing Packet switchingCircuit switching InternetTraditional telephone nk No dedicated resourcesDedicated resources No circuit setup/tear downCircuit setup/tear down Queueing delayNo queueing delay Loose performance guarantee Stricter performance guarantee More efficient for bursty (data) traffic Better for fixed rate traffic

Metrics Link rate (bps) DSL e.g. 768kbps down, 256kbps up Link bandwidth (Hz) Size of frequency band FM radio, wireless spectra,... If link can transmit over [300Hz, 1MHz], its bandwidth is ~1MHz Link capacity (bps) Maximum link rate possible

Metrics  Link capacity example SNR = 2 20 W = 1MHz C = 10 6 log 2 ( ) bit/s = 20 Mbps link “rate” is often called link “bandwidth” in networking literature

Metrics Throughput (bps) Bit rate actually achieved Example  MP3 file of 3MB transferred in 2 mins  Throughput = 3MB / 2mins = 200 kbps Generally less than link rate because of transmission and protocol overheads throughput <= link rate <= link capacity information theory communication, coding theories networking, protocol design

Window Flow Control  ~ W packets per RTT  Lost packet detected by missing ACK RTT time Source Destination 12W12W12W data ACKs 12W

Metrics  Delay and delay jitter (s) Some applications care more about throughput, some about delay, some about delay jitter  M/M/1 queue  Little’s law

Little’s law

Queueing system random arrival process with rate random service time with average  Little’s law  Verifies directly for M/M/1, but holds much more generally  Extremely useful because of its generality

Queueing system random arrival process with rate random service time with average

M/M/1 queue Poisson arrival process with rate Exponential service time with average

Scalability Location-based addressing Example: IP is location based Ethernet is not Advantages  Reduce routing table size  Simpler routing operation Disadvantages  Makes mobility hard  Makes security hard

Scalability Hierarchical Two level Autonomous system  Same administrative and/or economic domain  Shortest path routing: OSPF, IS-IS Inter-domain  BGP Both simplify routing

Scalability Best effort service Simple TCP/IP layer End-to-end principle Simple network, intelligent hosts Stateless routers  Packet carries its own state Both simplify router  fast big inexpensive routers Latest (~decade) idea: software defined networking (SDN)

Scalability Hierarchical naming Easier on human DNS translation Layering Application & technology independence Application topology Client/server CDN P2P Cloud computing Social networking