Copyright © 2003 T. Trappenberg Overview C 1 C. A bit of a networking: Module 1 Technology: GR01E - Electronic Commerce Overview.

Slides:



Advertisements
Similar presentations
Introduction to TCP/IP
Advertisements

Data Communications System By Ajarn Preecha Pangsuban.
CSCI 1106, Fall 2008 net 1 Networking Basic network components and layered architecture Internet and WWW basics IP, TCP, URL, HTTP Jean Walrand, Communication.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Slides for Chapter 3: Networking and Internetworking
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson.
Review on Networking Technologies Linda Wu (CMPT )
Chapter 7: Computer Networks, the Internet, and the World Wide Web Invitation to Computer Science, C++ Version, Third Edition.
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
COMPUTER NETWORKS.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Lecturer: Tamanna Haque Nipa
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
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.
Process-to-Process Delivery:
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 3: Networking.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
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.
ECMM 6010, Fall 2006 net 1 Networking Basic network components and layered architecture Internet and WWW basics IP, TCP, URL, HTTP Jean Walrand, Communication.
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.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Distributed System MK- Networking and Internetworking Moh. Noor Al ‘Azam
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
TCP/IP Transport and Application (Topic 6)
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.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Chapter 3: Networking and Internetworking 1. Introduction Networking issues for distributed systems: Performance,scalability,reliability,security,mobility,
William Stallings Data and Computer Communications
Communication Networks - Overview CSE 3213 – Fall November 2015.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
1. Layered Architecture of Communication Networks: TCP/IP Model
Net 221D:Computer Networks Fundamentals
Slides for Chapter 3: for CS Only Networking and Internetworking Pages –
1 Review – The Internet’s Protocol Architecture. Protocols, Internetworking & the Internet 2 Introduction Internet standards Internet standards Layered.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Communication Networks NETW 501 Tutorial 2
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Chapter Objectives In this chapter, you will learn:
Networking Using the OSI Model.
Computer Networks.
A quick intro to networking
Slides for Chapter 3: Networking and Internetworking
Topic 5: Communication and the Internet
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
Slides for Chapter 3: Networking and Internetworking
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Slides for Chapter 3: Networking and Internetworking
Slides for Chapter 3: Networking and Internetworking
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Copyright © 2003 T. Trappenberg Overview C 1 C. A bit of a networking: Module 1 Technology: GR01E - Electronic Commerce Overview

Copyright © 2003 T. Trappenberg Overview C 2 Types of computer networks: Point-to-point connection (link) between two computers Store-and-forward transmission: packets Datagram packet switching: destination address in packet also, LAN, WAN, ATM (virtual circuit switching) ABC e.g. token ring

Copyright © 2003 T. Trappenberg Overview C 3 multiple access networks (e.g. ALOHA, Ethernet)

Copyright © 2003 T. Trappenberg Overview C 4

Copyright © 2003 T. Trappenberg Overview C 5

Copyright © 2003 T. Trappenberg Overview C 6

Copyright © 2003 T. Trappenberg Overview C 7

Copyright © 2003 T. Trappenberg Overview C 8 Review of components Hosts –Considered a “node” or “end point” in the network (client/server/printer) –Processes all levels of the protocol stack Hubs –acts as an “extender” - similar in effect to taking all incoming lines and twisting the wires together –Does not do any processing - acts only at the physical layer Bridges –attaches two physically identical LANs together, physical layer processing –forwards only traffic which is destined for “the other side” Switches –depending on level of switch complexity, anywhere from a hub to a router Routers –Processing at the Network layer –Route packets between networks with potentially different lower level protocol stacks (i.e., different physical and data link layers) Gateways –Processes all levels of the protocol stack –Used to connect networks with different protocol stacks

Copyright © 2003 T. Trappenberg Overview C 9 Layer n Layer 2 Layer 1 Message sent Message received Communication medium SenderRecipient Coulouris, Dollimore, Kindberg, Distributed Systems, Addison Wesley 2001 (3 rd ed) Layered communication model

Copyright © 2003 T. Trappenberg Overview C 10 ISO-OSI layer model Open systems interconnection reference model Application Presentation Session Transport Network Data Link Physical communication services, e.g. file transfer, , … e.g. compression, security, format conversion supervises connections between end systems Implements digital communication link that delivers bits implements packet delivery service between two nodes on the same physical link guides the packet from source to destinations supervises end-to-end transmission AB communication services local syntax, secure, efficient connections connections delivery of messages

