ECSE-4670: Computer Communication Networks (CCN)

Slides:



Advertisements
Similar presentations
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Advertisements

Introduction 2 1: Introduction.
Dr. Philip Cannata 1 Computer Networking. Dr. Philip Cannata 2.
Summer Workshop on Cyber Security Computer Networks Security (Part 1) Dr. Hamed Mohsenian-Rad University of California at Riverside and Texas Tech University.
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocols ECSE:6600 Shivkumar.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961 Internet Protocols Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 2 Introduction to Networks and the Internet.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
Introduction to Networks and the Internet
Shivkumar KalyanaramanRensselaer Q1-1 ECSE-6600: Internet Protocols Quiz 1 Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocols ECSE:6961 Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Lecture 3 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.
Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar 1 ECSE-4670: Computer Communication Networks (CCN) Introduction Shivkumar KalyanaramanBiplab.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 1 (Solutions) Shivkumar Kalyanaraman:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Quiz 1 SOLUTIONS Time: 60 min (strictly enforced) Points: 50 YOUR.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 00-1 ECSE-4730: Computer Communications Networks (CCN): Introduction Shivkumar Kalyanaraman Rensselaer.
What’s the Internet: “nuts and bolts” view
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
1 Week 2 Lecture 1 Layers (basics) Dr. Fei Hu. Review last lecture 2.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
ECE 4400:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 3: Network Architectures Dr. Nghi.
1 Next Few Classes Networking basics Protection & Security.
1 Networking Fundamentals S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Chapter 1 Introduction Circuit/Packet Switching Protocols Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley,
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
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.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocols ECSE Or
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Reference model. Goal: 2 message exchange between application processes.
CS 3830 Day 4 Introduction 1-1. Announcements  No office hour 12pm-1pm today only  Quiz on Friday  Program 1 due on Friday (put in DropBox on S drive)
Network Systems Design Dr Ali El-Mousa University of Jordan
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,
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocols ECSE Or
Building A Network: Cost Effective Resource Sharing
Introduction and Overview of Network and Telecommunications.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Introduction and Overview of Network and Telecommunications (contd.)
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Computer Networks Dr. Adil Yousif CS Lecture 1.
Introduction and Overview of Network and Telecommunications
Lecture (2).
Graciela Perera Introduction Graciela Perera
Introduction to Networks
Part 0: Networking Review
Administrative Things
Slides taken from: Computer Networking by Kurose and Ross
Chapter 1: Introduction
OSI Protocol Stack Given the post man exemple.
Introduction and Overview of Network and Telecommunications (contd.)
Understand the OSI Model Part 2
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
ECE 4400:427/527 - Computer Networks Spring 2017
ECE 4450:427/527 - Computer Networks Spring 2017
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Network Core and QoS.
TCP/IP Protocol Suite: Review
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Building A Network: Cost Effective Resource Sharing
ECSE-4670: Computer Communication Networks (CCN)
ECSE-4670: Computer Communication Networks (CCN)
Protocol “Layers” Question: Networks are complex! many “pieces”: hosts
Network Core and QoS.
Presentation transcript:

