Networking B.Ramamurthy Chapter 3 12/5/2018 B.Ramamurthy.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Advertisements

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
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 )
OCT1 Internetworking Basics Sources: “Computer Networks” by Peterson and Davie “Distributed Systems” by Coulouris, Dollimore, Kindberg.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
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.
Chapter 5 Networks Communicating and Sharing Resources
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.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Network Technologies & Principles 1 Communication Subsystem. Types of Network. Principles of Network. Distributed Protocols.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Distributed System MK- Networking and Internetworking Moh. Noor Al ‘Azam
Slides for Chapter 3: Networking and Internetworking From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, September 2011.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Communicating over the Network Network Fundamentals – Chapter 2.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
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.
Ad Hoc – Wireless connection between two devices Backbone – The hardware used in networking Bandwidth – The speed at which the network is capable of sending.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Intro to MIS – MGS351 Network Basics
Chapter 1 Communication Networks and Services
Distributed Systems CS
Chapter 5 Network and Transport Layers
Chapter 3: Networking and Internetworking
Telecommunications and Networking
Computer Networks and Internet
Lecture 6: TCP/IP Networking By: Adal Alashban
Computer Networks and Internet
Introduction to Networking Prof. Ananjan Maiti. Overview of the course OSI and TCP/IP Models:  Open Systems Interconnection (OSI)  Transmission Control.
Slides for Chapter 3: Networking and Internetworking
The Open System Interconnection (OSI) Model & Network Protocols.
Computer Technology Notes #4
Computer Networks.
Protocols and the TCP/IP Suite
I. Basic Network Concepts
Computing Over Distance
TCP/IP Protocol Suite: Review
Slides for Chapter 3: Networking and Internetworking
Lecture 1 Overview of Communication Networks and Services
Networking B.Ramamurthy Chapter 3 1/11/2019 B.Ramamurthy.
System Models and Networking Chapter 2,3
TCP/IP Protocol Suite: Review
System Models and Networking Chapter 2,3
Networking and Internetworking Chapter 3
Distributed Systems CS
Slides for Chapter 3: Networking and Internetworking
Slides for Chapter 3: Networking and Internetworking
Protocols and the TCP/IP Suite
Networking.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Unit – III Network Essentials
Distributed Systems CS
Presentation transcript:

Networking B.Ramamurthy Chapter 3 12/5/2018 B.Ramamurthy

Introduction Distributed systems use local area networks, wide area networks and internet for communication. Performance, reliability, scalability, mobility, and quality of service (qos) impact the design. Changes in user requirements have resulted in emergence of wireless and qos guarantees. Principles: protocol layering, packet switching, routing, data and behavior streaming. We will study: Ethernet, Asynchronous Transfer Mode (ATM), IEEE 802.11 wireless network standard. 12/5/2018 B.Ramamurthy

Networking Issues Performance: Scalability: Latency: delays at the switches and routers. Data transfer rate (bits/sec) : raw data Bandwidth: total volume of traffic that can be transferred across the network in a given time. Scalability: How does a system handle increase in the number of users? Increase in the size of the system? Increase in load and traffic? 12/5/2018 B.Ramamurthy

Networking Issues (contd.) Security: requirements and techniques for achieving security. Firewall, Virtual Private Network (VPN). Mobility: Support for moving devices. Not necessarily wireless. QoS: Bandwidth and latency bounds. 12/5/2018 B.Ramamurthy

Types of Networks Characterized by speed, communication medium, size, geographical distances, bandwidth, latency, technology. LAN : Single medium such as twisted pair of copper wires, coaxial cables, or optical fibers. Technology: Ethernet, token rings, slotted rings. WAN: Set of comm circuits (coax, satellite) linked by dedicated computers called routers. Technology: Switching. 12/5/2018 B.Ramamurthy

Types of Networks MAN: Wireless: High bandwidth copper or fiber optic cables. (phone lines, DSL, cable modem) Technology: Ethernet, IEEE802.6, ATM Wireless: Radio frequency, infrared, Technology: IEEE 802.11 (wavelan), CDPD, GSM, bluetooth (proximity) 12/5/2018 B.Ramamurthy

Figure 3.1 Network types Range Bandwidth (Mbps) Latency (ms) LAN 1-2 kms 10-1000 1-10 WAN worldwide 0.010-600 100-500 MAN 2-50 kms 1-150 10 Wireless LAN 0.15-1.5 km 2-11 5-20 Wireless WAN worldwide 0.010-2 100-500 Internet worldwide 0.010-2 100-500 12/5/2018 B.Ramamurthy

Internetworks Communication subsystem in which several networks are linked together to provide a data communication facilities that conceal the technologies and protocols of individual components. Gateways, switches, routers, compute and data servers. 12/5/2018 B.Ramamurthy

Networking Fundamentals Packet transmission Data Streaming Switching schemes Broadcast, circuit switching, packet switching, frame relay (ATM) Protocols Protocol layers Protocol suites Packet assembly Ports Addressing Packet delivery 12/5/2018 B.Ramamurthy

Networking Fundamentals (contd.) Routing Tables and algorithms Congestion control Internetworking IP address, protocol Routers Hubs Bridges Switches Tunnelling 12/5/2018 B.Ramamurthy

Conceptual layering of protocol software Message sent Message received Layer n Layer 2 Layer 1 Sender Communication Recipient medium 12/5/2018 B.Ramamurthy

Encapsulation as it is applied in layered protocols 12/5/2018 B.Ramamurthy

Protocols The term protocol refers to a well-known set of rules and formats to be used in order to perform a task. For example, a task of communicating between processes. Parts of a protocol: A specification of a sequence of messages that must be exchanged. A specification of the format of the data in the messages. Existence of well-known (standard) protocols enables the separate components of the distributed systems to be developed independently in different languages and on different platforms. 12/5/2018 B.Ramamurthy

