Tutorial (03) IP addresses & Sub netting



Similar documents
Classful IP Addressing (cont.)

How To Make A Network Address Prefix Smaller

ICS 351: Today's plan

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

IP address format: Dotted decimal notation:

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

TCP/IP Basis. OSI Model

IP Addressing. IP Addresses. Introductory material.

PART IV. Network Layer

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

Internet Protocol Address

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management

Internet Addresses (You should read Chapter 4 in Forouzan)

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Subnetting/Supernetting and Classless Addressing

IP Addressing Introductory material.

Chapter 19 Network Layer: Logical Addressing 19.1

Lab#2: IP Addressing and Subnetting

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Internetworking and IP Address

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address.

VLSM and CIDR Malin Bornhager Halmstad University

Future Internet Technologies

IP Addressing A Simplified Tutorial

Table of Contents. Cisco IP Addressing and Subnetting for New Users

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

IP Subnetting and Addressing

(Refer Slide Time: 02:17)

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Savera Tanwir. Internet Protocol

1. How many unique network IDs are there in class A addresses? # of unique hosts?

CCNA Tutorial Series SUBNETTING

Network layer: Overview. Network layer functions IP Routing and forwarding

Desirable Properties Of An Internet Addressing Scheme

Advanced IP Addressing

Network layer. Assignment 3

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

IP Addressing and Subnetting for New Users

Question Question Question EdTech 552: Lab 3 Answer Sheet

Networking Basics for Automation Engineers

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Introduction to IP v6

Type of addressing in IPv4

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

SNMP/HTTP Access Control User Manual

Subnetting IPv4 and IPv6

5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

Chapter 3: IP Addressing and VLSM

Subnetting. TELE301 Laboratory Manual. 1 In-Class Exercises Subnetting in IPv6... 4

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine


1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks

Chapter 4. IP Addresses: Classful Addressing

CONFIGURING TCP/IP ADDRESSING AND SECURITY

Table of Contents 1 IP Addressing Configuration 1-1

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

2.3 IPv4 Address Subnetting Part 2

Variable length subnetting

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

Internetworking and Internet-1. Global Addresses

8.2 The Internet Protocol

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

We Are HERE! Subne\ng

Internetworking With TCP/IP

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Lab IP Addressing Overview

Internet Protocols. Addressing & Services. Updated:

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

The Subnet Training Guide

IPv6.marceln.org.

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Lecture 10. Subnetting & Supernetting

Lecture 10. Subnetting & Supernetting. Supernetting. Subnetting. Outline. medium org: N x class C? Class B? Variable Length Subnet Mask (VLSM)

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

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

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Lecture Computer Networks

IP addressing and forwarding Network layer

Chapter 4 Network Layer

Number of bits needed to address hosts 8

IP Addressing. and Subnetting. Workbook Version 1.5. Student Name:

IP Subnetting. Subnetting

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Understanding IP Addressing: Everything You Ever Wanted To Know

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

Transcription:

Tutorial (03) IP addresses & Sub netting Dr. Ahmed M. ElShafee ١

Agenda IP Addressing Conventions Original IPv4 Address Classes Subnetting CIDR (Classless InterDomain Routing) ٢

IP Addressing Conventions 32 bits (4 bytes) unique value for each host Address composed of 2 parts (2 level hierarchy): Prefix (network ID): identifies network to which host attaches Suffix (host ID ): identifies host on that network Dotted decimal notation: Each byte is written in decimal in MSB order, separated by decimals. Example: ٣

All hosts on same network assigned same address prefix Prefixes assigned by central authority Obtained from ISP Each host on a network has a unique suffix Assigned locally by system admin Local administrator must ensure uniqueness DHCP: Dynamic Host Configuration Protocol: dynamically get address from a server ٤

Original IPv4 Address Classes There are two types of classifications Class full addresses Classless addresses Class full address Three principles class (A, B, C) Other classes (D, E) ٥

