Network Architecture. EE 122, Fall 2013 Sylvia Ratnasamy

Size: px
Start display at page:

Download "Network Architecture. EE 122, Fall 2013 Sylvia Ratnasamy"

Transcription

1 Network Architecture EE 122, Fall 2013 Sylvia Ratnasamy

2 Administrivia l Enrollment l l Discussion sections are *not* the bottleneck to enrollment State of the waitlist (as of 09/10): 3 seniors, after which WL will be processed in chronological order l Instructional account forms l l If you are registered for the class and have not received an with your account information, apanda@cs and sylvia@cs If you are on the waitlist and eventually make it into the class, don t worry, we will you an instr. account well in time for you to submit your 1 st HW l drop deadline is 9/27, 1 st HW is due on 10/2

3 Outline Last time: low-level plumbing Today: top-down architecting of the Internet l Goals l Layering l Protocols l The end-to-end principle

4 Recall From Lecture#1 l Architecture is not the implementation itself l Architecture is how we structure implementations l what functions?, where?, what interfaces? l Architecture is the modular design of the network

5 How would you go about designing the Internet? Sit down and l List your goals l Prioritize them l Hence define the service you will offer l Architect a solution that implements the service Of course, the original designers of the Internet didn t do anything of the sort

6 Reality l The lessons accrued over time; many contributors l 1961: packet switching (Baran and Kleinrock) l 1967: vision of a robust network (ARPANET) l 1972: best effort inter-networking proposed (Kahn) l 1974: TCP/IP paper (Cerf/Kahn)

7 Reality l The lessons accrued over time; many contributors l Many of the lessons were learnt on the job l E.g., TCP s congestion control algorithms were developed in response to the Internet meltdowns of the early 1980s