Copyright © 2003 T. Trappenberg Overview C 11 LayerDescriptionExamples ApplicationProtocols that are designed to meet the communication requirements of specific applications, often defining the interface to a service. HTTP, FTP,SMTP, CORBA IIOP PresentationProtocols at this level transmit data in a network representation that is independent of the representations used in individual computers, which may differ. Encryption is also performed in this layer, if required. Secure Sockets (SSL),CORBA Data Rep. SessionAt this level reliability and adaptation are performed, such as detection of failures and automatic recovery. TransportThis is the lowest level at which messages (rather than packets) are handled. Messages are addressed to communication ports attached to processes, Protocols in this layer may be connection-oriented or connectionless. TCP,UDP NetworkTransfers data packets between computers in a specific network. In a WAN or an internetwork this involves the generation of a route passing through routers. In a single LAN no routing is required. IP,ATM virtual circuits Data linkResponsible for transmission of packets between nodes that are directly connected by a physical link. In a WAN transmission is between pairs of routers or between routers and hosts. In a LAN it is between any pair of hosts. Ethernet MAC, ATM cell transfer, PPP PhysicalThe circuits and hardware that drive the network. It transmits sequences of binary data by analogue signalling, using amplitude or frequency modulation of electrical signals (on cable circuits), light signals (on fibre optic circuits) or other electromagnetic signals (on radio and microwave circuits). Ethernet base- band signalling,ISDN

Copyright © 2003 T. Trappenberg Overview C 12

Copyright © 2003 T. Trappenberg Overview C 13 FTPFTP TELNETTELNET RLOGINRLOGIN SMTPSMTP DNSDNS …HTTPHTTP RTPRTP TFTPTFTP TCPUDP IP LAN link 4-layer model of the Internet protocol stack Other layer models: IEEE 802 (LAN) ODN (open data network by NRC) …

Copyright © 2003 T. Trappenberg Overview C 14

Copyright © 2003 T. Trappenberg Overview C 15 Application message TCP header IP header Ethernet header Ethernet frame port TCP IP

Copyright © 2003 T. Trappenberg Overview C 16 The Internet Jean Walrand, Communication Networks, a first course, McGraw-Hill 1998 (2 nd edition). The first three chapters give you a nice overview of the working of networks and the Internet. Several of the following figures are taken from this book.

Copyright © 2003 T. Trappenberg Overview C 17 A brief history Parallel work at MIT ( ), RAND ( ), and NPL ( ) 1961: Leonard Kleinrock at MIT published the first paper on packet switching theory (  DARPA and Lawrence G. Roberts, MIT) 1962 Paul Baran, RAND proposes package switching 1962: J.C.R. Licklider of MIT "Galactic Network” : Early development of ARPANET (1969 first four nodes are connected) 1970: Network Working Group (NWG) finished the initial Network Control Protocol (NCP). 1974: Vint Cerf and Bob Kahn: TCP 1982: TCP/IP protocol suite is defined for ARPANET 1984: Domain name system is introduced 1986: NFSNET 1992: Tim Berners-Lee designs the World Wide Web

Copyright © 2003 T. Trappenberg Overview C 18

