CS 268: Lecture 3 (TCP/IP Architecture) Kevin Lai and Ion Stoica January 30, 2002.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

IPv4 - The Internet Protocol Version 4
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
CS 268: Lecture 2 (Layering & End-to-End Arguments)
The Design Philosophy of the DARPA Internet Protocols D. D. Clark.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Design Philosophy of the DARPA Internet Protocols CSCI 634, Fall 2010.
Protocols and the TCP/IP Suite
EE 122: Layering and the Internet Architecture Kevin Lai September 4, 2002.
Chapter 1 Read (again) chapter 1.
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,
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
Network Layer IS250 Spring 2010
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
CS 268: Lecture 3 (TCP/IP Architecture) Ion Stoica January 28, 2003.
OIS Model TCP/IP Model.
Fundamentals of Computer Networks ECE 478/578 Lecture #2 Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University of Arizona.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Information-Centric Networks02a-1 Week 2 / Paper 1 The Design Philosophy of the DARPA Internet Protocols –David D. Clark –ACM CCR, Vol. 18, No. 4, August.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
CSci8211: Internet Design Philosophy 1 Internet Architecture: Design Philosophy -Then and Now.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
EPL606 Topic 1 Introduction Part B - Design Considerations 1 The majority of the slides in this course are adapted from the accompanying slides to the.
CS 268: Lecture 3 (Layering & End-to-End Arguments)
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
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.
CSCE Farkas1 CSCE 201 Computer Networks. CSCE Farkas2 Reading Assignment Required: – Security Awareness: Chapter 3 Recommended: – Internet.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
1: Introduction1 Internet History r 1961: Kleinrock - queueing theory shows effectiveness of packet- switching r 1964: Baran - packet- switching in military.
SEED Infotech Pvt. Ltd. 1 Networking in Java. SEED Infotech Pvt. Ltd. 2 Objectives of This Session Describe issues related to any type of network using.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
CS 6401 Internetworking Outline Internet Architecture Best Effort Service Model.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
CS 268: Internet Architecture & E2E Arguments Scott Shenker and Ion Stoica (Fall, 2010) 1.
Advance Computer Networking L-2 Design Considerations Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
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.
TCP/IP Network.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
William Stallings Data and Computer Communications
CS 4396 Computer Networks Lab
5: DataLink Layer5-1 Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer Addressing.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 ECEN “Internet Protocols and Modeling”, Spring 2011 Slide 5.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
Protocol Layering Chapter 11.
Advanced Higher Computing Computer Networking Topic 1: Network Protocols and Standards.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Lecture (2).
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
IP - The Internet Protocol
IP - The Internet Protocol
CS 268: Lecture 4 (TCP/IP Architecture)
IP - The Internet Protocol
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
Introduction to Networks
Internet Architecture: Design Philosophy -Then and Now
IP - The Internet Protocol
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

CS 268: Lecture 3 (TCP/IP Architecture) Kevin Lai and Ion Stoica January 30, 2002