ISO’s OSI Framework/Model ISO : International Standards Organization OSI : Open Systems Interconnection Services, interfaces, protocols Protocol Suite: Complete set of protocol layers is referred to as protocol stack or protocol suite. OSI Model defines the layers. For a protocol suite to be compliant with OSI it has defined a protocol for each of the layers specified in OSI model. 12/5/2018 B.Ramamurthy

OSI Protocol Layers Application: Communication requirements. Ex: HTTP, FTP, SMTP, CORBA IIOP Presentation: Bridges the data representation difference in the network and the computers; Encryption. Ex: Secure Sockets (SSL). Session: Reliability; Detection of failures and recovery. Ex: Checkpointing and recovery. Transport: Facilitates peer to peer process conversation. Port address concept. Ex: TCP (Transmission Control Protocol), UDP (User Datagram Protocol). Network: Transfers packets. Packet format that includes routing info. Ex: IP, ATM. Data Link: Responsible for data transfer between directly connected nodes (routers, hosts). Ex: PPP (Point-to-Point Protocol) Physical: The hardware circuits and binary transfer of data (optic, radio, microwave freq). Ex: ISDN (Integrated Service Digital Network), Cable modem. 12/5/2018 B.Ramamurthy

Ports and Addresses Ports are destination points within a host computer. Processes are attached to the ports, enabling them to communicate. Transport layer addresses are composed of network address of the host computer and a port number. In the Internet every host is assigned a unique IP number which is used in routing. In an Ethernet each host is responsible for recognizing that the messages meant for it. 12/5/2018 B.Ramamurthy

Routing in WAN Routers are computers with dedicated functionality. They determine the route of the packets using routing algorithms. A routing algorithm has two goals: It must make decisions that determine route taken by each packet as it travels through the network. It must dynamically update its knowledge of the network based on the traffic monitoring and detection of configuration changes or failures. Fine example of a distributed algorithm. We will examine a Router Information Protocol (RIP) 12/5/2018 B.Ramamurthy

Routing in a wide area network Hosts Links or local networks A D E B C 1 2 5 4 3 6 Routers 12/5/2018 B.Ramamurthy

Routing tables for the network in Last Slide Routings from A Routings from B Routings from C To Link Cost A B C 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 12/5/2018 B.Ramamurthy

Pseudo-code for RIP routing algorithm Send: Each t seconds or when Tl changes, send Tl on each non-faulty outgoing link. Receive: Whenever a routing table Tr is received on link n: for all rows Rr in Tr { if (Rr.link < > n) { Rr.cost = Rr.cost + 1; Rr.link = n; if (Rr.destination is not in Tl) add Rr to Tl; // add new destination to Tl else for all rows Rl in Tl { if (Rr.destination = Rl.destination and (Rr.cost < Rl.cost or Rl.link = n)) Rl = Rr; // Rr.cost < Rl.cost : remote node has better route // Rl.link = n : remote node is more authoritative } 12/5/2018 B.Ramamurthy

Internetworking Local networks are built using Ethernet and ATM. Wide area networks are built using telephone lines, satellite links, wide-area ATM, ISDN, etc. Internetworking is connecting all these subnets of differing technologies. Issues? 12/5/2018 B.Ramamurthy

Problems in Internetworking A unified internetwork addressing scheme that enables packets to be addressed to any host connected to any subnet. A protocol defining the format of internetwork packets and giving rules according to which they are to be handled. Interconnecting components that route packets to their destinations. 12/5/2018 B.Ramamurthy

Solutions provided by the Internet For the Internet, Problem 1) is solved by IP addresses Problem 2) is addresses by IP protocol Problem 3) is performed by components called Internet Routers. 12/5/2018 B.Ramamurthy

Simplified view of the QMW Computer Science network 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 12/5/2018 B.Ramamurthy

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 12/5/2018 B.Ramamurthy

Encapsulation in a message transmitted via TCP over an Ethernet Application message TCP header IP header Ethernet header Ethernet frame port TCP IP 12/5/2018 B.Ramamurthy

The programmer's conceptual view of a TCP/IP Internet 12/5/2018 B.Ramamurthy

Internet address structure, showing field sizes in bits 12/5/2018 B.Ramamurthy

Decimal representation of Internet addresses 12/5/2018 B.Ramamurthy

IP packet layout 12/5/2018 B.Ramamurthy

Issues in IPV4 Address limitations Scarcity of Class B addresses Managing entries in routing tables Ad hoc measures such as allocation Class C to Class B address ranges (CIDR – classless interdomain routing). 12/5/2018 B.Ramamurthy

IPV6 Features Addresses are 128 bits (double that of IPV4) Address space is partitioned Routing speed improved by removing some operations such as checksum. Accommodates real-time and special services. (streams and devices) Future evolution possible (next header field). IPV6 support “anycast” (message delivered to at least one of the hosts). Built-in security. 12/5/2018 B.Ramamurthy

IPv6 header layout 12/5/2018 B.Ramamurthy

Tunnelling for IPv6 migration B IPv6 IPv6 encapsulated in IPv4 packets Encapsulators IPv4 network 12/5/2018 B.Ramamurthy

Mobile IP Laptops and handheld devices that may be connected to the network at different locations. It needs a new IP address at every site. But many applications require that mobile client retain a single IP address. When the device is mobile, home agent and foreign agent work on behalf of the client. 12/5/2018 B.Ramamurthy

The MobileIP routing mechanism Sender Subsequent IP packets tunnelled to FA Mobile host MH Address of FA returned to sender First IP packet addressed to MH Internet Foreign agent FA Home First IP packet agent tunnelled to FA 12/5/2018 B.Ramamurthy