NETWORKING AND INTERNETWORKING

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Communicating over the Network
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Local Area Networks - Internetworking
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Introduction to TCP/IP
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
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
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.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
OCT1 Internetworking Basics Sources: “Computer Networks” by Peterson and Davie “Distributed Systems” by Coulouris, Dollimore, Kindberg.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Lecturer: Tamanna Haque Nipa
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
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.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Exercises for Chapter 3: Networking.
Networking and Internetworking Jenhui Chen Assistant Professor
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 3: Networking.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
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.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
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
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
1 Next Few Classes Networking basics Protection & Security.
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
Spring 2006Computer Networks1 Chapter 2 Network Models.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Chapter 3: Networking and Internetworking 1. Introduction Networking issues for distributed systems: Performance,scalability,reliability,security,mobility,
First, by sending smaller individual pieces from source to destination, many different conversations can be interleaved on the network. The process.
William Stallings Data and Computer Communications
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1 Distribuerede systemer og sikkerhed – 21. februar 2002 From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
Net 221D:Computer Networks Fundamentals
Slides for Chapter 3: for CS Only Networking and Internetworking Pages –
OCT Master of Information System Management 1 Organizational Communications and Distributed Object Technologies Networking & Internetworking Routing.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
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.
Networking Using the OSI Model.
Part I. Overview of Data Communications and Networking
OSI Protocol Stack Given the post man exemple.
Slides for Chapter 3: Networking and Internetworking
Protocols and the TCP/IP Suite
Slides for Chapter 3: Networking and Internetworking
Networking B.Ramamurthy Chapter 3 12/5/2018 B.Ramamurthy.
Networking B.Ramamurthy Chapter 3 1/11/2019 B.Ramamurthy.
TCP/IP Protocol Suite: Review
Networking and Internetworking Chapter 3
Slides for Chapter 3: Networking and Internetworking
Slides for Chapter 3: Networking and Internetworking
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Unit – III Network Essentials
Presentation transcript:

NETWORKING AND INTERNETWORKING From Chapter 3 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison Wesley/Pearson Education June 2005

Networking Issues for Distributed Systems Basics of Networking Topics Networking Issues for Distributed Systems Basics of Networking Internet Protocols Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Networking Issues for Distributed Systems Following the subsequent development of distributed applications that access the share resources a higher standard of performance is required for networks underlying distributed applications Also with the growth of Internet and its commercialization more stringent requirements for reliability, scalability, mobility, security and quality of service have emerged. Here we define performance in more details: Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Performance Performance: the performance parameters are those affecting the speed of message transfer. They are as the followings: Latency: Delay that occurs after a send operation is executed before the data start to arrive at the destination computer. Data transfer rate: Speed at which the data can be transferred between two computers once transmission has begun. Thus the transfer time for a message containing length bit is: latency + length/data transfer rate Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Performance The equation for message transfer rate is only valid if the length of message does not exceed a maximum that is determined by the underlying network technology. Longer messages have to be segmented and transmission time is sum of the times for segments. For example if message transfer is performed between two processes in a distributed system since messages are small, latency has greater significance than transfer rate in that case. Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Performance The total system bandwidth of a network is a measure of throughput The throughput is the total volume of traffic that can be transferred across the network in a given time. In many Local Are Networks (LAN) such as Ethernet system bandwidth is the same as the data transfer rate. In most Wide Area Networks (WAN) since messages can be transferred in different channels simultaneously, total system bandwidth is different from transfer rate. Next slide shows some networks performance Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Network Performance Example Range Bandwidth (Mbps) Latency (ms) Wired: LAN Ethernet 1-2 kms 10-1000 1-10 WAN IP routing worldwide 0.010-600 100-500 MAN ATM 250 kms 1-150 10 Internetwork Internet 0.5-600 Wireless: WPAN Bluetooth (802.15.1) 10 - 30m 0.5-2 5-20 WLAN WiFi (IEEE 802.11) 0.15-1.5 km 2-54 WMAN WiMAX (802.16) 550 km 1.5-20 WWAN GSM, 3G phone nets 0.01-02 Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Protocol layers Network software is arranged in a hierarchy of layers Data is sent to sender through different layers Each layer of network software communicates with the layers above and below it. See the next slide The protocol types of the above layers are included in the packets sent by the sender to enable the protocol stack at the receiver for selecting the correct software component to unpack the packets. See encapsulation slide Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Conceptual Layering of Protocol Software Message sent Message received Layer n Layer 2 Layer 1 Sender Communication Recipient medium Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Encapsulation in layered protocols Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Protocol Suites A complete set of protocols is referred to as protocol suites or protocol stack , reflecting the layered structure. Seven layer reference model for open systems interconnection (OSI) adopted by International Organization for Standardization (ISO) to encourage the development of protocol standards that would meet the requirements for open systems. Next slides show OSI model and summary of its protocols Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Protocol Layers in OSI Protocol Model Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

