Subnetting and addresses revisited

Similar documents
Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

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

Chapter 2 Network Models 2.1

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

System Programming. Introduction to computer networks

Network Model: Each layer has a specific function.

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

TCP/IP THE TCP/IP ARCHITECTURE

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

Network Architecture Models

Communication Networks

Data and Computer Communications

Faculty of Science and IT Course title. Pre-requisite/corequisite

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

Interconnecting Networks with TCP/IP

Defining Networks with the OSI Model. Module 2

Chapter 7. Local Area Network Communications Protocols

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Layered Architecture

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

EE 610 Part 2: Encapsulation and network utilities

Review of Important Networking Concepts

L6: OSI Reference Model

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Grundlagen der Rechnernetze. Introduction

Review of Lecture 1. EEC-484/584 Computer Networks. Network Hardware. Outline. Lecture 2. Wenbing Zhao

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

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Basics of communication. Grundlagen der Rechnernetze Introduction 31

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Need For Protocol Architecture

Chapter 2 Network Models 2.1

TCP/IP and the OSI Model

TSIN02 - Internetworking

CS3600 SYSTEMS AND NETWORKS

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

Chapter 6: Network Communications and Protocols

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

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

TSIN02 - Internetworking

The Internet Protocol (IP)

EEC-484/584 Computer Networks

Data & Computer Communication

Need For Protocol Architecture

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

TCP/IP Protocol Suite and IP Addressing

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Computer Communication and Networks

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

Computer Networks and reference models. 1. List of Problems (so far)

CS164 Final Exam Winter 2013

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Computer Networks (Introduction to TCP/IP Protocols)

Network Protocols - Revision

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

OSI Transport Layer. objectives

Chapter 3 Protocols and the TCP/IP Suite

TCP /IP Fundamentals Mr. Cantu

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

OSI Layers (Open System Interconnection)

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

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

Peer entities. Protocol Layering. Protocols. Example

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.

The Client Server Model and Software Design

TSIN02 - Internetworking

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

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

Introduction to Protocols

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

Networking Background

CSCD 433/533 Advanced Networks

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

University of Southern California EE450: Introduction to Computer Networks

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material

ECE4110 Internetwork Programming. Introduction and Overview

EEC-484/584 Computer Networks

NT1210 Introduction to Networking. Unit 10

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

1: Review Of Semester Provide an overview of encapsulation.

Additional Material. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Information Network I/No.

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

ITEC 3800 Data Communication and Network. Introducing Networks

Network Reference Models

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

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Chapter 1. Chapter 1. Data Communications and Network Management Overview

IP - The Internet Protocol

QUESTION BANK UNIT-I

Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

Data Communication and Network. Introducing Networks

Cisco Interconnecting Cisco Networking Devices Part 1.

Overview of TCP/IP Overview of TCP/IP protocol: TCP/IP architectural models TCP protocol layers.

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

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

Chapter -4 OSI Reference Model

Chapter 16 Networking

Transcription:

Subnetting and addresses revisited Smaller networks using one network address Hierarchy Better organization Better use of resources Addresses (network, host, broadcast) Grundlagen der Rechnernetze Introduction 73

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: How many hosts can we have in each subnet? What are the subnet addresses for these two subnets? What are corresponding subnet masks? What set of IP addresses cover these subnets? What are CIDR notations for subnets? Grundlagen der Rechnernetze Introduction 74

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: How many hosts can we have in each subnet? 2 subnets = address space of 2^7 addresses Number of hosts = 2^7 host address broadcast address = 126 Grundlagen der Rechnernetze Introduction 75

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: What are the subnet addresses for these two subnets? 217.110.20.0 217.110.20.128 Grundlagen der Rechnernetze Introduction 76

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: What are corresponding subnet masks? 255.255.255.128 255.255.255.128 Grundlagen der Rechnernetze Introduction 77

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: What set of IP addresses cover these subnets? 217.110.20.0 217.110.20.127 217.110.20.128 217.110.20.255 Grundlagen der Rechnernetze Introduction 78