Class A: (1.0.0.0 127.255.255.255) For very large organizations 2 7 2 = (126) networks, 16 million hosts allowed ٦

Class B: (128.0.0.0 191.255.255.255) For large organizations 2 14 2 = 16 K networks, 64 K hosts allowed ٧

Class C: (192.0.0.0 223.255.255.255) For small organizations 2 21 2 =2 M networks, 254 hosts allowed ٨

Class D: (224.0.0.0 239.255.255.255) Multicast addresses No network/host hierarchy ٩

Class E: reserved for experiments ١٠

Broadcasting rules ١١

Example Consider an organization that has 2 networks, each with 500 hosts 2 prefixes are assigned to the organization (one per network), which class? Class C: supports up to 254 hosts, too small Class B: supports up to 65634 hosts, too large Class B should be chosen, how many addresses are wasted? ١٢

Class full advantages: simple, easy to understand Class full disadvantages limited address space 2 32 = 4G addresses, not enough. limited network size choices (3) Ex.: what if a class C net needs to grow beyond 255 hosts? moving to a new network requires changing IP addresses ١٣

Internet is expanding; depletion of addresses (running out of classes A and B) Class B sparsely populated (too big), People refuse to give it back Very few LANs have close to 64 K hosts Class C too small. Solution: Subnetting Classless addressing (CIDR) ١٤

Subnetting A class B address is divided into two parts: network part and local part Local part is further divided locally into subnet and host parts Network part is interpreted as before (no change) Splitting is done internally, yet looks like a single network to the outside world A single network address spans multiple physical networks ١٥

Class C address: ١٦

2 physical networks sharing the same network prefix 128.10 (same organization) Router Ruses third byte to differentiate between the 2 networks Appears as a single network with prefix 128.10 for the outside world ١٧

Subnet mask needed to differentiate between different sub nets Allows hosts to determine if another IP address is on the same sub net or the same network l's represent network part, O's represent host part ١٨

Example 01 Assume an organization with multiple subnets is assigned address 150.100.0.0. Assume each subnet has up to 120 hosts How many host bits do we need? What is the maximum number of subnets What is the network mask? ١٩

Example 02 Consider a class B network 166.113.0.0, with a total of 15 subnets and the largest has 450 hosts. Suggests four acceptable options for subnetting. Which one would you choose ٢٠

٢١

Subnetting problems Continued Internet growth (running out of IP addresses) Subnetting insufficient Prediction made in 1993: We will exhaust the address space "in a few years". Solution: Classful ip and Sub netting: forget about them CIDR (Classless InterDomain Routing): get rid of classes ٢٢

CIDR (Classless InterDomain Routing) get rid of classes Temporary fix until next generation of IP (extending the IPv4 life) Backward compatible with class full addressing Extend variable length subnet technology to prefixes Do not use classes to determine network ID. Network part can be any number of bits long Address written as a.b.c.d/x a.b.c.d: IP prefix X:address mask length (how many bits used to specify the network ٢٣

Example: 214.5.480.0/20 Prefix occupies 20 bits Suffix occupies 12 bits Class A network is a /8 Class B network is a /16 Class C network is a /24 ٢٤

Example Consider a relatively small company with a Class C network, 201.45.222.0, and 6 subnetworks {S1, S2,..., S6}. S1, S2, S3 and S4 are relatively small, containing only 10 hosts each, S5 has S5 hosts and S6 has 100 hosts. Suggest an efficient way to assign IP range for each subnetwork. ٢٥

No subnetting: Total number of hosts needed is 192 enough hosts in the Class C network to handle them all. With subnetting: 6 subnets 3 bits for the subnet Id, 5 bits for the host Id. Every subnet has the identical capacity of 30 hosts, what about 55 and 56 get another Class C block for the two big subnets and use the original for the four small ones. Use variable length mask subnetting (VLMS) ٢٦

٢٧

Thanks,.. See you next week (ISA), ٢٨