OSI Protocol Summary FTP Layer Description Examples Application Protocols that are designed to meet the communication requirements of specific applications, often defining the interface to a service. HTTP, FTP , SMTP, CORBA IIOP Presentation Protocols 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. Session At this level reliability and adaptation are performed, such as detection of failures and automatic recovery. Transport This 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 Network Transfers 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 link Responsible 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 Physical The 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 Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Routing Routing is a function that is required in all networks excepts that LANs such as Ethernet that provide the direct connection between all pairs of attached hosts. In the large networks adaptive routing which is the best route for communication between two points and this route is identifies by periodically re-evaluation, is employed. Assume a packet switching network shown in the next slide, the routers located at connection points are responsible for delivery of packets. Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Routing Hosts Links or local networks A D E B C 1 2 5 4 3 6 Routers Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Routing A simple algorithm for routing discussed here is “distance vector” algorithm which is the basis for link-state algorithm that is used by Internet. In this algorithm each router has a table contains a single entry for each possible destination showing the next hope (link field in the table) that packet must take toward its destination. Cost field in the table is simple calculation of vector distance or number of hopes for a given destination. See the next slide that shows routing tables for the previous network. Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005 Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Routing Routings from A Routings from B Routings from C To Link Cost A D E local 1 3 2 4 5 Routings from D Routings from E To Link Cost A B C D E 3 6 local 1 2 4 5 Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Routing For a packet addressed to C, when it arrives at the router at A, the algorithm uses routing table in A and choose the row staring with C therefore forwards the packet to link labeled 1. When the packet arrives at B same procedure is followed and link 2 will be selected When packet arrives at C, routing table entry shows local that means packet should be delivered to a local host The routing tables will be built up and maintained whenever faults occur in the network Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

RIP Routing Algorithm Each router exchanges and modifies information of its routing table by using router information protocol (RIP) routing algorithm, which does the following high level actions : Periodically and when the local routing changes each router sends the table to all accessible neighbors. The summary of table is sent in a RIP packet. When a table is received from a neighboring router if received table shows a rout to a new destination or lower cost rout to an existing destination then it updates the local table with the new rout. Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internetworking To build an integrated network (an internetwork) many subnets of different network technologies are integrated. Internet made this possible by providing the following items: IP addresses IP protocol Intrernet Routers Next slide shows part of intranet the comprises several subnets interconnected by routers Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Simplified View of the QMW Computer Science Network (2000) file compute dialup hammer henry hotpoint 138.37.88.230 138.37.88.162 bruno 138.37.88.249 router/ sickle 138.37.95.241 138.37.95.240/29 138.37.95.249 copper 138.37.88.248 firewall web 138.37.95.248/29 server desktop computers 138.37.88.xx subnet Eswitch 138.37.88 138.37.88.251 custard 138.37.94.246 138.37.94 hub Student subnet Staff subnet other servers 138.37.94.251  1000 Mbps Ethernet Eswitch: Ethernet switch 100 Mbps Ethernet file server/ gateway printers Campus router 138.37.94.xx Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internetworking In the previous slide the routers are in fact the general purpose computers that serves as firewalls. They may be interconnected through the subnets or direct connection (as showed in the Routing slide). In any case they are responsible for forwarding the internetwork packets and maintaining routing tables. Switches: Performs similar function as routers but for local networks (usually Ethernet) only. Hubs: used for connecting hosts and extension Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internet Protocols Internet emerged from the development of ARPANET computer network and TCP/IP protocol suites. TCP stands for Transmission Control Protocol and IP for Internet Protocol. The technologies that are based on TCP/IP with their application layer protocols (shown in parentheses) including the Web(HTTP), email (SMTP),netnews (NNTP), file transfer (FTP) and Telnet (telnet) TCP/IP layers are shown in the next slide Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

TCP/IP Layers Message Layers Application Messages (UDP) or Streams (TCP) Application Transport Internet UDP or TCP packets IP datagrams Network-specific frames Message Layers Underlying network Network interface Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internet Protocols Note that the Internet Protocol (IP) is underlying layer of Internet virtual network, which means IP datagrams provides the basic transmission mechanism for Internet and other TCP/IP networks. Internet protocols (i.e., TCP/IP) are the layers over another network technology such as Ethernet or ATM. Next Slide shows encapsulation of the TCP/IP packets over Ethernet. IP packets produced by Internet layer can be transferred over any underlying networks or data links. Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Encapsulation in a Message Transmitted via TCP over an Ethernet Application message TCP header IP header Ethernet header Ethernet frame port TCP IP Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internet Protocols The success of TCP/IP is based on their independence of underlying transmission technology, which enables the internetworking to be built up from many heterogeneous networks and data links. IP addressing and IP protocols are two design aspects of Internet protocols. The version of IP currently using is IPv4. New version is IPv6 that designed to overcome addressing limitation of IPv4. The design of Internet address space and IP packet layout are shown in the next Slides Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

Internet Address Structure Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

IP Packet Layout Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

IP Routing RIP-1 which is based on distance vector algorithm initially was used in Internet. After that RIP-2 and open shortest path first (OSPF) were also used for IP routing. The problem of current Internet is the large number of destinations that makes IP routing very difficult because keeping a routing table to each destination is infeasible. One of the solution to this problem is using Unregistered Address by using Network Adrress Translator (NAT) enabled router for compute attached to local networks (See next Slide) Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005

A Typical NAT-Based Home Network Couloris,Dollimore and Kindberg Distributed Systems: Concepts & Design Edn. 4 , Pearson Education 2005