E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Similar documents
Chapter 2 Communicating Over the Network

Network Reference Models

Communicating over the Network

TCP/IP THE TCP/IP ARCHITECTURE

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

System Programming. Introduction to computer networks

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

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

Defining Networks with the OSI Model. Module 2

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

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Chapter 2. Communicating Over The Network

Network Architecture Models

Chapter 2 Network Models 2.1

Lecture-4. TCP/IP-Overview:

Communication Fundamentals in Computer Networks

Data Communication and Network. Introducing Networks

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

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

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Hands-On TCP/IP Networking

Chapter 3: Network Protocols and Communications

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

ITEC 3800 Data Communication and Network. Introducing Networks

Operating Systems CS 571

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

Time : 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups are directed. Group A.

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Network Review TEJ4M. SBrace

Need For Protocol Architecture

Need For Protocol Architecture

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

Lecture 3 Protocol Stacks and Layering

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

TCP/IP Protocol Suite and IP Addressing

Cisco Cisco Certified Network Associate (CCNA)

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

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

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

INTERNET & WORLD WIDE WEB (UNIT-1) MECHANISM OF INTERNET

Packet Switching, Layer Models and Protocol Suites

Networking Applications

Review of Important Networking Concepts

MEBS Utilities services M.Sc.(Eng) in building services Faculty of Engineering University of Hong Kong

Read addressing table and network map

CS3600 SYSTEMS AND NETWORKS

Chapter -4 OSI Reference Model

03 The Internet Model and TCP/IP

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

ES623 Networked Embedded Systems

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

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

Communication Networks

Chapter 3: Network Protocols and Communications CCENT Routing and Switching Introduction to Networks v6.0 Instructor Planning Guide

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

DATA COMMUNICATION AND NETWORKS

Copyleft 2005, Binnur Kurt. Objectives

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Networking and Health Information Exchange Unit 1a ISO Open Systems Interconnection (OSI) Slide 1. Slide 2. Slide 3

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

The Data Link Layer. 32 PART I Networking Basics

Introduction to Networking

NETWORK PACKET ANALYSIS PROGRAM

Chapter 2 Network Models 2.1

Peer entities. Protocol Layering. Protocols. Example

ECE4110 Internetwork Programming. Introduction and Overview

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

Networking and Health Information Exchange: ISO Open System Interconnection (OSI)

TCP/IP protocol suite

COMS Introduction to Computers. Networking

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Hands-On Ethical Hacking and Network Defense

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

The OSI Model. Level 3 Unit 9 Computer Networks

CPS221 Lecture: Layered Network Architecture


ECE 650 Systems Programming & Engineering. Spring 2018

Introduction to Networks

CS4700/CS5700 Fundaments of Computer Networks

Cross Layer Protocol Design. Radio Communication III

Interconnecting Networks with TCP/IP

Networking midterm. 5. As a data unit moves up from one protocol layer to another, control headers are:

Lab 1: Packet Sniffing and Wireshark

TSIN02 - Internetworking

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

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

PROGRAMMING Kyriacou E. Frederick University Cyprus. Network communication examples

ECE 4400:427/527 - Computer Networks Spring 2017

Lecture 2: Internet Architecture

OSI and TCP/IP Models

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

MTA_98-366_Vindicator930

Chapter 7. Local Area Network Communications Protocols

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

CIT 380: Securing Computer Systems. Network Security Concepts

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

ch02 True/False Indicate whether the statement is true or false.

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

Transcription:

E&CE 358: Tutorial 1 Instructor: Sherman (Xuemin) Shen TA: Miao Wang Email: m59wang@uwaterloo.ca 1

About Tutorials TA: Miao Wang Office: EIT 3133; Tutorials: Th 4:30 5:20 pm Topics Supplementary knowledge to lectures Assignments Any other you want, tell me. 2

Roadmap OSI Model TCP/IP protocol model Network protocol analyzer 3

Layered Network Model Why layering? Extremely wide range of services. Phone, email, file transfer, multimedia streaming Business/industry critical functions (funds transfer, base update and query) Traditional radio and television Flexibility Grouping of communication function Adapt to future services 4

Open System Interconnection (OSI) Reference Model Layers 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical 5

Application Layer Layers 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical Network Applications Mail Web File Transfer Management Remote connections Datagram called Upper Layer Data/Message 6

Presentation Layer Layers 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link 1 Physical Context for communication between layers (format conversion) Encryption and decryption (security) Data Compression Datagram called Upper Layer Data 7

Session Layer Layers 7 Application 6 Presentation 5 Session 4 Transport User ID; Login for end-to-end transmission Duplexing, termination, restart Datagram called Upper Layer Data 3 Network 2 Data Link 1 Physical 8

Transport Layer Layers 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data Link Provides transparent transfer of TCP and UDP End-to-end connection Reliability Flow control Datagrams called Segments 1 Physical 9

Network Layer Layers 7 Application 6 Presentation 5 Session 4 Transport Provides connections between hosts on different networks IPv4 and IPv6 Routing of packets Datagrams are called Packets 3 Network 2 Data Link 1 Physical 10

Data Link Layer Layers 7 Application 6 Presentation 5 Session 4 Transport Provides connections between hosts on the same network Ethernet MAC address Datagrams are called Frames 3 Network 2 Data Link 1 Physical 11

Physical Layer Layers 7 Application 6 Presentation 5 Session 4 Transport Describe electrical and physical specifications for devices Bit movement Data is called Bits 3 Network 2 Data Link 1 Physical 12

