Lecture #9 Introduction to communication networks

Similar documents
Communication Networks

Lecture #11 Power system communication

Lecture 14. Course wrap up & Smartgrid Architectures. Professor Lars Nordström Dept of Industrial Information & Control systems, KTH

OSI and TCP/IP Models

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Cisco Cisco Certified Network Associate (CCNA)

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

ECE4110 Internetwork Programming. Introduction and Overview

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Link Layer and Ethernet

Network Model. Why a Layered Model? All People Seem To Need Data Processing

EE 610 Part 2: Encapsulation and network utilities

Link Layer and Ethernet

ECE 650 Systems Programming & Engineering. Spring 2018

Data Communication and Network. Introducing Networks

TCP/IP and the OSI Model

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Raj Jain. The Ohio State University Columbus, OH

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Networking interview questions

Operating Systems CS 571

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Lab - Using Wireshark to Examine a UDP DNS Capture

Lab - Using Wireshark to Examine a UDP DNS Capture

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Sirindhorn International Institute of Technology Thammasat University

Special expressions, phrases, abbreviations and terms of Computer Networks

Study Guide. Module Two

Lecture-4. TCP/IP-Overview:

Lecture (03) (I) OSI Reference Model

ITEC 3800 Data Communication and Network. Introducing Networks

Review of Important Networking Concepts

COMS Introduction to Computers. Networking

Defining Networks with the OSI Model. Module 2

Communicating over the Network

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

CSCD 433/533 Advanced Networks

Network Reference Models

Scribe Notes -- October 31st, 2017

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Chapter 2 Network Models 2.1

Network Architecture Models

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

CS3600 SYSTEMS AND NETWORKS

Applied Networks & Security

Layer 2 functionality bridging and switching

TCP /IP Fundamentals Mr. Cantu

ก ก Information Technology II

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Summary of MAC protocols

Introduction to Networks

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Chapter 11: Wide-Area Networks and the Internet

Networking and Internetworking 1

Chapter 6: DNP Introduction. 6.2 Features of the DNP The OSI/ISO model. 6.3 Basic topology

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Introduction to Networking

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

AppleTalk. Chapter Goals. Introduction CHAPTER

How does the Internet Work? The Basics: Getting a Web Page. The Basics: Getting a Web Page. Client-Server model. The Internet: Basics

M242 COMPUTER NETWORS AND SECURITY

TCP/IP Networking Basics

Medium Access Protocols

cs144 Midterm Review Fall 2010

Introduction to TCP/IP networking

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Internet Overview. Introduction to Internet Technology Overview of Web Authoring. Internet Technology 1

Mobile MOUSe ROUTING AND SWITCHING FUNDAMENTALS ONLINE COURSE OUTLINE

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

Typical Network Uses

Introduction to Protocols

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Lecture 11: Networks & Networking

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Number: Passing Score: 750 Time Limit: 120 min File Version: 1.0. Microsoft Exam Name: Identity with Windows Server 2016 (beta)

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

Single Network: applications, client and server hosts, switches, access links, trunk links, frames, path. Review of TCP/IP Internetworking

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Data & Computer Communication

Switching on our smartphone and sending an to a friend living 5000 km from our home is something that we take for granted, but that involves a

Network Architecture

Computer Networks (Introduction to TCP/IP Protocols)

Principles behind data link layer services:

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Chapter 2 Network Models 2.1

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Lecture 3 Protocol Stacks and Layering

a. the physical layer, b. and the data-link layer. a. three physical layers, b. three data-link layers, c. and only one network layer.

Transcription:

KTH ROYAL INSTITUTE OF TECHNOLOGY Lecture #9 Introduction to communication networks Nicholas Honeth <honeth@kth.se> In this series Lecture #9 Communication protocol basics Relationship between OSI and SGAM Hands-on exercise: Wireshark and HTTP Lecture #10 OSI model physical layer Topologies Media Access Control Routing TCP/IP Exercise: Traceroute, ping and Wireshark 1

In this series Lecture #11 Power systems communication Wireshark exercises Lecture #12 Delay & Jitter Quality-of-Service Loss and Throughput Time synchronization Project assignment Q&A Recap Computers and Networks in Power Systems 2

Recap Substation Networks Recap SCADA Networks Hydro Plant X HMI OPF Control Center State Estimator AGC Substations SCADA Server A SCADA Server B Front End Archive Database SCADA Database Mirror Communicati on Network 3

Recap SCADA Networks Recap Integrated Networks 4

Recap Power Engineers Hydro Plant X O P F State Estim ator H M I Contr ol Cente r Subs tatio ns Com munic ation Netwo rk Recap Modern substation 5

SGAM model Communication Layer IEC 61968-100 Protocols! IEC 61968-100 IEC 61850-8-1 ADSL IEC 61850-8-1 GPRS Dictionary: Computers. a set of rules governing the format of messages that are exchanged between computers. IEC 61850-8-1 IEEE 1901.1 Protocol Basics Basic Protocol HTTP protocol example Wireshark Some observations from the example 6

Protocol Basics Basic protocol Client Server Protocol Basics Basic protocol We use these continuously! 7

Protocol Basics HTTP protocol Protocol Basics HTTP protocol 8

Protocol Basics HTTP protocol Protocol Basics HTTP protocol 9

