1 / 66

Computer Networking

Computer Networking. Prof. Hanoch Levy ( hanoch at cs.tau.ac.il ). Teaching Assistant: Allon Wagner. Course Information. Lectures: Wednesday 12 - 15 Dach 005 Exercises: Monday 10 – 11, 11 – 12 Shenkar – Physics 104. Web site:

andren
Download Presentation

Computer Networking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Networking Prof. Hanoch Levy (hanoch at cs.tau.ac.il) Teaching Assistant: Allon Wagner

  2. Course Information Lectures: Wednesday 12 - 15 Dach 005 Exercises: Monday 10 – 11, 11 – 12 Shenkar – Physics 104 Web site: http://www.cs.tau.ac.il/~allonwag/comnet2014A/index.html Books: • A Top-down Approach to Computer Networking / Kurouse-Ross • An Engineering Approach to Computer Networking / Keshav • Computer Networks / Tanenbaum • Data Networks / Bertsekas and Gallager

  3. Practical Information Homework assignment: Mandatory Both theoretical and programming Grades: Final Exam: 60% theory exercises: 20% Programming exercises: 20%

  4. Motivation • Today’s economy • manufacturing, distributing, and retailing goods • but also creating and disseminating information • publishing • banking • film making…. part of the ‘information economy’ • Future economy is likely to be dominated by information!

  5. Information? • A representation of knowledge • Examples: • books • bills • CDs & DVDs • Can be represented in two ways • analog (waves/atoms) • digital (bits) • the Digital Revolution • convert information as waves/atoms to info as bits • use networks to move bits around instead of atoms

  6. TheChallenges • represent all types of information as bits. • move the bits • In large quantities, • everywhere, • cheaply, • Securely, • with quality of service, • ….

  7. Today’s Networks are complex! • hosts • routers • links of various media • applications • protocols • hardware, software Tomorrow’s will be even more!

  8. Internet Physical Infrastructure Residential access Cable Fiber DSL Wireless ISP Backbone ISP ISP • The Internet is a network of networks • Each individually administrated network is called an Autonomous System (AS) Campus access, e.g., • Ethernet • Wireless 8

  9. This course’s Challenge • To discuss this complexity in an organized way, that will make today’s computer networks (and their limitations) more comprehensive. • identification, and understanding relationship of complex system’s pieces. • Problems that are beyond a specific technology

  10. Early communications systems • I.e. telephone • point-to-point links • directly connect together the users wishing to communicate • use dedicated communication circuit • if distance between users increases beyond the length of the cable, the connection is formed by a number of sections connected end-to-end in series. Circuit switching

  11. Data Networks • set of interconnected nodes exchange information • sharing of the transmission circuits= "switching". • many links allow more than one path between every 2 nodes. • network must select an appropriate path for each required connection.

  12. Qwest backbone http://www.qwest.com/largebusiness/enterprisesolutions/networkMaps/preloader.swf

  13. Networking Issues - Telephony • Addressing - identify the end user phone number 1-201-222-2673 = country code + city code + exchange + number • Routing - How to get from source to destination. Telephone circuit switching: Based on the phone number. • Information Units- How is information sent telephone Samples @ Fixed sampling rate. not self descriptive! have to know where and when a sample came

  14. Networking Issues - Internet • Addressing - identify the end user IP addresses 132.66.48.37, Refer to a host interface =network number + host number • Routing- How to get from source to destination Packet switching: move packets (chunks) of data among routers from source to destination independently. • Information Units - How is information sent. Self-descriptive data: packet = data + metadata (header).

  15. Telephone networks support a single, end-to-end quality of service but is expensive to boot Internet supports no quality of service but is flexible and cheap Future networks will have to support a wide range of service qualities at a reasonable cost

  16. 1961: Kleinrock - queuing theory shows effectiveness of packet-switching 1964: Baran - packet-switching in military networks 1967: ARPAnet – conceived by Advanced Research Projects Agency 1969: first ARPAnet node operational 1972:ARPAnet demonstrated publicly NCP (Network Control Protocol) first host-host protocol first e-mail program ARPAnet has 15 nodes History1961-1972: Early packet-switching principles

  17. 1970: ALOHAnet satellite network in Hawaii 1973: Metcalfe’s PhD thesis proposes Ethernet 1974: Cerf and Kahn - architecture for interconnecting networks late70’s: proprietary architectures: DECnet, SNA, XNA late 70’s: switching fixed length packets (ATM precursor) 1979: ARPAnet has 200 nodes History1972-1980: Internetworking, new and proprietary nets

  18. Cerf and Kahn’s internetworking principles: • minimalism, autonomy - no internal changes required to interconnect networks • best effort service model • stateless routers • decentralized control Defines today’s Internet architecture

  19. 1983: deployment of TCP/IP 1982: SMTP e-mail protocol defined 1983: DNS defined for name-to-IP-address translation 1985: FTP protocol defined 1988: TCP congestion control new national networks: CSnet, BITnet, NSFnet, Minitel 100,000 hosts connected to confederation of networks History1980-1990: new protocols, proliferation of networks

  20. early 1990’s:ARPAnet decommissioned 1991:NSF lifts restrictions on commercial use of NSFnet (decommissioned, 1995) early 1990s: WWW hypertext [Bush 1945, Nelson 1960’s] HTML, http: Berners-Lee 1994: Mosaic, later Netscape late 1990’s: commercialization of WWW History1990 - : commercialization and WWW

  21. Demand and Supply • Huge growth in users • The introduction of the web • Faster home access • Better user experience. • Infrastructure • Significant portion of telecommunication. • New evolving industries • Although, sometimes temporary setbacks

  22. Internet: Users

  23. Penetration around the Globe (2009) http://www.internetworldstats.com/stats.htm

  24. Users around the Globe (2002/5/9)

  25. Technology: Modem speed

  26. Today’s options • Modem: 56 K • ISDN: 64K – 128K • Frame Relay: 56K ++ • Today High Speed Connections • Cable, ADSL, Satellite. • All are available at • 5Mb (2005) • 30 Mb (2009) OBSOLETE

  27. Coming soon (1999)

  28. Today (2005)

  29. Why do we need Standards • Networks (and other media) support communication between different entities • Need agreement to ensure correct, efficient and meaningful communication

  30. Various Organizations Issue Standards • IEEE (Institute for Electrical and Electronic Engineers) • IETF (Internet Engineering Task Force) • ITU (International Telecommunications Union) • ISO (International Organization for Standardization) • W3C (World Wide Web Consortium)

  31. A way for organizing structure of network Protocol Layers • The idea: a series of steps • … Or at least our discussion of networks

  32. Protocol Layering Layering in protocols ~ Functions in programs • Necessary because communication is complex • Intended primarily for protocol designers • Divides the problem into intellectually manageable pieces • Provides a conceptual framework that can help us understand protocols • Think of layering as a guideline, not a rigid specification • Understand that optimizations may violate strict layering • Should be invisible to users

  33. Mail system functionality

  34. How do we Communicate? Hollywood, California Bob • Send a mail from Alice to Bob • Alice in Champaign, Bob in Hollywood • Example: • US Postal Service Champaign, Illinois Alice

  35. What does Alice do? Alice 200 Cornfield Rd. Champaign, IL 61820 • Bob’s address (to a mailbox) • Bob’s name – in case people share mailbox • Postage – have to pay! • Alice’s own name and address • in case Bob wants to return a message • In case the mail has to be returned. Bob 100 Santa Monica Blvd. Hollywood, CA 90028

  36. What does Bob do? Alice 200 Cornfield Rd. Champaign, IL 61820 • Install a mailbox • Receive the mail • Get rid of envelope • Read the message Bob 100 Santa Monica Blvd. Hollywood, CA 90028

  37. Layers: Person delivery of parcel Post office counter handling Ground transfer: loading on trucks Airport transfer: loading on airplane Airplane routing from source to destination Peer entities each layer implements a service • via its own internal-layer actions / intra layer peering • relying on services provided by layer below

  38. Advantages of Layering • explicit structure allows identification & relationship of complex system’s pieces • layered reference model for discussion • modularization eases maintenance & updating of system • change of implementation of layer’s service transparent to rest of system • Disadvantage: low efficiency

  39. Protocols • A protocol is a set of rules and formats that govern the communication between communicating peer • set of valid messages - syntax • meaning of each message – semantics • Necessary for any function that requires cooperation between peers e.g: Every car drives on the right

  40. Protocols • A protocol provides a service • For example: the post office protocol for reliable parcel transfer service • Peer entities use a protocol to provide a service to a higher-level peer entity • E.g, truck company (drivers) uses a protocol to present post offices with the abstraction of an unreliable parcel transfer service

  41. Protocol Layers • A network that provides many services needs many protocols • Some services are independent, But others depend on each other • A Protocol may use another protocol as a step in its execution • for example, ground transfer is one step in the execution of the example reliable parcel transfer protocol • This form of dependency is called layering • Post office handling is layered above parcel ground transfer protocol.

  42. Open protocols and systems • A set of protocols is open if • protocol details are publicly available • changes are managed by an organization whose membership and transactions are open to the public • A system that implements open protocols is called an open system • International Organization for Standards (ISO) prescribes a standard to connect open systems • open system interconnect (OSI) • Has greatly influenced thinking on protocol stacks

  43. ISO OSI reference model • Reference model • formally defines what is meant by a layer, a service etc. • Service architecture • describes the services provided by each layer and the service access point • Protocol architecture • set of protocols that implement the service architecture • compliant service architectures may still use non-compliant protocol architectures

  44. The seven Layers Application Application Presentation Presentation Session Session Transport Transport Network Network Network Data Link Data Link Data Link Physical Physical Physical There are only 5 !! Application Intermediate system End system End system

  45. The seven Layers - protocol stack data Application Application AH data Presentation Presentation PH data Session Session SH data Transport Transport Network Network NH data Data Link Data Link Physical Physical TH data Network Data Link DH+data+DT Physical bits • Session and presentation layers are not so important, and are often ignored

  46. עיקרון השכבות בשכבה X מתקבלת הודעה זהה להודעה ששכבה X מסרה בצד המקור Destination Source Application Application Identical message Transport Transport Identical message Network Network Identical message Data-Link Data-Link Network

  47. Postal network • Application: people using the postal system • Session and presentation: chief clerk sends some priority mail, and some by regular mail ; translator translates letters going abroad. • Transport layer: mail clerk sends a message, retransmits if not acked • Network layer: postal system computes a route and forwards the letters • datalink layer: letters carried between intermediate stops (e.g connecting flights) • physical layer: carrying the letter itself between intermediate stops (planes, trains, automobiles)

  48. Internet protocol stack application transport network link physical • 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”

  49. Protocol layering and data M M H H H H H H H H H H H H t t n t t l l n n t t n M M M M application transport network Link physical M M source destination message application transport network Link physical segment datagram frame

  50. Physical layer L1 • Physically Moves bits between physically connected end-systems • Standard prescribes • coding scheme to represent a bit • shapes and sizes of connectors • bit-level synchronization • Internet • technology to move bits on a wire, wireless link, satellite channel etc.

More Related