8 Reality l The lessons accrued over time; many contributors l Many of the lessons were learnt on the job l Consensus didn t come easy l 1961: packet switching is proposed l 1972: best-effort communication is advocated l 1980: IP adopted as the defense standard l 1985: NSFnet picks IP l 199x: Circuit switching rises (and falls) in the form of ATM l 199x: `Quality of Service (QoS) rises and falls

9 Reality l The lessons accrued over time; many contributors l Many of the lessons were learnt on the job l Consensus didn t come easy l And progress was ad-hoc l rough consensus and running code.

10 Reality l The lessons accrued over time; many contributors l Many of the lessons were learnt on the job l Consensus didn t come easy l And progress was ad-hoc l Yet, there was also l constant dialogue l constant introspection l constant experimentation, leading to l A strong consistency of vision emerging by the 80s, driven by D. Clark, chair of the Internet Arch. Board

11 Internet Design Goals (from Clark s SIGCOMM 1988 paper)" l Connect existing networks l Robust in face of failures l Support multiple types of delivery services l Accommodate a variety of networks l Allow distributed management l Cost effective l Easy host attachment l Allow resource accountability

12 Connect Existing Networks l Wanted a single unifying interface that could be used to connect any pair of (existing) networks l Interface to be compatible with existing networks l couldn t demand performance capabilities not supported by existing networks l had to support existing packet switched networks l Led to focus on an inter-networking service based on the best-effort delivery of packets

13 How would you go about designing the Internet? Sit down and l List your goals l Prioritize them l Hence define the service you will offer l Architect a solution that implements the service

14 Three steps l Decompose the problem into tasks l Organize these tasks l Assign tasks to entities (who does what)

15 Decomposition What does it take to send packets across the globe? l Bits on wire l Packets on wire Physical l Delivery packets within a single physical network l Deliver packets across multiple networks Datalink Network l Ensure the destination received the data l Do something with the data Application Transport This is decomposition Now, how do we organize these tasks?

16 Inspiration l CEO A writes letter to CEO B l Folds letter and hands it to administrative aide Dear John, l Aide: l Puts letter in envelope with CEO B s full name Your days are numbered. l Takes to FedEx l FedEx Office --Pat l Puts letter in larger envelope l Puts name and street address on FedEx envelope l Puts package on FedEx delivery truck l FedEx delivers to other company

17 The Path of the Letter Peers on each side understand the same things No one else needs to Lowest level has most packaging CEO Semantic Letter Content CEO Aide Envelope Identity Aide FedEx Fedex Location Envelope (FE) FedEx

18 The Path Through FedEx Truck FE Sorting Office Airport Crate Crate FE Sorting Office Airport New Crate FE Crate Truck Sorting Office Airport Deepest Packaging (Envelope+FE+Crate) at the Lowest Level of Transport

19 The Path Through FedEx Higher Stack at Ends Partial Stack Truck During Transit FE Sorting Office Airport Crate Highest Level of Transit Stack is Routing Crate FE Sorting Office Airport New Crate FE Crate Truck Sorting Office Airport Deepest Packaging (Envelope+FE+Crate) at the Lowest Level of Transport

20 In the context of the Internet Applications built on Reliable (or unreliable) transport built on Best-effort global packet delivery built on Best-effort local packet delivery built on Physical transfer of bits This is not nope, a typo not a typo L7 L4 L3 L2 L1 Application Transport Network Data link Physical

21 In the context of the Internet The Open Systems Interconnect (OSI) model developed by the ISO included two additional layers that are often implemented as part of the application Application Presentation Session Transport Network Data link Physical

22 Protocols and Layers L7 Application Application L7 L4 Transport Transport L4 L3 Network Network L3 L2 Data link Data link L2 L1 Physical Physical L1 Communication between peer layers on different systems is defined by protocols

23 What is a Protocol? Friendly greeting Friendly greeting Time? 2pm Thank you

24 What is a Protocol? l E.g., the destination address is in the 1 st four bytes of the packet l When A sends B a packet of type X B should return a packet of type Y to A then A should respond with Z.

25 What is a Protocol? l An agreement between parties on how to communicate l Include syntax and semantics l how a communication is specified and structured l what a communication means l Protocols exist at many hardware, software, all levels! l Defined by a variety of standards bodies l IETF (ietf.org), IEEE, ITU,

26 So we have decomposition and organization L7 Application Application L7 L4 Transport Transport L4 L3 Network Network L3 L2 Data link Data link L2 L1 Physical Physical L1 Next: what gets implemented where?

27 Distributing Layers Across Network l Layers are simple if only on a single machine l Just stack of modules interacting with those above/ below l But we need to implement layers across machines l Hosts l Routers (switches) l What gets implemented where?

28 What gets implemented at the end host? l Bits arrive on wire, must make it up to application l Therefore, all layers must exist at host! 28

29 What gets implemented in l Bits arrive on wire the network? l Physical layer necessary l Packets must be delivered to next-hop and across local networks l Datalink layer necessary l Packets must be delivered between networks for global delivery l Network layer necessary l The network doesn t support reliable delivery 29 l Transport layer (and above) not supported

30 Switches vs. Routers l Switches do what routers do, except they don t participate in global delivery, just local delivery l Switches only need to support Physical and Datalink l Don t need to support Network layer l Routers support Physical, Datalink and Network layers l Won t focus on the router/switch distinction l When I say switch, I almost always mean router l Almost all boxes support network layer these days

31 Simple Diagram" l Lower three layers implemented everywhere l Top two layers implemented only at hosts Application Transport Network Datalink Physical Host A Network Datalink Physical Router Application Transport Network Datalink Physical Host B

32 Looking a little closer At the end host l Application l user space: web server, browser, mail, game l Transport and network. l Typically part of the operating system l Datalink Application Transport Network Data link Physical l Often written by vendor of the network interface hardware l Physical l Hardware: network interface card and link

33 Logical Communication" l Layers interacts with peer s corresponding layer Application Transport Network Datalink Physical Host A Network Datalink Physical Router Application Transport Network Datalink Physical Host B 33

34 Physical Communication" l Communication goes down to physical network l Then from network peer to peer l Then up to relevant layer Application Transport Network Datalink Physical Host A Network Datalink Physical Router Application Transport Network Datalink Physical Host B 34

35 Layer Encapsulation" User A User B Appl: Get index.html Trans: Connection ID Net: Source/Dest Link: Src/Dest

36 Protocols at different layers L7 Application SMTP HTTP DNS NTP L4 Transport TCP UDP L3 Network IP L2 Data link Ethernet FDDI PPP L1 Physical optical copper radio PSTN There is just one network-layer protocol, IP The narrow waist of the Internet hourglass

37 Implications of Hourglass Single network-layer protocol (IP) l Allows arbitrary networks to interoperate l Any network that supports IP can exchange packets l Decouples applications from low-level networking technologies l applications to function on all networks l Supports simultaneous innovations above and below IP l But changing IP itself is hard (e.g., IPv4 à IPv6)

38 A Protocol-Centric Diagram" host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet IP IP packet IP IP packet IP Ethernet interface Ethernet interface SONET interface SONET interface Ethernet interface Ethernet interface

39 What are some of the benefits of protocols and layering?

40 Interoperability l Many implementations of many technologies l Hosts running FreeBSD, Linux, Windows, MacOS, l People using Mozilla, Explorer, Opera, l Routers made by cisco, juniper, l Hardware made by IBM, Dell, Apple, l And it changes all the time. l Phew! But they can all talk together because they use the same protocol(s)

41 Abstraction & Reuse l Multiple choices of protocol at many layers l Physical: copper, fiber, air, carrier pigeon l Link: ethernet, token ring, SONET, FDDI l Transport: TCP, UDP, SCTP l But we don t want to have to write a web (HTTP) browser for TCP networks running IP over Ethernet on Copper and another for the fiber version l Protocols provide a standard interface to write to l Layers hide the details of the protocols below

42 Decoupling aids innovation l Technologies at each layer pursued by very different communities l Innovation at each layer can proceed in parallel

43 What are some of the drawbacks of protocols and layering?

44 Drawbacks of Layering l Layer N may duplicate lower layer functionality l e.g., error recovery to retransmit lost data l Information hiding may hurt performance l e.g., packet loss due to corruption vs. congestion l Headers start to get really big l e.g., typical TCP+IP+Ethernet is 54 bytes l Layer violations when the gains too great to resist l e.g., TCP-over-wireless l Layer violations when network doesn t trust ends l e.g., firewalls

45 Placing Network Functionality" l Hugely influential paper: End-to-End Arguments in System Design by Saltzer, Reed, and Clark ( 84) l articulated the End-to-End Principle (E2E) l Endless debate over what it means l Everyone cites it as supporting their position

46 Basic Observation" l Some application requirements can only be correctly implemented end-to-end l reliability, security, etc. l Implementing these in the network is hard l every step along the way must be fail proof l Hosts l l Can satisfy the requirement without network s help Will/must do so, since they can t rely on the network

47 Example: Reliable File Transfer" Host A Host B Appl. Appl. OS OK OS l Solution 1: make each step reliable, and string them together to make reliable end-to-end process l Solution 2: end-to-end check and retry

48 Discussion" l Solution 1 is incomplete l l What happens if any network element misbehaves? Receiver has to do the check anyway! l Solution 2 is complete l Full functionality can be entirely implemented at application layer with no need for reliability from lower layers l Is there any need to implement reliability at lower layers?

49 Summary of End-to-End Principle " l Implementing functionality (e.g., reliability) in the network l l l Doesn t reduce host implementation complexity Does increase network complexity Probably increases delay and overhead on all applications even if they don t need the functionality (e.g. VoIP) l However, implementing in the network can improve performance in some cases l e.g., consider a very lossy link

50 Only-if-Sufficient Interpretation" l Don t implement a function at the lower levels of the system unless it can be completely implemented at this level l Unless you can relieve the burden from hosts, don t bother

51 Only-if-Necessary Interpretation" l Don t implement anything in the network that can be implemented correctly by the hosts l Make network layer absolutely minimal l This E2E interpretation trumps performance issues l Increases flexibility, since lower layers stay simple

52 Only-if-Useful Interpretation" l If hosts can implement functionality correctly, implement it in a lower layer only as a performance enhancement l But do so only if it does not impose burden on applications that do not require that functionality

53 Taking stock of where we re at "

54 First Step: Basic Concepts and Decisions l Plumbing: links, switches l Packet Switching winner over circuit switching l Best-effort service model

55 Second Step: Architectural Principles l Protocols and Layering l End-to-End Principle

56 Third Step: Design Challenges and Solutions l Let s go layer by layer l Physical l Datalink l Network l Transport l Application

57 Two Layers We ll Worry About Less l Physical: l Technology dependent l Lots of possible solutions l Not specific to the Internet l Application: l Application-dependent l Lots of possible solutions

58 Datalink and Network Layers l Both support best-effort delivery l Datalink over local scope l Network over global scope l Key challenge: scalable, robust routing l How do we address destinations l How to direct packets to destination

59 Transport Layer l Provide reliable delivery over unreliable network

60 Hence, Course Roadmap l Routing and the IP network layer l next 4-5 lectures + project 1 l Reliable delivery and the TCP transport layer l lectures up to the midterm + project 2 l Lectures in the 2 nd half of the course will fill in the rest of the picture l Ethernet, HTTP, security, new directions, etc.

Page 1. Goals for Today" What Is A Protocol?" CS162 Operating Systems and Systems Programming Lecture 10. Protocols, Layering and e2e Argument"

Page 1. Goals for Today What Is A Protocol? CS162 Operating Systems and Systems Programming Lecture 10. Protocols, Layering and e2e Argument Goals for Today" CS162 Operating Systems and Systems Programming Lecture 10 Protocols, Layering and e2e Argument" What is a protocol?! Layering! End-to-end arguments!! October 3, 2011! Anthony D. Joseph

More information

Internet Design: Goals and Principles

Internet Design: Goals and Principles Internet Design: Goals and Principles EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton

More information

CS 268: Internet Architecture & E2E Arguments. Today s Agenda. Scott Shenker and Ion Stoica (Fall, 2010) Design goals.

CS 268: Internet Architecture & E2E Arguments. Today s Agenda. Scott Shenker and Ion Stoica (Fall, 2010) Design goals. CS 268: Internet Architecture & E2E Arguments Scott Shenker and Ion Stoica (Fall, 2010) 1 Today s Agenda Design goals Layering (review) End-to-end arguments (review) 2 1 Internet Design Goals Goals 0 Connect

More information

Internet Design Principles

Internet Design Principles Internet Design Principles EE 122: Intro to Communication Networks Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim http://inst.eecs.berkeley.edu/~ee122/ Materials

More information

CS4700/CS5700 Fundaments of Computer Networks

CS4700/CS5700 Fundaments of Computer Networks CS4700/CS5700 Fundaments of Computer Networks Lecture 5: Internet architecture Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Alan Mislove amislove at ccs.neu.edu

More information

CS 268: Lecture 4 (Internet Architecture & E2E Arguments)

CS 268: Lecture 4 (Internet Architecture & E2E Arguments) CS 268: Lecture 4 (Internet Architecture & E2E Arguments) Today s Agenda Course Theme Course overview History of the Internet Design goals Layering (review) Focus on the Internet Other topics covered,

More information

Probability, Preview, and Principles

Probability, Preview, and Principles Probability, Preview, and Principles EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton

More information

Lecture 2: Internet Architecture

Lecture 2: Internet Architecture CS 3700 Networks and Distributed Systems Lecture 2: Internet Architecture Revised 1/6/14 Organizing Network Functionality 2 Organizing Network Functionality 2 Networks are built from many components! Networking

More information

CS4700/5700: Network fundamentals

CS4700/5700: Network fundamentals Cristina Nita-Rotaru CS4700/5700: Network fundamentals. 1: Organizing network functionality } Networks are built from many components } Networking technologies } Ethernet, Wifi, Bluetooth, Fiber Optic,

More information

Lecture 2: Layering & End-to-End

Lecture 2: Layering & End-to-End Lecture 2: Layering & End-to-End CSE 222A: Computer Communication Networks Alex C. Snoeren Thanks: Mike Freedman & Amin Vahdat Lecture 2 Overview Layering Application interface Transport services Discussion

More information

ECE 158A: Data Networks I. Fall 2015 Massimo Franceschetti

ECE 158A: Data Networks I. Fall 2015 Massimo Franceschetti ECE 158A: Data Networks I Fall 2015 Massimo Franceschetti What is a Network? A system of links that interconnect nodes in order to exchange information A B We will focus on the INTERNET Where nodes are

More information

Page # Last Time. Lecture 2 Protocol Stacks and Layering. Today s Lecture. Why protocols and layering? What is a Protocol.

Page # Last Time. Lecture 2 Protocol Stacks and Layering. Today s Lecture. Why protocols and layering? What is a Protocol. Last Time Lecture Protocol Stacks and Layering David Andersen School of Computer Science Carnegie Mellon University - ing, Fall 00 http://www.cs.cmu.edu/~srini/-/f0/ The Big Picture» Goals: Efficiency

More information

CSE 123A Computer Networks

CSE 123A Computer Networks CSE 123A Computer Networks Winter 2005 Lecture 3: Protocols & Layering Alex Snoeren (standing in for Stefan Savage) Yesterday How to send data from point A to point B? January 13, 2005 CSE 123A -- Lecture

More information

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc. Objectives CPS221 Lecture: Layered Network Architecture last revised 6/22/10 1. To discuss the OSI layered architecture model 2. To discuss the specific implementation of this model in TCP/IP Materials:

More information

CPS221 Lecture: Layered Network Architecture

CPS221 Lecture: Layered Network Architecture CPS221 Lecture: Layered Network Architecture Objectives last revised 9/8/14 1. To discuss the OSI layered architecture model 2. To discuss the specific implementation of this model in TCP/IP Materials:

More information

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

416 Distributed Systems. Networks review; Day 1 of 2 Jan 5 + 8, 2018 416 Distributed Systems Networks review; Day 1 of 2 Jan 5 + 8, 2018 1 Distributed Systems vs. Networks Low level (c/go) Run forever Support others Adversarial environment Distributed & concurrent Resources

More information

Announcements Computer Networking. What is the Objective of the Internet? Today s Lecture

Announcements Computer Networking. What is the Objective of the Internet? Today s Lecture Announcements 15-441 15-441 Computer ing 15-641 Lecture 2 Protocol Stacks Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 Sign up for piazza: https://piazza.com/cmu/fall2016/15441641 P1 will

More information

Design Principles : Fundamentals of Computer Networks Bill Nace

Design Principles : Fundamentals of Computer Networks Bill Nace Design Principles 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia No Paper Review for today

More information

Network Architecture

Network Architecture Unit 7 Network Architecture Acknowledgments: These slides were originally developed by Prof. Jean Walrand for EE122. The past and current EE122 instructors including Kevin Fall, Abhay Parekh, Shyam Parekh,

More information

CS 3640: Introduction to Networks and Their Applications

CS 3640: Introduction to Networks and Their Applications CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 2: More layering and the end-to-end principle. Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain 1 Today in

More information

Peer entities. Protocol Layering. Protocols. Example

Peer entities. Protocol Layering. Protocols. Example Peer entities Protocol Layering An Engineering Approach to Computer Networking Customer A and B are peers Postal worker A and B are peers Protocols A protocol is a set of rules and formats that govern

More information

Network Layer (1) Networked Systems 3 Lecture 8

Network Layer (1) Networked Systems 3 Lecture 8 Network Layer (1) Networked Systems 3 Lecture 8 Role of the Network Layer Application Application The network layer is the first end-to-end layer in the OSI reference model Presentation Session Transport

More information

Lecture 2: Links and Signaling

Lecture 2: Links and Signaling Lecture 2: Links and Signaling CSE 123: Computer Networks Alex C. Snoeren DISCUSSION @7pm Tomorrow Our Problem Communications is complicated Modulation and encoding bits Splitting sequences of bits into

More information

CS3600 SYSTEMS AND NETWORKS

CS3600 SYSTEMS AND NETWORKS CS3600 SYSTEMS AND NETWORKS NORTHEASTERN UNIVERSITY Lecture 17: Internet architecture Prof. Alan Mislove (amislove@ccs.neu.edu) Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion

More information

Lecture 2 Protocol Stacks. Last Tuesday

Lecture 2 Protocol Stacks. Last Tuesday Lecture 2 Protocol Stacks David Andersen School of Computer Science Carnegie Mellon University 1-441 ing, Spring 200 http://www.cs.cmu.edu/~srini/1-441/s0/ 1 Last Tuesday The Big Picture» Goals: Efficiency

More information

Lecture 3 Protocol Stacks and Layering

Lecture 3 Protocol Stacks and Layering Lecture 3 Protocol Stacks and ing Hui Zhang School of Computer Science Carnegie Mellon University 15-441 Networking, Fall 2007 http://www.cs.cmu.edu/~srini/15-441/f07/ 1 What is a Communication Network?

More information

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 2 Layering, Protocol Stacks, and Standards 1 Today s Lecture Layers and Protocols A bit about s 2 Network Communication: Lots of Functions

More information

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Internet Layers Internet Data Packet transmission

More information

Internet Design Principles and Architecture

Internet Design Principles and Architecture Internet Design Principles and Architecture Venkat Padmanabhan Microsoft Research 2 April 2001 Venkat Padmanabhan 1 Lecture Outline A brief history of the Internet How is the Internet different from the

More information

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Computer Communication & Networks / Data Communication & Computer Networks Week # 03 Computer Communication & Networks / Data Communication & Computer Networks Week # 03 M.Nadeem Akhtar CS & IT Department The University of Lahore Email: nadeem.akhtar@cs.uol.edu.pk URL-https://sites.google.com/site/nadeemuolcsccn/home

More information

Network Architecture. TOC Architecture

Network Architecture. TOC Architecture Network Architecture Introduction Layering Example Internet Layers First Look Layering Step by Step Downside of Layering Interconnecting Networks The Internet TOC Architecture Introduction Issues: Inter-operability

More information

TDTS21 Advanced Networking

TDTS21 Advanced Networking TDTS21 Advanced Networking Lecture 2: Hosts, the Internet architecture, and the E2E arguments Based on slides from D. Choffnes, P. Gill, and J. Rexford Revised Spring 2015 by N. Carlsson End hosts The

More information

CSCI Computer Networks

CSCI Computer Networks CSCI-1680 - Computer Networks Chen Avin (avin) Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti, Peterson & Davie, Rodrigo Fonseca Administrivia Sign and hand in Collaboration

More information

CSC2209 Computer Networks

CSC2209 Computer Networks CSC2209 Computer Networks Network Architecture Stefan Saroiu Computer Science University of Toronto Outline Overview Protocols and layering Brief Internet tour E2E paper Internet design philosophy Protocols

More information

Goal of Today s Lecture. EE 122: Designing IP. The Internet Hourglass. Our Story So Far (Context) Our Story So Far (Context), Con t

Goal of Today s Lecture. EE 122: Designing IP. The Internet Hourglass. Our Story So Far (Context) Our Story So Far (Context), Con t Goal of Today s Lecture EE 122: Designing IP Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee122/ (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues

More information

Need For Protocol Architecture

Need For Protocol Architecture Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared

More information

Introduction to computer networking

Introduction to computer networking edge core Introduction to computer networking Comp Sci 3600 Security Outline edge core 1 2 edge 3 core 4 5 6 The edge core Outline edge core 1 2 edge 3 core 4 5 6 edge core Billions of connected computing

More information

Networking and Internetworking 1

Networking and Internetworking 1 Networking and Internetworking 1 Today l Networks and distributed systems l Internet architecture xkcd Networking issues for distributed systems Early networks were designed to meet relatively simple requirements

More information

CS 43: Computer Networks The Network Layer. Kevin Webb Swarthmore College November 2, 2017

CS 43: Computer Networks The Network Layer. Kevin Webb Swarthmore College November 2, 2017 CS 43: Computer Networks The Network Layer Kevin Webb Swarthmore College November 2, 2017 TCP/IP Protocol Stack host host HTTP Application Layer HTTP TCP Transport Layer TCP router router IP IP Network

More information

Architectural Principles

Architectural Principles Architectural Principles Brighten Godfrey cs598pbg August 31 2010 slides 2010 by Brighten Godfrey unless otherwise noted Today Clark: TCP / IP design philosophy Architectural principles Goals of the architecture

More information

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1 EE 586 Communication and Switching Networks (Fall 2010) Lecture 2 August 27, 2010 (modified by Cheung for EE586; based on K&R original) 1-1 Announcements Read Chapter 1 First homework is due 9/3 In Blackboard

More information

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer Layering in Networked computing OSI Model TCP/IP Model Protocols at each layer Learning outcomes Understand the need of layering in Networked computing Understand the OSI model and the tcp/ip model Understand

More information

ECE 158A: Lecture 7. Fall 2015

ECE 158A: Lecture 7. Fall 2015 ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers

More information

416 Distributed Systems. Networks review; Day 2 of 2 Fate sharing, e2e principle And start of RPC Jan 10, 2018

416 Distributed Systems. Networks review; Day 2 of 2 Fate sharing, e2e principle And start of RPC Jan 10, 2018 416 Distributed Systems Networks review; Day 2 of 2 Fate sharing, e2e principle And start of RPC Jan 10, 2018 1 Last Time Modularity, Layering, and Decomposition Example: UDP layered on top of IP to provide

More information

Need For Protocol Architecture

Need For Protocol Architecture Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared

More information

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking : Computer Networks Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking Remember this picture? How did the switch know to forward some packets to B and some to D? From the address in the packet

More information

Network Architecture COS 461: Computer Networks

Network Architecture COS 461: Computer Networks Network Architecture COS 461: Computer Networks Nick Feamster Spring 2015 Lectures: MW 10-10:50 am in CS 104 Acknowledgments: Lecture slides are from Computer networks course thought by Nick Feamster at

More information

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI)

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI) Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI) By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Fall 2014, Computer Networks II Agenda Introduction to networking architecture Historical

More information

Introduction to Networks

Introduction to Networks Introduction to Networks Khaled Harras School of Computer Science Carnegie Mellon University 15-349 Computer and Network Security Fall 2012 Some material borrowed from Hui Zhang and Adrian Perrig 1 Early

More information

CS 43: Computer Networks The Link Layer. Kevin Webb Swarthmore College November 28, 2017

CS 43: Computer Networks The Link Layer. Kevin Webb Swarthmore College November 28, 2017 CS 43: Computer Networks The Link Layer Kevin Webb Swarthmore College November 28, 2017 TCP/IP Protocol Stack host host HTTP Application Layer HTTP TCP Transport Layer TCP router router IP IP Network Layer

More information

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications Data and Computer Communications Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based s 1 Need For Protocol Architecture data exchange can involve complex procedures better if task broken into subtasks

More information

Page 1. Review: The Problem" Software System Modularity" Solution: Intermediate Layers"

Page 1. Review: The Problem Software System Modularity Solution: Intermediate Layers Review: The Problem" CS162 Operating Systems and Systems Programming Lecture 16 Layering" Transmission" Media" Skype " SSH" NFS" Coaxial " cable" Fiber" optic" HTTP" Packet" Radio" March 31, 2014 Anthony

More information

CS 678 Spring 2013 Network Architecture and Principles

CS 678 Spring 2013 Network Architecture and Principles CS 678 Spring 2013 Network Architecture and Principles The Design Philosophy of the DARPA Internet Protocols, Dave Clarke, 1988 Ihsan Ayyub Qazi Computer Science Department LUMS SBASSE Slides use info

More information

Last Time. Lecture 2 Protocol Stacks and Layering. Today s Lecture. Why protocols and layering? Protocol and Service Levels. How to Design a Network?

Last Time. Lecture 2 Protocol Stacks and Layering. Today s Lecture. Why protocols and layering? Protocol and Service Levels. How to Design a Network? Lecture Protocol Stacks and Layering Khaled Harras School of Computer Science University, Computer s Based on slides from previous lectures Last Time The Big Picture Goals: Efficiency ilities (scalability,

More information

Layered Architecture

Layered Architecture 1 Layered Architecture Required reading: Kurose 1.7 CSE 4213, Fall 2006 Instructor: N. Vlajic Protocols and Standards 2 Entity any device capable of sending and receiving information over the Internet

More information

Internetworking Models The OSI Reference Model

Internetworking Models The OSI Reference Model Internetworking Models When networks first came into being, computers could typically communicate only with computers from the same manufacturer. In the late 1970s, the Open Systems Interconnection (OSI)

More information

Lecture 3: Modulation & Layering"

Lecture 3: Modulation & Layering Lecture 3: Modulation & Layering" CSE 123: Computer Networks Alex C. Snoeren HW 1 out Today, due 10/09! Lecture 3 Overview" Encoding schemes Shannon s Law and Nyquist Limit Clock recovery Manchester, NRZ,

More information

Chapter 16 Networking

Chapter 16 Networking Chapter 16 Networking Outline 16.1 Introduction 16.2 Network Topology 16.3 Network Types 16.4 TCP/IP Protocol Stack 16.5 Application Layer 16.5.1 Hypertext Transfer Protocol (HTTP) 16.5.2 File Transfer

More information

Page 1. Goals for Today" Why is Networking Important?" Example: Whatʼs in a Search Query?"

Page 1. Goals for Today Why is Networking Important? Example: Whatʼs in a Search Query? Goals for Today" CS162 Operating Systems and Systems Programming Lecture 16 Layering" April 1, 2013 Anthony D. Joseph http://inst.eecs.berkeley.edu/~cs162 Networking Concepts and Functionalities Properties

More information

Lecture (02) The TCP/IP Networking Model

Lecture (02) The TCP/IP Networking Model Lecture (02) The TCP/IP Networking Model Dr. Ahmed M. ElShafee ١ Agenda Introduction to networking architecture Historical background The TCP/IP Protocol Architecture The TCP/IP Application Layer The TCP/IP

More information

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching IP Packet Switching CS 375: Computer Networks Dr. Thomas C. Bressoud Goals of Todayʼs Lecture Connectivity Links and nodes Circuit switching Packet switching IP service model Best-effort packet delivery

More information

Introduction to the Internet

Introduction to the Internet Introduction to the Internet CCST9015 8 th Sep, 2010 Dr. Hayden Kwok-Hay So Department of Electrical and Electronic Engineering 2 Internet in 2003 3 Internet Basics The Internet is a network that connects

More information

Page 1. Goals for Today" Discussion" Example: Reliable File Transfer" CS162 Operating Systems and Systems Programming Lecture 11

Page 1. Goals for Today Discussion Example: Reliable File Transfer CS162 Operating Systems and Systems Programming Lecture 11 Goals for Today" CS162 Operating Systems and Systems Programming Lecture 11 Reliability, Transport Protocols" Finish e2e argument & fate sharing Transport: TCP/UDP Reliability Flow control October 5, 2011

More information

Lecture (02) The TCP/IP Networking Model

Lecture (02) The TCP/IP Networking Model Agenda ١ Lecture (02) The TCP/IP Networking Model Dr. Ahmed M. ElShafee Introduction to networking architecture Historical background The TCP/IP Protocol Architecture The TCP/IP Application Layer The TCP/IP

More information

Internet Architecture and Experimentation

Internet Architecture and Experimentation Internet Architecture and Experimentation Today l Internet architecture l Principles l Experimentation A packet switched network Modern comm. networks are packet switched Data broken into packets, packet

More information

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I) Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I) By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Fall 2016, Networks II Agenda Introduction to networking architecture Historical

More information

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

15-744: Computer Networking. L-1 Intro to Computer Networks 15-744: Computer Networking L-1 Intro to Computer Networks Outline Administrivia Layering 2 Who s Who? Professor: Srinivasan Seshan http://www.cs.cmu.edu/~srini srini@cmu.edu Office hours: Friday 4:00-5:00

More information

ECE 4400:427/527 - Computer Networks Spring 2017

ECE 4400:427/527 - Computer Networks Spring 2017 ECE 4400:427/527 - Computer Networks Spring 2017 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 3: Network Architectures Dr. Nghi Tran (ECE-University of Akron) ECE 4400:427/527

More information

Lecture-4. TCP/IP-Overview:

Lecture-4. TCP/IP-Overview: Lecture-4 TCP/IP-Overview: The history goes back to ARPANET a research network sponsored by DoD US Govt. It eventually connected hundreds of universities and govt installations, using leased telephone

More information

Introduction to TCP/IP networking

Introduction to TCP/IP networking Introduction to TCP/IP networking TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute TCP : Transmission Control Protocol HTTP, FTP, ssh What is an internet? A set

More information

Course on Computer Communication and Networks. Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data

Course on Computer Communication and Networks. Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data Course on Computer Communication and Networks Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data CTH EDA344/ GU DIT 420 Based on the book Computer Networking: A Top Down Approach,

More information

Lecture (02) Network Protocols and Standards

Lecture (02) Network Protocols and Standards Lecture (02) Network Protocols and Standards Dr. Ahmed M. ElShafee 1 Agenda - - 2 Preface Protocols and standards are what make networks work together. Protocols make it possible for the various components

More information

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems Outline CSCI 4061 Introduction to Operating Systems ing Overview Layering and Protocols TCP/IP Protocol Family Client-Server Model Instructor: Abhishek Chandra 2 Inter-Process Communication Intra-node:

More information

Chapter 1 Introduction

Chapter 1 Introduction Chapter 1 Introduction A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

CSCI-GA Operating Systems. Networking. Hubertus Franke

CSCI-GA Operating Systems. Networking. Hubertus Franke CSCI-GA.2250-001 Operating Systems Networking Hubertus Franke frankeh@cs.nyu.edu Source: Ganesh Sittampalam NYU TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute

More information

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

Computer Networks. Fall 2012 (M 6:15-9:00 in Jbarry 201B) Mirela Damian. Computer Networks Fall 2012 (M 6:15-9:00 in Jbarry 201B) Mirela Damian http://www.csc.villanova.edu/~mdamian/csc8400.html/ Slides by Rexford @ Princeton & Slides accompanying the Internet Lab Manual, slightly

More information

Design Considerations : Computer Networking. Outline

Design Considerations : Computer Networking. Outline Design Considerations 15-744: Computer Networking L-2 Design Considerations How to determine split of functionality Across protocol layers Across network nodes Assigned Reading [SRC84] End-to-end Arguments

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 2: Internet architecture and. Internetworking. Stefan Savage

Communications Software. CSE 123b. CSE 123b. Spring Lecture 2: Internet architecture and. Internetworking. Stefan Savage CSE 123b CSE 123b Communications Software Spring 2003 Lecture 2: Internet architecture and Internetworking Stefan Savage Some history 1968: DARPANET (precursor to Internet) Bob Taylor, Larry Roberts create

More information

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD Part VI Appendixes Appendix A OSI Model and Internet Protocols Appendix B About the CD OSI Model and Internet Protocols APPENDIX A In this appendix, you will Learn about the OSI model Review the network

More information

ES623 Networked Embedded Systems

ES623 Networked Embedded Systems ES623 Networked Embedded Systems Introduction to Network models & Data Communication 16 th April 2013 OSI Models An ISO standard that covers all aspects of network communication is the Open Systems Interconnection

More information

Question. Reliable Transport: The Prequel. Don t parse my words too carefully. Don t be intimidated. Decisions and Their Principles.

Question. Reliable Transport: The Prequel. Don t parse my words too carefully. Don t be intimidated. Decisions and Their Principles. Question How many people have not yet participated? Reliable Transport: The Prequel EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica,

More information

Introduction to Information Science and Technology 2017 Networking I. Sören Schwertfeger 师泽仁

Introduction to Information Science and Technology 2017 Networking I. Sören Schwertfeger 师泽仁 I Sören Schwertfeger 师泽仁 Outline Internet History of the Internet Internet Structure Internet Protocols Network layer details 1. Physical Layer 2. Data Link Layer 3. Network Layer Internet: Huge network

More information

CE 443: Computer Networks

CE 443: Computer Networks CE 443: Computer Networks Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer Rexford at Princeton University. When slides are obtained from other sources, a a reference

More information

How does the Internet Look Like?

How does the Internet Look Like? Computer s EEE 448 Lecture #2 Dept of Electrical and Electronics Engineering Çukurova University Organizing Functionality s are built from many components ing technologies, Wifi, Bluetooth, Fiber Optic,

More information

Communicating over the Network

Communicating over the Network Communicating over the Network Network Fundamentals Chapter 2 Version 4.0 1 Network Structure The elements of communication 3 common elements of communication Message source people/electronic devices need

More information

Page 1. Goals for Today" Placing Network Functionality" Basic Observation" CS162 Operating Systems and Systems Programming Lecture 15

Page 1. Goals for Today Placing Network Functionality Basic Observation CS162 Operating Systems and Systems Programming Lecture 15 Goals for Today" CS162 Operating Systems and Systems Programming Lecture 15 Finish e2e argument & fate sharing! Transport: TCP/UDP! Reliability! Flow control! Reliability, Transport Protocols" March 16,

More information

Chapter -4 OSI Reference Model

Chapter -4 OSI Reference Model Chapter -4 OSI Reference Model Objectives Concept of Reference Model. OSI Reference Model Concept. Layers of OSI Reference Model. 4.1 Introduction Layered Architecture, Peer-to- Peer Processes, Interfaces

More information

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

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski Operating Systems 16. Networking Paul Krzyzanowski Rutgers University Spring 2015 1 Local Area Network (LAN) LAN = communications network Small area (building, set of buildings) Same, sometimes shared,

More information

Architectural Principles

Architectural Principles Architectural Principles Brighten Godfrey CS 538 January 29 2018 slides 2010-2017 by Brighten Godfrey unless otherwise noted Cerf and Kahn: TCP/IP Clark: TCP / IP design philosophy Goals of the architecture

More information

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

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 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 1. A Brief Tour of the Internet What happens when you click

More information

CSC 4900 Computer Networks: Introduction

CSC 4900 Computer Networks: Introduction CSC 4900 Computer Networks: Introduction Professor Henry Carter Fall 2017 What s this all about? 2 A Modern Day Silk Road We live with nearly constant access to the most extensive system ever built by

More information

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

Outline : Computer Networking. Objectives. Who s Who? Administrivia. Layering. L-1 Intro to Computer Networks Outline 15-744: Computer Networking Administrivia Layering L-1 Intro to Computer Networks 2 Who s Who? Professor: Srinivasan Seshan http://www.cs.cmu.edu/~srini srini@cmu.edu Office hours: Friday 4:00-5:00

More information

Network Layering CS 118

Network Layering CS 118 Network Layering Computer Network Fundamentals Peter Reiher Page 1 Outline What is a layer? Goals of layering Internet and the One Ring Page 2 What is a layer? A layer is: The largest set of parties (nodes)

More information

Reti di Calcolatori I

Reti di Calcolatori I Reti di Calcolatori I Prof. Roberto Canonico Dipartimento di Ingegneria Elettrica e delle Tecnologie dell Informazione Corso di Laurea in Ingegneria delle Telecomunicazioni Corso di Laurea in Ingegneria

More information

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan Chapter3: OSI Reference Model: Network Software: Network

More information

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang CS155b: E-Commerce Lecture 3: Jan 16, 2001 How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang Internet Protocols Design Philosophy ordered set of goals 1. multiplexed utilization of existing

More information

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition Chapter 2 Network Models Behrouz A. Forouzan Data communication and Networking Fourth edition 1 Layered Tasks We use the concept of layers in our daily life. As an example, let us consider two friends

More information

Lecture 2. Computer Networks Models. Network Models 1-1

Lecture 2. Computer Networks Models. Network Models 1-1 Lecture 2 Computer Networks Models Network Models 1-1 Agenda Introduction to the Internet Reference Models for Computer Networks The OSI Model The TCP/IP Model Network Models 1-2 Announcements Bonus -

More information

Introduction to Internetworking

Introduction to Internetworking Introduction to Internetworking Stefano Vissicchio UCL Computer Science COMP0023 Internetworking Goal: Connect many networks together into one Internet. Any computer can send to any other computer on any

More information

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1 OSI Transport Layer Network Fundamentals Chapter 4 Version 4.0 1 Transport Layer Role and Services Transport layer is responsible for overall end-to-end transfer of application data 2 Transport Layer Role

More information