A Summary of OSI Model Layers Description Datagrams 7 Application Allows user access to network, provide services to users. 6 Presentation Data representation, encryption and decryption, etc 5 Session Set up, maintain the session (connection), Login, etc. 4 Transport Reliable transmission of packets from source to destination (end to end). 3 Network Routing: guides the packet from source to destination 2 Data Link Reliable transmission from node to node 1 Physical Transmits raw bit stream over channel Upper layer Upper layer Upper layer Segment Packet Frame Bits 13

Protocol Reference Model of OSI Layers Application Presentation Session Transport Network Data Link Physical Data unit Data Data Data Segments Packet/ Datagram Frame Bit Data encapsulation and decapsulation a)header or trailer attached at each layer aim to perform certain functions at each layer. b) Headers are added while a unit is going down the stack at each layer. c) Each protocol on the different layer has its own format. 14

Protocols at Each Layer Layer Application Presentation Session Transport Network Data Link Physical Protocols Telnet, SMTP, HTTP, FTP, IMAP, POP3, SNMP MPEG, ASCII, TLS, SSL NetBIOS, SAP TCP, UDP IPv4, IPv6, ICMP, IPSec, ARP, MPLS MPLS, RARP, Ethernet, 802.11x, PPP, ATM, FDDI, Fiber Channel DSL, 10BaseT, 100BaseTX, ASK, PSK, FSK 15

TCP/IP Model (Transmission Control Protocol/Internet Protocol) 7 Application 6 Presentation 5 Application 5 Session 4 Transport 4 Transport 3 Network 3 Internet 2 1 Data Link Physical 2 1 Data Link Physical Network Interface Layer OSI Model Layers TCP/IP Protocol Model The application layer in TCP/IP is equivalent to the combined session, presentation, and application layers in the OSI model. 16

TCP/IP Protocol Model Application layer : responsible for providing services to the user. e.g., FTP, SMTP, Http, etc Transport layer : responsible for the delivery of application from source to destination. e.g., TCP(reliable delivery), UDP. Internet layer : responsible for the delivery of individual packets from the source host to the destination host. Main functions: forwarding and routing. e.g., IP, etc Data link layer: responsible for hop-to-hop (node-to-node) delivery Major duties: framing, flow control, error control, access control. e.g., Ethernet, 802.11(Wireless lan), etc Physical layer : responsible for movements of individual bits from one hop (node) to the next over a physical medium. It maps incoming bits from the link layer into signals appropriate to the channel. 17

Data encapsulation and transmission source segment packet frame MAC IP TCP H t H n TCP IP TCP application transport internet link physical MAC IP TCP link physical switch segment packet frame MAC IP TCP H t H n TCP IP TCP destination application transport internet link physical MAC IP H n TCP IP TCP internet link physical MAC IP TCP router 18

Communication at application layer A B Application Legend Source Destination D Data H Header Application Transport Network Data link Physical R1 R3 R4 Transport Network Data link Physical D5 D5 Message The unit of communication at the application layer is a message/. D5 D5 Message 19

Communication at transport layer Transport A Legend Source Destination D Data R1 R3 R4 H Header B Transport Network Network Data link Data link Physical Physical D4 H4 Segment The unit of communication at the transport layer is a segment. D4 H4 Segment 20

Communication at transport layer The port number is used in the transport layer header to indicate to which application that piece of is associated. Sequence numbers are assigned in the header of each segment to reassemble the segments into the original order. 21

Communication at the internet layer Legend Source Destination D Data H Header A R1 R3 R4 B Network Network Data link Data link Physical Physical D3 H3 Datagram The unit of communication at the internet layer is a gram/packet. The IP address of source and destination never change in transmission. D3 H3 Datagram 22

Communication at the internet layer Network layer receive the from the transport layer, ie., the segment, and add IP header to create the packet/gram. Network layer provides services to guide/direct the packet to the destination host. 23

Communication at the link layer Legend Source Destination D Data H Header A R1 R3 R4 B Data link Data link Physical Link 1 Link 3 Link 5 Link 6 Physical D2 H2 Frame D2 H2 Frame D2 H2 Frame The unit of communication at the link layer is a frame. D2 H2 Frame 24

Communication at the link layer Data Link layer protocols governs how to format a frame for use on different media ( e.g., copper, fiber, and wireless network media.). Different protocols may be in use for different media. (ethernet frame, 802.11 wireless frame, etc) 25

Communication at the physical layer Legend Source Destination Physical layer A R1 R3 R4 B Physical layer Link 1 Link 3 Link 5 Link 6 011... 101 011... 101 011... 101 011... 101 The unit of communication at the physical layer is a bit. For different physical medium, the physical layer might choose different techniques. 26

Communication at the physical layer The Physical layer controls how is transmitted on the communication media. The role of the Physical layer is to encode the binary digits that represent Data Link layer frames into signals and to transmit and receive these signals across the physical media - copper wires, optical fiber, and wireless - that connect network devices. It is also the job of the Physical layer to retrieve these individual signals from the media, restore them to their bit representations, and pass the bits up to the Data Link layer as a complete frame. 27

Network protocol analyzer Wireshark is the world's leading network protocol analyzer. It lets you capture and interactively browse the traffic running on a computer network. Let s use Wireshark to analyze the frames and understand how the layers work in real life. 28

Summary Layering TCP/IP protocol suite Network Analyzer: Wireshark 29