Protocol Basics HTTP protocol What program/application does the student use to access the service? An application that implements the protocol - browser How is the desired service identified? URL - Uniform Resource Locator How does the student request information? HTTP GET message How does the student host know where to send the request? IP address Routing table What carries the message to the service provider? Network infrastructure LAN -> Internet (WAN) Communication Networks Wireshark Example using Wireshark: Set Wireshark filter to only capture HTTP Start the recording Request the service (a website in this case) Watch the capture Stop the capture when complete Analyse the results 10

Communication Networks DNS protocol - example Communication Networks Wireshark 11

Protocol Basics Some observations from the HTTP protocol example Some observations: Often need multiple services to access the desired service eg. DNS translates hostname in URL to IP-address and HTTP is used to fetch the webpage data There appear to be layers in the protocols Some of the layers are common even when different applicationlayer services are used eg. Ethernet, IP There are some containers used: Datagram Packet Frame Identification of host, service, source, destination: MAC 00:0e:8e:04 IP 192.168.0.1 Port 80 (HTTP) Layering OSI model long version OSI model short version Headers OSI layers Application layer Transport layer Network layer Data link layer Physical layer Transition between layers 12

Layering Is NOT the SGAM model, be aware of the distinction. Each layer encapsulates the container of the layer above Identification and addressing information for each layer MAC-address IP-address 11001011011 Bitstring Frame Packet Layering Units of high-level protocol data eg. HTML Data is segmented, sometimes into streams (TCP) or datagrams (UDP) Each segment is packaged to be sent across a network. The package is enclosed in a frame to be sent on the link eg. Ethernet The frame is transmitted as a string of binary bits on the physical media eg. UTP Data Segments Packets Frames Bits 13

Host Media 04/11/2015 Short version Session and Presentation layers viewed as application-internal and are not modeled Lower 3 layers part of network infrastructure. More generalized Application Transport Top layers mainly associated with hosthost applications. Application specific eg. HTTP Network Data Link Physical 14

Headers Additional information for each OSI layer: Contained in headers: Transport Source/destination port Network Source/destination IP address Data Link Source/destination MAC address Application Transport Network Data Link Physical Application layer Application protocols like HTTP FTP SSH Application In power systems: MMS (IEC 61850-8-2) IEC 60870-5-104 (an RTU protocol over IP) More about this later 15

Transport layer Transport layer protocols include: Transmission Control Protocol (streams) User Datagram Protocol (datagrams) Transport TCP header fields Source/destination port Sequence number Acknowledgement (Ack) number Window size Checksum Options Network layer Routing of packets at this layer A router forwards packets toward destination Internet Protocol Network IP header fields Source/destination IP address Time-to-live prevents immortal lost packets Unique ID Checksum Options 16

Data Link layer Transfer data between adjacent nodes on a link Do not cross boundary of a local network Media Access Control (MAC) Logical Link Control (LLC) Data Link Ethernet frame header Preamble Source/destination MAC address Acknowledgement (Ack) number Payload size Cyclic redundancy check (CRC) 12-octet interframe gap Data Link layer Media Access Control (MAC) Determines who gets access to the medium - Token passing Whoever has the token can send Data Link - Carrier Sense Multiple Access (CSMA) Listens whether someone is sending - Collision Detection (CD) Bits transmitted on the medium collide Collision needs to be resolved 17

Data Link layer Logical Link Control (LLC) Multiplexing network layer packets Error handling in some link layer protocols Data Link Physical layer Bit-by-bit delivery Specifies Medium (guided/unguided) - Cable/Fibre/Radio Connector types Cable length Physical Signal characteristics Voltage Frequency of carrier signal Impedence Line coding Tuned for physical channel For modulation Signalling Start/stop 18

Protocol 04/11/2015 Layer 3 Layer 2 Layer 1 Transition between layers 19

Circuit and Packet Switching Circuit switching Packet switching Circuit and Packet Switching Circuit Switching Like an old telephone network Fixed connection Follows same route Routers need to maintain status Handshake required TCP does this Allows for host flow control Reliable delivery 20

Circuit and Packet Switching Packet Switching Like the postal service No connections Follows stochastic route Stateless routers IP is packet switched Most link-layer protocols Communication Networks Recap of example Host Switch Router Backbone Routers Server Firewall 21

SGAM model Remember? SGAM model Communication Layer 22

SGAM model Communication Layer Multi-services backhaul network Low-end intrasubstation network SGAM model Communication Layer with OSI model IEC 61968-100 IEC 61968-100 IEC 61850-8-1 TCP IP/AAL ATM Twisted pair IEC 61850-8-1 TCP IP/X.25 LLC/RLC/MAC GSM Radio Freq IEC 61850-8-1 TCP IP IEEE 1901.1 Powerline 23

Class exercise Wireshark Install Wireshark: https://www.wireshark.org/ Example using Wireshark: Set Wireshark filter to only capture HTTP Start the recording Request the service (a website in this case) Watch the capture Stop the capture when complete Analyse the results Communication Networks Conclusion We can view networks in terms of the OSI layered model The lowest 3 layers provide the infrastructure for transmitting and delivering messages The higher layers implement the host-based application-specific communication A combination of protocols can be used to provides services eg. DNS lookup before sending HTTP GET Now we can say a lot more about the process and station bus 24

What to expect next Topology of a network What to expect next Topology of a network Media Access Control Techniques Routing and addressing Protocols found in SCADA and SAS 25