Subnetting example [1] We have been given one class C network address: 217.110.20.0 that we want to divide it into two subnets. The questions are: What are CIDR notations for subnets? 25 for both networks 217.110.20.0 / 25 217.110.20.128 / 25 Grundlagen der Rechnernetze Introduction 79

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: What are the subnet addresses for these three subnets? What are corresponding subnet masks? What set of IP addresses cover these subnets? What are CIDR notations for subnets? Grundlagen der Rechnernetze Introduction 80

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: Actual first question is what are the sizes of those three subnets 64 < 101 < 128 => 32 < 44 < 64 => 32 < 60 < 64 => Grundlagen der Rechnernetze Introduction 81

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: What are the subnet addresses for these three subnets? 217.110.20.0 217.110.20.128 217.110.20.192 Grundlagen der Rechnernetze Introduction 82

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: What are corresponding subnet masks? 255.255.255.128 255.255.255.192 255.255.255.192 Grundlagen der Rechnernetze Introduction 83

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: What set of IP addresses cover these subnets? 217.110.20.0 217.110.20.127 217.110.20.128 217.110.20.191 217.110.20.192 217.110.20.255 Grundlagen der Rechnernetze Introduction 84

Subnetting example [2] We have been given one class C network address: 217.110.20.0 that we want to divide it into three subnets, the first having 101 hosts, second 44 and the third 60. The questions are: What are CIDR notations for subnets? 217.110.20.0 / 25 217.110.20.128 / 26 217.110.20.192 / 26 Grundlagen der Rechnernetze Introduction 85

Addresses example Given are following IP addresses in CIDR notation. Determine whether these addresses are subnet, host or broadcast addresses. 1. 192.168.0.17 / 24 2. 14.195.1.191 / 26 3. 112.127.0.0 / 14 4. 112.127.0.0 / 16 Grundlagen der Rechnernetze Introduction 86

Addresses example Given are following IP addresses in CIDR notation. Determine whether these addresses are subnet, host or broadcast addresses. 1. 192.168.0.17 / 24 => Host address, host bits are different from 0 Grundlagen der Rechnernetze Introduction 87

Addresses example Given are following IP addresses in CIDR notation. Determine whether these addresses are subnet, host or broadcast addresses. 2. 14.195.1.191 / 26 => Broadcast address, host bits are all equal to 1 Grundlagen der Rechnernetze Introduction 88

Addresses example Given are following IP addresses in CIDR notation. Determine whether these addresses are subnet, host or broadcast addresses. 3. 112.127.0.0 / 14 => Host address, host bits are different from 0 Grundlagen der Rechnernetze Introduction 89

Addresses example Given are following IP addresses in CIDR notation. Determine whether these addresses are subnet, host or broadcast addresses. 4. 112.127.0.0 / 16 => Network address, host bits are equal to 0 Grundlagen der Rechnernetze Introduction 90

Protocols and layers Grundlagen der Rechnernetze Introduction 91

Protocol and interface Host 1 Host 2 High Level Object High Level Object Service Interface Service Interface Protocol Peer to peer Interface Protocol Grundlagen der Rechnernetze Introduction 92

Protocol and interface Host 1 Host 2 High Level Object Service Interface High Level Object Service Interface Interoperability Protocol vs algorithm Protocol Peer to peer Interface Protocol Grundlagen der Rechnernetze Introduction 93

Message sequence chart (MSC) H1 H2 Grundlagen der Rechnernetze Introduction 94

Message sequence chart (MSC) H1 H2 RTS RTS request to send CTS CTS clear to send Data Data useful data Grundlagen der Rechnernetze Introduction 95

Protocol state machine connection request/ connection response file request/ file response Wait for connection request Wait for file request close request Grundlagen der Rechnernetze Introduction 96

Example H N S Service primitives: File f GET_FILE(), void ABORT_FILE_RETRIVAL(),... States: CLIENT_IDLE, CLIENT_WAITS_FOR_FILE,... Timeline: if client waits 1000ms then change to state CLIENT_ERROR Message format: FILE_REQUEST_MESSAGE: CLIENT_ADR SERVER_ADR FILE_NAME Grundlagen der Rechnernetze Introduction 97

Protocol graph Host 1 Host 2 Protocol 1 Protocol 2 Protocol 1 Protocol 2 Protocol 3 Protocol 3 Protocol 4 Protocol 4 98