ECSE-4670: Computer Communication Networks (CCN) Introduction Shivkumar Kalyanaraman Biplab Sikdar shivkuma@ecse.rpi.edu sikdab@rpi.edu Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Adapted in part from S.Keshav (Cornell), Peterson (Uarizona)

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Overview Syllabus, administratrivia Networking: An Overview of Ideas and Issues Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Who’s Who Instructors: Shiv Kalyanaraman; kalyas ; x8979 Biplab Sikdar; sikdab ; x6664 Course secretary: (on-campus) Jeanne Denue-Grady: JEC 6049 ; x6313 PDE/RSVP Point-of-contact: Kari Lewick; CII 4011; x2347 TAs: G.Liu, H. Yang, Y. Pei (PDE), S. Raghunath (PDE) Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Web Resources WebCT Course Web Site: http://webct.rpi.edu (backup) http://www.ecse.rpi.edu/Homepages/shivkuma/teaching/fall2001/index.html WebCT: bulletin board, video streams, homework drop-box etc Text book Web Site: http://www.awl.com/kurose-ross Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Course Description Highlights Syllabus: Networking layers: application, transport, network, link Issues: application models, multiplexing, reliability, flow/congestion control, error detection/correction, multiple access etc Network Modeling: Elementary probability, queuing theory, analysis of a router queue, network of queues, LAN performance Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Course Description Highlights (Continued) Lectures Informal quizzes: Every two weeks WebCT bulletin board: Post your questions! TAs monitor it daily. WebCT: Grades, papers, RFCs, Internet drafts… 2 Labs: Transport/Network layers {20 pts} 6 Homeworks: {30 pts} 3 exams: 15 pts, 15 pts, 20 pts: {50pts} Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Prerequisites Background in elementary probability Probability for Engineering Applications, ECSE-4500, Discrete structures, CSCI-4320, or Modeling and Analysis of Uncertainity, ENGR-2600 Knowledge of basic computer organization ECSE-2660 Computer Architecture, Networks and Operating Systems or CSCI-2500 Computer Organization C programming knowledge If you do not have the required prerequisites, you must drop the course and take it later (next year). Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Still trying to get into the course ? Do you have the pre-requisites ? Please submit course add form to course secretary: Jeanne, JEC 6049 by tomorrow (Wed, Aug 29th), noon time (12 pm). Depending upon the number of people who drop the class, space available, TA resources available, we will add more students. Decisions to be emailed to you by Jeanne. Make sure you mention your email address to her. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Answers to FAQ All homeworks & labs due at the beginning of the class indicated on the course calendar Up to one late submission: no penalty Beyond that 10% penalty: only if submitted before solutions are posted. Exams are open-book and extremely time limited. Exams consist of design qns, numerical, true-false, and short answer questions. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Answers to FAQ Focus will be on conceptual understanding, and problem-solving skill. Labs are based upon the programming assignments suggested in chap 3 and 4 of the textbook Informal quizzes will be given for your benefit once in 2-3 weeks to recap/test recently covered material and reading assignments. No grading. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Information, Computers, Networks Information: anything that is represented in bits Form (can be represented as bits) vs Substance (cannot be represented as bits) Properties: Infinitely replicable Computers can “manipulate” information Networks create “access” to information Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Networks Potential of networking: move bits everywhere, cheaply, and with desired performance characteristics Break the space barrier for information Network provides “connectivity” Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

What is “Connectivity” ? Direct or indirect access to every other node in the network Connectivity is the magic needed to communicate if you do not have a direct pt-pt physical link. Tradeoff: Performance characteristics worse than true physical link! Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Connectivity. Building Blocks links: coax cable, optical fiber... nodes: general-purpose workstations... Direct connectivity: point-to-point multiple access Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Connectivity.. Indirect Connectivity switched networks => switches inter-networks => routers Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Connectivity … Internet: Best-effort (no performance guarantees) Packet-by-packet A pt-pt physical link: Always-connected Fixed bandwidth Fixed delay Zero-jitter Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Point-to-Point Connectivity Physical layer: coding, modulation etc Link layer needed if the: link is shared between apps (framing, medium access control, multiplexing) link is unreliable (reliability) link is used sporadically and traffic can flood receivers (flow control) No need for protocol concepts like addressing, names, routers, hubs, forwarding, filtering … Point-to-Point Connectivity A B Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Connecting N users: Directly ... Bus: broadcast, collisions, media access control Full mesh: Cost vs simplicity . . . Bus Full mesh Address concept needed if we want the receiver alone to consume the packet! Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

List of Problems (so far) Topologies Framing Error control Flow control Multiple access How to share a wire Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

How to build Scalable Networks? Scaling: system allows the increase of a key parameter. Eg: let N increase… Inefficiency limits scaling … Direct connectivity is inefficient & hence does not scale Mesh: inefficient in terms of # of links Bus architecture: 1 expensive link, N cheap links. Inefficient in bandwidth use Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Filtering, forwarding … Filtering: choose a subset of elements from a set Filtering is the key to efficiency & scaling Forwarding: actually sending packets to a filtered subset of link/node(s) Packet sent to one link/node => efficient Solution: Build nodes which filter/forward and connect indirectly => “switches” & “routers” Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Connecting N users: Indirectly Star: One-hop path to any node, reliability, forwarding function “Switch” S can filter and forward! Switch may forward multiple pkts in parallel for additional efficiency! Star S Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Connecting N users: Indirectly … Ring: Reliability to link failure, near-minimal links All nodes do “forwarding” and “filtering” Ring Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Topologies: Indirect Connectivity Ring Star Tree Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Inter-Networks: Networks of Networks … … Internet = … … Our goal is to design this black box on the right Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Inter-Networks: Networks of Networks Internetworking involves two fundamental problems: heterogeneity and scale Concepts: Translation, overlays, address & name resolution, fragmentation: to handle heterogeneity Hierarchical addressing, routing, naming, address allocation, congestion control: to handle scaling Covered in more detail in "Internet Protocols“ course Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Additions to Problem List Fragmentation Switching, bridging, routing Naming, addressing Congestion control, traffic management Reliability Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar How to do system design ? Eg goal: Design an Inter-network… Resources: Space Time Computation Money Labor Design: tradeoff cheaper resources against expensive ones to meet goals. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Building blocks: Multiplexing Multiplexing = sharing Trades time and space for money Cost: waiting time, buffer space & packet loss Gain: Money => Overall system costs less Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Statistical Multiplexing Reduce resource requirements by exploiting statistical knowledge of the system. Eg: average rate <= service rate <= peak rate If service rate < average rate, then system becomes unstable!! First design to ensure system stability!! Then, for a stable multiplexed system: Gain = peak rate/service rate. Cost: buffering, queuing delays, losses. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Stability of a Multiplexed System Average Input Rate > Average Output Rate => system is unstable! How to ensure stability ? Reserve enough capacity so that demand is less than reserved capacity Dynamically detect overload and adapt either the demand or capacity to resolve overload Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