{laik, Paper Reviews  state -goal of the paper -approach the paper takes to accomplish that goal.  critique the paper by stating and justifying your opinion of the paper's -motivation -relevance -analyses -experiments

{laik, The Problem  Before Internet -different packet-switching networks (e.g., ARPANET, ARPA packet radio) -only nodes on the same physical/link layer network could communicate -want to share room-size computers, storage to reduce expense

{laik, The Challenge  Interconnect existing networks  … but, packet switching networks differ widely -different services e.g., degree of reliability -different interfaces e.g., length of the packet that can be transmitted, address format -different protocols e.g., routing protocols

{laik, Possible solutions  Reengineer and develop one global packet switching network standard -not economically feasible -not deployable  Have every host implement the protocols of any network it wants to communicate with -Complexity/node = O(n) -O(n 2 ) global complexity

{laik, Solution  Add an extra layer: internetworking layer -hosts: understand one network protocol understand one physical/link protocol -gateways: understand one network protocol understand the physical/link protocols of the networks they gateway -Complexity to add a node/network: O(1) with respect to number of existing nodes

{laik, Solution Gateways

{laik, Common Intermediate Representation  Examples: -telnet, IP, strict HTML, I-mode cHTML  Who ignored this: -US cell phone providers (pairwise roaming agreements) -IE HTML, Netscape HTML, etc. -WAP (WML same purpose as HTML, but not compatible)  network value = O(n 2 ), (Metcalfe's Law)  pairwise translation: cost = O(n 2 ), utility = O(1)  CIR: cost = O(n), utility = O(n)

{laik, Challenge 1: Different Address Formats  Options: -Map one address format to another. Why not? -Provide one common format map lower level addresses to common format  Format: -Initially: 8b network 16b host 24b total -Before Classless InterDomain Routing (CIDR): 7b/24b, 14b/16b, or 21b/8b 32b total -After CIDR: Arbitrary division 32b total -NAT: 32b + 16b simultaneously active -IPv6: 128b total

{laik, Address Formats  256 networks? What were they thinking?  Why CIDR?  What happens if they run out before IPv6?  Why IPv6?  Why 128b for IPv6? 2 48 =281 trillion.  Why not variable length addresses?

{laik, Challenge 2: Different Packet Sizes  Need to define maximum packet size  Options: -Take the minimum of the maximum packets sizes over all networks -Implement fragmentation/reassembly Flexibility to adjust packet sizes as new technologies arrive IP: fragment at routers, reassemble at host Why reassemble at routers? -Still stuck with 1500B as de facto maximum

{laik, Other Challenges  Errors  require end-to-end reliability -Thought to be rarely invoked, but necessary  Different (routing) protocols  coordinate these protocols  Accounting -Did not envision script kiddies  Quality of Service -Not addressed

{laik, Transmission Control Program  Original TCP/IP (Cerf & Kahn) -no separation between transport (TCP) and network (IP) layers -one common header (vestige?) -flow control, but not congestion control (why not?) -fragmentation handled by TCP  Today’s TCP/IP -separate transport (TCP) and network (IP) layer (why?) -split the common header in: TCP and UDP headers -fragmentation reassembly done by IP -congestion control

{laik, Devil’s Advocate  Who cares about resource sharing? -1974: cycles, storage, bandwidth expensive, people cheap -2002: resources cheap, people expensive -1974: Share computer resources -2002: Communicate with people, access documents, buy, sell  Does it still make sense to make processes the endpoint?  Where do people and organizations fit into the ISO layering model?

Back to the big picture

{laik, Goals (Clark’88) 0 Connect existing networks -initially ARPANET and ARPA packet radio network 1. Survivability -ensure communication service even in the presence of network and router failures 2. Support multiple types of services 3. Must accommodate a variety of networks 4. Allow distributed management 5. Allow host attachment with a low level of effort 6. Be cost effective 7. Allow resource accountability

{laik, 1. Survivability  continue to operate even in the presence of network failures (e.g., link and router failures) -failures (excepting network partition) should be transparent to endpoints  maintain state only at end-points (fate-sharing) -no need to replicate and restore router state -disadvantages?  Internet: stateless network architecture -no per-flow state, still have state in address allocation, DNS

{laik, 2. Types of Services  Add UDP to TCP to better support other types of applications -e.g., “real-time” applications  Probably main reason for separating TCP and IP  Provide datagram abstraction: lower common denominator on which other services can be built -service differentiation considered (ToS header bits) -was not widely deployed (why?)

{laik, Application Assumptions  Who made them: -Telephone network: voice (web, video?) -Cable: broadcast (2-way?) -X.25: remote terminal access (file transfer?) -BBS: centralized meeting place (web, p2p?) -NAT: client/server model (p2p, IM, IP Telephony?)  Who didn't: Internet -Caveat: best-effort, unicast, fixed location (real-time, multicast, mobility?)  Allows development of unforseen applications: -Web, p2p, distributed gaming  Sometimes too general: -Interdomain, multi-source multicast scales poorly -Single source multicast scales better [Holbrook99]

{laik, 3. Variety of Networks  Very successful -because the minimalist service; it requires from underlying network only to deliver a packet with a “reasonable” probability of success  …does not require: -reliability, in-order delivery, single delivery, QoS guarantees  The mantra: IP over everything -Then: ARPANET, X.25, DARPA satellite network.. -Now: ATM, SONET, WDM, PPP, USB, b, GSM, GPRS, DSL, cable modems, power lines

{laik, Internet Architecture  Packet-switched datagram network  IP is the glue  Hourglass architecture -all hosts and routers run IP  Common Intermediate Representation IP TCPUDP ATM Satellite Ethernet

{laik, Other Goals  Allow distributed management -each network can be managed by a different organization -different organizations need to interact only at the boundaries -doesn’t work so well for routing, accounting  Cost effective -sources of inefficiency header overhead retransmissions routing -…but routers relatively simple to implement (especially software side)

{laik, Other Goals (Cont)  Low cost of attaching a new host -not a strong point  higher than other architecture because the intelligence is in hosts (e.g., telephone vs. computer) Moore’s law made this moot point, both <$100 -bad implementations or malicious users can produce considerably harm (remember fate-sharing?) DDoS possibly biggest threat to Internet  Accountability -very little so far

{laik, What About the Future?  Datagram not the best abstraction for: -resource management,accountability, QoS  A new abstraction: flow?  Routers require to maintain per-flow state (what is the main problem with this raised by Clark?) -state management  Solution -soft-state: end-hosts responsible to maintain the state

{laik, Summary: Minimalist Approach  Dumb network -IP provide minimal functionalities to support connectivity -addressing, forwarding, routing  Smart end system -transport layer or app does more sophisticated functionalities -flow control, error control, congestion control  Advantages -accommodate heterogeneous technologies -support diverse applications (telnet, ftp, Web, X windows) -decentralized network administration  Disadvantages -poor realtime performance -poor accountability