Overview of Computer Networks

Similar documents
A Client Server Transaction. Introduction to Computer Systems /18 243, fall th Lecture, Nov. 3 rd

Application-layer protocols

The OSI and TCP/IP Models. Lesson 2

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Computer Networks & Security 2014/2015

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Data Communication Networks and Converged Networks

Transport and Network Layer

Module 2 Overview of Computer Networks

Internetworking and IP Address

Network Layers. CSC358 - Introduction to Computer Networks

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

CSE 3461 / 5461: Computer Networking & Internet Technologies

Computer Networks CS321

Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Data Communication and Computer Network

UPPER LAYER SWITCHING

Communication Networks. MAP-TELE 2011/12 José Ruela

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

How do I get to

Technical Support Information Belkin internal use only

DNS: Domain Names. DNS: Domain Name System. DNS: Root name servers. DNS name servers

Chapter 5. Data Communication And Internet Technology

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Networking Test 4 Study Guide

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Communication Systems Internetworking (Bridges & Co)

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Protocols. Packets. What's in an IP packet

Core Syllabus. Version 2.6 C OPERATE KNOWLEDGE AREA: OPERATION AND SUPPORT OF INFORMATION SYSTEMS. June 2006

Introduction to computer networks and Cloud Computing

Lecture 28: Internet Protocols

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

CSCI 362 Computer and Network Security

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

The OSI Model: Understanding the Seven Layers of Computer Networks

DL TC72 Communication Protocols: HDLC, SDLC, X.25, Frame Relay, ATM

Communications and Computer Networks

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

Protocols and Architecture. Protocol Architecture.

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Computer Networks Vs. Distributed Systems

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Ethernet. Ethernet. Network Devices

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Chapter 1: Introduction

How To Understand The Internet Of S (Netware)

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

CCNA 1: Networking Basics. Cisco Networking Academy Program Version 3.0

Introduction To Computer Networking

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

Chapter 2 - The TCP/IP and OSI Networking Models

Zarządzanie sieciami telekomunikacyjnymi

Introduction to TCP/IP

Layered Architectures and Applications

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

Chapter 1 Personal Computer Hardware hours

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Essential Curriculum Computer Networking 1. PC Systems Fundamentals 35 hours teaching time

Overview of TCP/IP. TCP/IP and Internet

The OSI & Internet layering models

Introduction to Computer Networks

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming

Protocol Data Units and Encapsulation

524 Computer Networks

architecture: what the pieces are and how they fit together names and addresses: what's your name and number?

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

CPS221 Lecture: Layered Network Architecture

Networks. The two main network types are: Peer networks

Communications and Networking

This course has been retired. View the schedule of current <a href=

Computer Networks III

The OSI Model and the TCP/IP Protocol Suite

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Lecture Computer Networks

WAN Data Link Protocols

Lecture 2: Protocols and Layering. CSE 123: Computer Networks Stefan Savage

Network Models OSI vs. TCP/IP

Network Security 網 路 安 全. Lecture 1 February 20, 2012 洪 國 寶

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

CS101 Lecture 19: Internetworking. What You ll Learn Today

an interconnected collection of autonomous computers interconnected = able to exchange information

Computer Networks - Xarxes de Computadors

IT4405 Computer Networks (Compulsory)

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Network Programming. Chapter The Client-Server Programming Model

Objectives of Lecture. Network Architecture. Protocols. Contents

Address Resolution Protocol (ARP)

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

Mathatma Gandhi University

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Transcription:

Overview of Computer Networks Client-Server Transaction Client process 4. Client processes response 1. Client sends request 3. Server sends response Server process 2. Server processes request Resource Most network applications are based upon client-server model Client: process that requests service Server: process that implements and provides service Client usually blocks until server responds Client and server use an application-level network protocol for communication 2 1

Networks and Internetworks Network: set of hierarchically connected hosts/devices LANs (Local area networks) SANs (system area networks) WANs (Wide area networks) Internetwork or internet: set of interconnected networks Internet (Global IP Internet) most famous example of an internet 3 Network types Range Bandwidth (Mbps) Latency (ms) SAN 1-10 m 1000-10000 0.01-10 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 4 2

Hardware Organization of a Network Host CPU chip Register file ALU System bus Memory bus Bus interface I/O bridge Main memory Expansion slots I/O bus USB controller Graphics Disk controller Network Mouse Keyboard Monitor Disk Network Local Area Networks Ethernet: conceptual view Host Host... Host Collection of hosts connected by wires to hubs and switches Bridges (switched) connect multiple Ethernet segments 3

Ethernet Segment Operation Host Host Host 100 Mb/s Hub 100 Mb/s Each Ethernet has a unique 48-bit address (MAC address) Hosts send bits to any other host in chunks called frames Hub slavishly copies each bit from each port to every other port Every host sees every bit Note: Hubs are on their way out. Bridges (switches, routers) became cheap enough to replace them (means no more broadcasting) Bridged Ethernet Segment A Host Host Host Host Host Hub B X Bridge 100 Mb/s 100 Mb/s Hub 1 Gb/s Host Host Host Hub Host 100 Mb/s Bridge 100 Mb/s Y Hub Host Host Host Bridges cleverly learn which hosts are reachable from which ports and then selectively copy frames from port to port C 4