What’s a performance tradeoff ? A situation where you cannot get something for nothing! Also known as a zero-sum game. R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate Traffic intensity = La/R Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

What’s a performance tradeoff ? La/R ~ 0: average queuing delay small La/R -> 1: delays become large La/R > 1: average delay infinite (service degrades unboundedly => instability)! Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Example Design: Circuit-Switching Circuit-switching: A form of multiplexing Divide link bandwidth into “pieces” Reserve pieces on successive links and tie them together to form a “circuit” Map traffic into the reserved circuits Resources wasted if unused: expensive. Mapping can be done without “headers”. Everything inferred from timing. Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Example Design: Packet-Switching Packet-switching: Another form of multiplexing: Chop up data (not links!) into “packets” Packets: data + meta-data (header) “Switch” packets at intermediate nodes Store-and-forward if bandwidth is not immediately available. Bandwidth division into “pieces” Dedicated allocation Resource reservation Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Packet Switching 10 Mbs Ethernet statistical multiplexing C A 1.5 Mbs B queue of packets waiting for output link 45 Mbs D E Cost: self-descriptive header per-packet, buffering and delays for applications. Need to either reserve resources or dynamically detect/adapt to overload for stability Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Summary of System Design Ideas Multiplexing Statistical Multiplexing Stability and performance tradeoffs Circuit switching Packet switching Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar What are protocols ? Networking software is organized as protocols Eg: Human protocol vs network protocol: Hi TCP connection req. Hi TCP connection reply. Got the time? Get http://www.rpi.edu/index.htm 2:00 <file> time Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Analogy: Organization of air travel ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing Protocols: a series of functions performed at different locations Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Organization of air travel: a different view ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing interface Layers: each layer implements a service via its own internal-layer actions relying on services provided by layer below Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Layered air travel: services Counter-to-counter delivery of person+bags baggage-claim-to-baggage-claim delivery people transfer: loading gate to arrival gate runway-to-runway delivery of plane airplane routing from source to destination Similarly, we organize network protocols into a bunch of layers! Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Distributed implementation of layers ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing Departing airport arriving airport intermediate air traffic sites airplane routing airplane routing airplane routing Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Protocol Implementations Are building blocks of a network architecture Each protocol object has two different interfaces service interface: defines operations on this protocol peer-to-peer interface: defines messages exchanged with peer Li+1 Li+1 service interface Li Li peer interface Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Reference Models for Layering TCP/IP Model TCP/IP Protocols OSI Ref Model Application FTP Telnet HTTP Application Presentation Session Transport Network Datalink Physical Transport TCP UDP Internetwork IP Host to Network Ether net Packet Radio Point-to- Point “Top-down” approach means we will first learn the application layer and then learn about lower layers Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Internet protocol stack application: supporting network applications ftp, smtp, http transport: host-host data transfer tcp, udp network: routing of datagrams from source to destination ip, routing protocols link: data transfer between neighboring network elements ppp, ethernet physical: bits “on the wire” application transport network link physical Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Layering: logical communication data E.g.: transport take data from app add addressing, reliability check info to form “datagram” send datagram to peer wait for peer to ack receipt analogy: post office application transport network link physical transport ack data data transport Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Layering: physical communication data application transport network link physical network link physical application transport network link physical data application transport network link physical application transport network link physical Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Protocol layering and data Each layer takes data from above adds header information to create new data unit (“encapsulation”) passes new data unit to layer below source destination application transport network link physical application transport network link physical M H t n l message M H t n l segment datagram frame Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Design Perspectives Network users: services that their applications need, e.g., guarantee that each message it sends will be delivered without error within a certain amount of time Network designers: cost-effective design e.g., that network resources are efficiently utilized and fairly allocated to different users Network providers: system that is easy to administer and manage e.g., that faults can be easily isolated and it is easy to account for usage Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar

Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar Summary Administratrivia Networks, connectivity, topologies … Pot Pourri of networking concepts and problems to be explored in this course ... Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar