CSE/EE 461 Introduction to Computer Communication Networks. Why Study Networks?

Similar documents
Introduction to Networks

CSE 461: Protocols and Layering. This Lecture. 1. A top-down look at the Internet 2. Mechanics of protocols and layering 3. The OSI/Internet models

Review of Important Networking Concepts TCP/IP

Review of Important Networking Concepts

CSC2209 Computer Networks

416 Distributed Systems. Networks review; Day 1 of 2 Jan 5 + 8, 2018

CSEP 561 Introduction. David Wetherall

CSE/EE 461 Lecture 2. Protocols and Layering. Last Time. This Lecture

TSIN02 - Internetworking

Introduction to TCP/IP networking

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

15-744: Computer Networking. L-1 Intro to Computer Networks

Outline : Computer Networking. Objectives. Who s Who? Administrivia. Layering. L-1 Intro to Computer Networks

TSIN02 - Internetworking

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

ECE4110 Internetwork Programming. Introduction and Overview

Computer Networks. Fall 2012 (M 6:15-9:00 in Jbarry 201B) Mirela Damian.

19: Networking. Networking Hardware. Mark Handley

OSI Transport Layer. objectives

CE 443: Computer Networks

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Communicating over the Network

Lecture 3 Protocol Stacks and Layering

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Acknowledgments. Part One - Introduction to the TCP/IP Protocol

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

TCP/IP Networking Basics

CSCI-GA Operating Systems. Networking. Hubertus Franke

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Chapter 2. Communicating Over The Network

Chapter 12 Network Protocols

TCP/IP THE TCP/IP ARCHITECTURE

The Data Link Layer. 32 PART I Networking Basics

Peer entities. Protocol Layering. Protocols. Example

PROGRAMMING Kyriacou E. Frederick University Cyprus. Network communication examples

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

The Internet Protocol (IP)

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

Need For Protocol Architecture

Chapter 09 Network Protocols

Network Layer (1) Networked Systems 3 Lecture 8

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

Chapter 2 Communicating Over the Network

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

Reti di Calcolatori I

Table of Contents. Computer Networks and the Internet

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Need For Protocol Architecture

Assignment - 1 Chap. 1 Wired LAN s

Lecture-4. TCP/IP-Overview:

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

TSIN02 - Internetworking

Internet Protocol, Version 6

Data Communications and Networks Spring Syllabus and Reading Assignments

Networking Fundamentals

Hands-On Network Security: Practical Tools & Methods

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Operating Systems and. Computer Networks. Introduction to Computer Networks. Operating Systems and

Lecture 2: Internet Architecture

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Cisco Cisco Certified Network Associate (CCNA)

ECE 158A: Lecture 7. Fall 2015

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Sirindhorn International Institute of Technology Thammasat University

SYED AMMAL ENGINEERING COLLEGE

Verteilte Systeme (Distributed Systems)

Interconnecting Networks with TCP/IP

Stream Control Transmission Protocol - Wikipedia, the free encyclopedia

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University

ETSF10 Internet Protocols Transport Layer Protocols

Networking and Internetworking 1

Computer Networks (Unit wise Questions)

On Inter-layer Assumptions

Networking and Internetworking 1

Chapter 2 Network Models 2.1

Applied Networks & Security

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

TCP/IP Protocol Suite and IP Addressing

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Lecture 3: Packet Forwarding

Common Protocols. The grand finale. Telephone network protocols. Traditional digital transmission

EECS 228a Lecture 1 Overview: Networks. Jean Walrand

NETWORKING KEITH W. ROSS. Polytechnic Institute of NYU. Addison-Wesley

ENEE 457: Computer Systems Security 11/07/16. Lecture 18 Computer Networking Basics

TDTS21 Advanced Networking

Lecture 1: Introduction

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Copyleft 2005, Binnur Kurt. Objectives

Network Layer: Internet Protocol

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Midterm Review. EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007

Mainframe Networking 101 Share Session 15422

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

Transcription:

CSE/EE 461 Introduction to Computer Communication Networks Tom Anderson Janet Davis, Sushant Jain, Eric Lemar Why Study Networks? Large scale system design How do you get 100M+ hosts across tens of thousands of organizations all working together? History lesson: intuition doesn t scale Layers of Abstraction Network protocols as wizard, turning photons into the web How things really work Look under the hood of the Internet

A Definition Protocol: agreement between two or more parties as to how information is to be exchanged Problems in network protocol design: No shared state! Component failures Self-interested parties Migration path for introducing new protocols Proliferation of protocols/division of labor Some Example Protocols ADSL, ISDN, DS-3, SONET, Frame Relay, PPP, BISYNC, HDLC, SLIP, Ethernet, 10Base-T, 100Base-T, CRC, 802.5, FDDI, 802.11, ATM, AAL5, X.25, IPv4, IPv6, TTL, DHCP, ICMP, OSPF, RIP, IS-IS, BGP, S-BGP, CIDR, TCP, SACK, UDP, RDP, DNS, RED, DECbit, SunRPC, DCE, XDR, JPEG, MPEG, MP3, BOOTP, ARP, RARP, IGMP, CBT, MOSPF, DVMRP, PIM, RTP, RTCP, RSVP, COPS, DiffServ, IntServ, DES, PGP, Kerberos, MD5, IPsec, SSL, SSH, telnet, HTTP, HTTPS, HTML, FTP, TFTP, UUCP, X.400, SMTP, POP, MIME, NFS, AFS, SNMP,

Layering and Protocol Stacks Layering is how we combine protocols Higher level protocols build on services provided by lower levels Peer layers communicate with each other Layer N+1 e.g., HTTP Layer N e.g., TCP Home PC Netscape Example Layering at work host TCP router host TCP IP IP IP IP Ethernet Ethernet CATV CATV We can connect different systems