Internets Host Host... Host Host Host... Host LAN Router Router Router WAN WAN LAN Multiple LANs can be physically connected by specialized computers called routers LANs may be of different types (i.e. different frame sizes, protocols) The connected networks are called an internet Network Protocols How is it possible to send bits across incompatible LANs and WANs? Solution: protocol software running on each host and router smooths out the differences between the different networks Implements an internet protocol (i.e., set of rules) governs how hosts and routers should cooperate when they transfer data from network to network TCP/IP is the protocol for the global IP Internet 10 5

The role of protocol software Host A Client Host B Server (1) Data (8) Data internet packet Protocol software Protocol software (2) Data PH FH1 (7) Data PH FH2 LAN1 frame LAN1 Router LAN2 (3) Data PH LAN1 FH1 LAN1 LAN2 LAN2 frame (6) Data PH FH2 LAN2 (4) Data PH FH1 Data PH FH2 (5) Protocol software Internetworking Protocol Provides a naming scheme An internet protocol defines a uniform format for host addresses Each host (and router) is assigned at least one of these internet addresses that uniquely identifies it Provides a delivery mechanism An internet protocol defines a standard transfer unit (packet) Packet consists of header and payload Header: contains info such as packet size, source and destination addresses Payload: contains data bits sent from source host 12 6

Conceptual layering of protocol software Message sent Message received Layer n Layer 2 Layer 1 Sender Communication medium Recipient 13 Protocol layers in the ISO Open Systems Interconnection (OSI) model 14 7

OSI protocol summary Layer Description Examples Application Protocols that are designed to meet the communication requirements of HTTP, FTP, SMTP, specific applications, often defining the interface to a service. CORBA IIOP Secure Sockets independent of the representations used in individual computers, which may ( SSL),CORBA Data differ. Encryption is also performed in this layer, if required. Rep. At this level reliability and adaptation are performed, such as detection of failures and automatic recovery. This is the lowest level at which messages (rather than packets) are handled. TCP, UDP Messages are addressed to communication ports attached to processes, Protocols in this layer may be connection-oriented or connectionless. Transfers data packets between computers in a specific network. In a WAN IP, ATM virtual or an internetwork this involves the generation of a route passing through circuits routers. In a single LAN no routing is required. Responsible for transmission of packets between nodes that are directly Ethernet MAC, connected by a physical link. In a WAN transmission is between pairs of ATM cell transfer, routers or between routers and hosts. In a LAN it is between any pair of hosts. PPP The circuits and hardware that drive the network. It transmits sequences of Ethernet base- band binary data by analogue signalling, using amplitude or frequency modulation signalling, ISDN of electrical signals (on cable circuits), light signals (on fibre optic circuits) or other electromagnetic signals (on radio and microwave circuits). Presentation Protocols at this level transmit data in a network representation that is Session Transport Network Data link Physical 15 Internetwork layers 16 8

Encapsulation as it is applied in layered protocols 17 Global IP Internet Most famous example of an internet Based on the TCP/IP protocol family IP (Internet protocol) : Provides basic naming scheme and unreliable delivery capability of packets (datagrams) from host-to-host UDP (Unreliable Datagram Protocol) Uses IP to provide unreliable datagram delivery from process-to-process TCP (Transmission Control Protocol) Uses IP to provide reliable byte streams from process-to-process over connections Accessed via a mix of Unix file I/O and functions from the sockets interface 18 9

TCP/IP layers Layers Application Transport Internet Network interface Underlying network Message Messages (UDP) or Streams (TCP) UDP or TCP packets IP datagrams Network-specific frames 19 Encapsulation in a message transmitted via TCP over an Ethernet Application message TCP header port IP header TCP Ethernet header IP Ethernet frame 20 10

Internet Protocol: Naming hosts and routers People: many identifiers: SSN, name, Passport # Internet hosts, routers: IP address (32 bit) - used for addressing datagrams name, e.g., gaia.cs.umass.edu - used by humans Q: map between IP addresses and name? Domain Name System: distributed database implemented in hierarchy of many name servers application-layer protocol host, routers, name servers to communicate to resolve names (address/name translation) 21 Internet address structure, showing field sizes in bits 22 11

Decimal representation of Internet addresses 23 Internet Domain Names unnamed root mil edu gov com First-level domain names mit cmu berkeley amazon Second-level domain names cs ece www 208.216.181.15 Third-level domain names cmcl pdl kittyhawk 128.2.194.242 imperial 128.2.189.40 12

DNS name servers Why not centralize DNS? single point of failure traffic volume distant centralized database maintenance doesn t scale! no server has all nameto-ip address mappings local name servers: each ISP, company has local (default) name server host DNS query first goes to local name server authoritative name server: for a host: stores that host s IP address, name can perform name/address translation for that host s name 25 DNS: Root name servers contacted by local name server that can not resolve name root name server: contacts authoritative name server if name mapping not known gets mapping returns mapping to local name server ~ dozen root name servers worldwide 26 13

Simple DNS example root name server host surf.eurecom.fr wants IP address of gaia.cs.umass.edu 1. Contacts its local DNS server, dns.eurecom.fr 2. dns.eurecom.fr contacts root name server, if necessary 3. root name server contacts authoritative name server, dns.umass.edu, if necessary local name server dns.eurecom.fr 1 2 6 requesting host surf.eurecom.fr 5 3 4 authorititive name server dns.umass.edu gaia.cs.umass.edu 27 The programmer's conceptual view of a TCP/IP Internet 28 14

Hardware and Software Organization of a Client-Server Application Internet client host Internet server host Sockets interface (system calls) Hardware interface (interrupts) Client TCP/IP Network User code Kernel code Hardware Server TCP/IP Network Global IP Internet 15