Copyright © 2003 T. Trappenberg Overview C 19 What is a protocol `A protocol is a set of rules governing message interchanges which occur between a number of computers in a distributed system; each of these messages implement functions of the system. A protocol is also used to establish a connection and allow entities to exchange data about themselves, for example the operating system they are using and the format of the data that they intend passing; this is known as a handshake. ‘ D. Ince

Copyright © 2003 T. Trappenberg Overview C 20 IP Header

Copyright © 2003 T. Trappenberg Overview C 21

Copyright © 2003 T. Trappenberg Overview C b.atr.go.jp a.cs.dal.ca

Copyright © 2003 T. Trappenberg Overview C 23 Scheme Server name Path File URL: A Global Address

Copyright © 2003 T. Trappenberg Overview C 24 NamePort/ProtocolComment ftp-data20/tcp ftp21/tcp telnet23/tcp smtp25/tcpmail bootps67/udp # BOOTP/DHCP server bootpc68/udp# BOOTP/DHCP client hostnames101/tcphostname # usually to sri-nic sunrpc111/udprpcbind sunrpc111/tcprpcbind finger79/tcp pop3110/tcp# Post Office nntp119/tcpusenet # Network News Transfer imap143/tcp# Internet Message Access ssh22/tcp# Secure SHell who513/udpwhod kerberos750/udpkdc # Kerberos key server xaudio1103/tcpXaserver # X Audio Server stel10005/tcp# Secure Telnet

Copyright © 2003 T. Trappenberg Overview C 25 Routing and congestion control Send information of nodes and links to each node of the network. This might include some physical properties such as maximal size of packets, typical time delays, …  Build map of network  Use routing algorithm to build routing tables for example: OSPF (Open Shortest Path First) if every router uses the same algorithm and maps they build consistent tables  Hierarchical Routing: `use local map to get to the highway, use highway map to get to your destination town, use local map to get to your friends house’. More sophisticated routine on `highway’ (BGP, Border Gateway Protocol) How is congestion controlled?

Copyright © 2003 T. Trappenberg Overview C 26 How is congestion controlled? Flow control  TCP Destination publishes maximal acceptable window size in reply message Source destination discovers congestion from unusually long delay times of response  additive increase, multiplicative decrease

Copyright © 2003 T. Trappenberg Overview C 27 TCP (Transmission Control Protocol) : –connection-oriented –Reliable packet delivery in sequence UDP (User Datagram Protocol) : –connectionless (datagram) –Unreliable packet delivery –Packets may arrive out of sequence or duplicated –Less overhead –Simply adds port addressing to IP –Checksum is optional Transport layer protocols

Copyright © 2003 T. Trappenberg Overview C 28 TCP and UDP Header

Copyright © 2003 T. Trappenberg Overview C 29 Quality of Service (QoS) ATM (virtual circuit switching)

Copyright © 2003 T. Trappenberg Overview C 30 Your Machine Internet Borg Index.html Web server Web browser The Internet vs. the WWW Parts of the puzzle URL HTTP HTML Public_html

Copyright © 2003 T. Trappenberg Overview C 31 HTTP: Hyper Text Transfer Protocol GET /index.html HTTP/1.1 User-Agent: Lynx/2.4 Connection: Keep-Alive Host: Accept: text/html client request: Server response: HTTP/ OK Date: Thu, 22 July :40:55 GMT Server: Apache (Unix) PHP/3.0.6 Last-Modified: Mon, 19 July :03:22 GMT Content-Type: text/html Content-Length:

Copyright © 2003 T. Trappenberg Overview C 32 The World-Wide Web allows many different types of information to be accessed using a common interface A browser is a program which accesses and presents information: text, graphics, sound, audio, and programs A Web document usually contains links to other Web documents, creating a hypermedia environment The term Web comes from the fact that information is not organized in a linear fashion The World-Wide Web Web documents are defined by the HyperText Markup Language (HTML) Information on the Web is found using a Uniform Resource Locator (URL): A URL may indicate an HTML document, or some other kind of information

Copyright © 2003 T. Trappenberg Overview C 33 –Packet filtering firewalls decide whether or not to forward packets based on their source and destination IP addresses and port numbers –Rules dictate whether or not packets should be forwarded –Typically once a connection through the firewall has been established, further packets are passed without scrutiny –Processes up to the network layer of the protocol stack (one notable exception is for FTP, which requires some application-level support) –Can perform IP Masquerading Packet filtering firewalls

Copyright © 2003 T. Trappenberg Overview C 34 –Proxy-based firewalls operate at the application layer of the protocol stack –Every type of application for which a connection through the firewall is requested requires that a proxy server be running on the firewall for that specific application, or the request will be denied –Allows for logging of events at the application layer, much more detailed logging than a packet-filtering firewall allows –Requires that client machines inside the firewall be configured on an application by application basis to use the proxied services of the firewall Proxy-based firewalls

Copyright © 2003 T. Trappenberg Overview C 35 The JAVA Socket class Socket oldSock = new Socket("penny.open.ac.uk", 1048); remote computer penny in the domain open.ac.uk with communication occurring via port  InputStream Programming example in Java