Layering Mechanics Encapsulation and decapsulation Messages passed between layers Hdr + Data Hdr + Data Layer N+1 PDU becomes Layer N ADU A Packet on the Wire Starts looking like an onion! Ethernet Hdr IP Hdr TCP Hdr HTTP Hdr Payload (Web object) Start of packet End of packet This isn t entirely accurate ignores segmentation and reassembly, Ethernet trailers, etc.

More Layering Mechanics Multiplexing and demultiplexing in a protocol graph SMTP HTTP TCP UDP IP ARP Ethernet TCP port number IP protocol field 802.2 identifier What Functionality Goes Where? End to end principle: Functionality should be implemented at a lower layer iff it can be correctly and completely implemented there

OSI Model: 7 Protocol Layers Physical -- how to transmit bits Data link -- how to transmit frames Network -- how to route packets Transport -- how to send packets reliably Session manage connections Presentation encode/decode msgs, security Application -- everything else! Internet Protocol Model Application Transport Network Link Model Many (HTTP,SMTP) TCP / UDP IP Many (Ethernet, ) Protocols

Course Topics Internet architecture Link layer (Ethernet) Routing (IP) Transport (TCP/UDP) Congestion control Services (DNS) Multicast (Mbone) Real time (DiffServ) Security (Kerberos) End to end principle Efficient signalling Robust interoperability Reliable delivery Resource allocation Distributed state mgt Efficient delivery Multimedia How to write a virus Course Mechanics Lectures Network protocol design, concepts and examples Peterson & Davie, Computer Networks, 2 nd ed. Fishnet programming assignments Build a classwide network Sections will largely focus on fishnet Don t take class if you can t program! Problem sets, midterm and final

Some More Definitions Link carry information (bits) wire or wireless Point to point or broadcast Switch -- move bits between links packet switching: stateless store&forward circuit switching: stateful, cut through Host communication endpoint computer, PDA, toaster,... Network -- delivers messages between hosts over a collection of links and switches Example Local Area Network Ethernet Hub Cable Modem PC Laptop Printer Your home network Ethernet is a broadcast-capable multi-access LAN

Example the Internet ISP 2 ISP 1 Local Net 1 Routers Local Net 2 The Internet is a network of networks Networks deliver packets (& locate nodes) Routers move packets between networks IP is protocol spoken between routers Underlying networks free to use any internal protocol What happens when you click on a Web link? Your computer www.netscape.com? Internet

Different kinds of addresses Domain name (e.g. www.netscape.com) Global, human readable IP Address (e.g. 207.200.73.8) Global, works across all networks Ethernet (e.g. 08-00-2b-18-bc-65) Local, works on a particular network Packet often has all three! Ethernet Hdr IP Hdr TCP Hdr HTTP Hdr HTTP Payload a Start of packet End of packet Finding the right IP address: Domain Naming System (DNS) Your computer (128.95.1.24) What s the IP address for www.netscape.com? Oh, you can find it at 207.200.73.8 Local DNS server (128.95.1.4)

Finding the right Ether address: Address Resolution (ARP) (128.95.1.24) (128.95.1.4) Broadcast: Anyone know the Ethernet address for 128.95.1.4? Ethernet Broadcast: Yeah, I m at 08-00-2b-18-bc-65 Ethernet How does a packet get through the Internet? Routers send packet to next closest point H R H H R R H R R H R R R H: Hosts H R: Routers

How do the routers know where to send data? Forwarding tables at each router First try: manual update Automatic update based on cost exchange tables with neighbors use neighbor with smallest hop count how do we upgrade the routing algorithm? what if router says it has zero cost to everywhere? Have address, now send data? Murphy s Law applies to networks Data can be corrupted Data can get lost Data might not fit in a single packet Data can be delivered in the wrong order etc...

What if the data gets corrupted? GET index.html Internet GET sex.html Solution: Add a checksum IP TCP Data TCP Packet Format 0 15 16 31 source port destination port sequence number acknowledgement number U A P R S F header reserved R C S S Y I window size length G K H T N N 20 bytes TCP checksum urgent pointer options (if any) data (if any) What if the data gets lost? GET index.html Internet Solution: Timeout and retransmit GET index.html wait a bit, retry Internet GET index.html GET index.html

What if the data doesn t fit? On Ethernet, max IP packet is 1.5kbytes Typical web page is 10kbytes Solution: Fragment data across packets ml x.ht inde GET GET index.html What if the data is out of order? ml inde x.th GET Solution: Add sequence numbers GET x.thindeml??? ml 4 inde 2 x.th 3 GET 1 GET index.html

What if network is overloaded? Data can arrive at router faster than it can be forwarded! Short bursts: buffer at router What if buffer overflows? Packets dropped and retransmitted Sender adjusts rate until load = resources Called Congestion control Broadcast network: bus arbitration What if we need the same data again? Have it? Cache No Changed? Here it is. Netscape Caching cuts down on transfers: Check cache (local or proxy) for a copy Check with server for a new version Local DNS server caches too!

What if data has a deadline? Ex: multimedia, teleconferencing Original Internet: out of luck! To provide guarantees, need admission control resource management at routers Ex: Telephone network has busy signals + explicit schedules at each switch How do we add this to the Internet? What if multiple receivers? Send a separate packet to each? what if zillions of receivers? Multicast routers form distribution tree What if data is dropped? Acks would overwhelm sender Naks? if drop is early in the tree -> overwhelm sender!

What if sender is malicious? Every packet has source, destination IP addresses But! Host can put anything in IP header packet may have come from anywhere firewalls to enforce sanity checks ex: source must be from other side of wall ex: only allow reply packets encryption/digital signatures for authentication/privacy Bottom Line No magic! No revealed wisdom!