Message encapsulation Host 1 Application 1 Data Protocol 1 Host 2 Application 1 Data Protocol 1 H1 Data H1 Data Protocol 2 Protokoll 2 H2 H1 Data H2 H1 Data Protocol 3 Protocol 3 H3 H2 H1 Data 99

Multiplexing and demultiplexing Host 1 Host 2 Protocol 1 Protocol 2 Protocol 1 Protocol 2 Protocol 3 Protocol 3 Protocol 4 Protocol 4 100

Protocol stack practical example Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 101

OSI model OSI Open System Interconnection Communication subnet boundary Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 102

OSI model concepts Service set of operations that layer provides to the layer above it Protocol set of rules that determine the format and meaning of the packets (messages) that are exchanged Analogy with OO programming languages: services abstract data types; protocols implementation of services Source: Andrew S. Tanenbaum, Computer Networks, Fifth Edition, 2011 Grundlagen der Rechnernetze Introduction 103

OSI model OSI Principles: 1. A layer should be created where a different abstraction is needed. 2. Each layer should perform a well defined function. 3. The function of each layer should be chosen with an eye toward defining internationally standardized protocols. 4. The layer boundaries should be chosen to minimize the information flow across the interfaces. 5. The number of layers should be large enough that distinct functions need not be thrown together in the same layer out of necessity and small enough that the architecture does not become unwieldy. Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 104

OSI model Physical layer transmitting raw bits (or signal in general) over the communication channel Data link layer organizes raw data into the data frames (order of 100 1000 of bytes) and transmits frames sequentially. Sending back ACK in reliable services. Traffic regulation when we have fast transmitter and slow receiver. Control of access to the shared medium separate sublayer media access control Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 105

OSI model Network layer controls operation of subnet, determines how packets are routed from source to destination. Possible different types of routes static tables, routes that can be updated (at the start of each conversation) and highly dynamic routes. Handling congestion (too many packets received). Transport layer accepts data above it and splits it in smaller units, passing them to the lower layers. End to end layer carries communication from source to the destination. Delivering in the order in which bytes were sent or delivering isolated messages or broadcast to multiple destinations Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 106

OSI model Session layer allows different machines (users) to establish sessions: dialog control (whose turn is to transmit), token management (preventing two parties to attempt same critical operation) and synchronization. Presentation layer syntax and semantics of the information. Manages abstract data structures Application layer protocols needed by users Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 107

OSI model Source: Andrew S. Tanenbaum, Computer Networks, Fourth Edition, 2003 Grundlagen der Rechnernetze Introduction 108

Internet model (TCP/IP reference model) Source: Andrew S. Tanenbaum, Computer Networks, Fifth Edition, 2011 Grundlagen der Rechnernetze Introduction 109

Internet model (TCP/IP reference model) Link layer interface between hosts and transmission (not a layer in standard sense) Internet layer corresponds to network layer. Internet between the networks. Modeled over snail mail, series of packets delivered using one or more gateways. Internet Protocol (IP) and Internet Control Message Protocol (ICMP) Source: Andrew S. Tanenbaum, Computer Networks, Fifth Edition, 2011 Grundlagen der Rechnernetze Introduction 110

Internet model (TCP/IP reference model) Transport layer above internet layer, allows conversation between the source and destination. Transport Control Protocol (TCP) reliable transmission and User Datagram Protocol (UDP) connectionless protocol Application layer high level protocols. Early examples: Telnet (virtual terminal), FTP (file transfer), SMTP (electronic mail) Source: Andrew S. Tanenbaum, Computer Networks, Fifth Edition, 2011 Grundlagen der Rechnernetze Introduction 111

Internet protocols Source: Andrew S. Tanenbaum, Computer Networks, Fifth Edition, 2011 Grundlagen der Rechnernetze Introduction 112

Comparisons (critique) of OSI and TCP/IP model OSI model Model made before protocols were made (good and bad) Bad technology and implementations (empty layers, big and slow) TCP/IP Protocols then models Not general it cannot describe anything else but TCP/IP Does not distinguish services, services and protocols Link layer not a real layer; no distinction between physical and data layer In general a lot of ad hoc solutions Grundlagen der Rechnernetze Introduction 113