2.3 IPv4 Address Subnetting Part 2



Similar documents
Activity 6.7.4: IPv4 Address Subnetting Part 2

Classless Subnetting Explained

Classful Subnetting Explained

Pre-lab Preparation: 1. Read thoroughly and prepare the experiment sheet. 2. You must bring a printed copy of this experiment with you to the lab.

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.

3201 Computer Networks 2014/2015 Handout: Subnetting Question

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

Number of bits needed to address hosts 8

Lab IP Addressing Overview

IT:101 Cisco Networking Academy I Subnetting

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001

Subnetting Examples. There are three types of subnetting examples I will show in this document:

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.

Module 4, Assignment 3-2

Source net: Destination net: Subnet mask: Subnet mask: Router Hub

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

Lab#2: IP Addressing and Subnetting

Lab a Basic Subnetting

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

Subnetting/Supernetting and Classless Addressing

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


Chapter 4. IP Addresses: Classful Addressing

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19

Subnetting Study Guide

Seven Steps to Subnetting

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Type of addressing in IPv4

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

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

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

TCP/IP Cheat Sheet. A Free Study Guide by Boson Software, LLC

Chapter 4 IP Addresses: Classful Addressing

VLSM and CIDR Malin Bornhager Halmstad University

IP Sub Networking Mini Howto

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

The Subnet Training Guide

TCP/IP Basis. OSI Model

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37

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

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

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting

CCNA Tutorial Series SUBNETTING

IP Subnetting for the Masses Or How a 12 year old kid can subnet the most complex network.

Module 2: Assigning IP Addresses in a Multiple Subnet Network

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

Lab Calculating VLSM Subnets

Computer Science 281 Binary and Hexadecimal Review

IP Subnetting Colin Weaver, ITdojo

Tutorial (03) IP addresses & Sub netting

IP Subnetting: Practical Subnet Design and Address Determination Example

SYMETRIX SOLUTIONS: TECH TIP April 2014

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks).

Subnetting IPv4 and IPv6

Sybex CCENT Chapter 4: Easy Subnetting. Instructor & Todd Lammle

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

IP Addressing and Subnetting for New Users

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.

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

Expert Reference Series of White Papers. Simple Tricks To Ace the Subnetting Portion of Any Certification Exam COURSES.

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

Internetworking and IP Address

IP Addressing A Simplified Tutorial

Lab Calculating VLSM Subnets

SUBNETTING SCENARIO S

Concepts in IP Addressing...

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

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting COURSES.

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

IP Subnetting and Addressing

(Refer Slide Time: 02:17)

Desirable Properties Of An Internet Addressing Scheme

Internet Addresses (You should read Chapter 4 in Forouzan)

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

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

How To Make A Network Address Prefix Smaller

2. IP Networks, IP Hosts and IP Ports

Classful IP Addressing (cont.)

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems

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

SNMP/HTTP Access Control User Manual

Chapter 19 Network Layer: Logical Addressing 19.1

Binary Numbers. Binary Octal Hexadecimal

Chapter 2. Binary Values and Number Systems

PART IV. Network Layer

Activity 6.4.2: Challenge VLSM Calculation and Addressing Design (Instructor Version) Topology Diagram

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

IST 220 Honors Project. Subnets with Variable Length Subnet Masks

Decimal to Binary Conversion

IP Addressing. IP Addresses. Introductory material.

Fast and Easy Subnetting. Marc Khayat, Technical Advocacy Team May 2011

ICS 351: Today's plan

- IPv4 Addressing and Subnetting -

Advanced Topics: IP Subnetting A WHITE PAPER PREPARED FOR ASPE TECHNOLOGY. toll-free:

Transcription:

.3 IPv4 Address Subnetting Part Objective Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. When given an IP address, network mask and subnetwork mask, you will be able to determine other information about the IP address such as: The subnet address of the subnet The broadcast address of this subnet The range of host addresses for this subnet The maximum number of subnets for this subnet mask The number of hosts for each subnet The number of subnet bits The number of this subnet Borrowing Bits How many bits must be borrowed to create a certain number of subnets or a certain number of hosts per subnet? Using this chart, it is easy to determine the number of bits that must be borrowed. Things to remember: Subtract for the usable number of hosts per subnet, one for the subnet address and one for the broadcast address of the subnet. 10 9 8 7 6 1,04 51 56 18 64 3 16 8 4 1 Number of bits borrowed: 10 9 8 7 6 5 4 3 1 1 1,04 51 56 18 64 3 16 8 4 1 5 4 Hosts or Subnets 3 1 0

Possible Subnet Mask Values Because subnet masks must be contiguous 1 s followed by contiguous 0 s, the converted dotted decimal notation can contain one of a certain number of values: Dec. Binary 55 11111111 54 11111110 5 11111100 48 11111000 40 11110000 4 11100000 19 11000000 18 10000000 0 00000000 Step 1 Determine subnet information Given: Host IP Address 17.5.114.50 Network Mask 55.55.0.0 (/16) Subnet Mask 55.55.55.19 (/6) Find: Number of Subnet Bits Number of Host Bits per Subnet Number of Usable Hosts per Subnet Subnet Address for this IP Address IP Address for First Host on Subnet IP Address for Last Host on Subnet Broadcast Address for this Subnet

Convert the host IP address and subnet mask to binary: IP Address Subnet Mask 17 5 114 50 10101100 00011001 01110010 11111010 11111111 11111111 11111111 11000000 55 55 55 19 To determine the network (or subnet) address, draw a line under the mask. Perform a bit-wise AND operation on the IP address and the subnet mask. Note: 1 AND 1 results in a 1; 0 AND anything results in a 0. Express the results in dotted decimal notation. The result is the subnet address of this subnet, which is 17.5.114.19 17 5 114 50 IP Address 10101100 00011001 01110010 11111010 Subnet Mask 11111111 11111111 11111111 11000000 Subnet Address 10101100 00011001 01110010 11000000 17 5 114 19 Add this information to the table: Subnet Address for this IP Address 17.5.114.19 Step Subnet and Host parts To determine which bits in the address that contain network information and which contain host information: 1. Draw the Major Divide (M.D.) as a wavy line where the 1s in the major network mask end. In our example the major network mask is 55.55.0.0, or the first 16 left-most bits.. Draw the Subnet Divide (S.D.) as a straight line where the 1s in the given subnet mask end. The network information ends where the 1s in the mask end. 3. The result is the number of subnet bits, which can be determined by simply counting the number of bits between the M.D. and the S.D., which in this case is 10 bits. This is called the Subnet Counting Range. 4. The bits between the S.D. and the last bit at the end on right are called the Host Counting Range. This range contains the bits that are being incremented to create the host numbers or addresses.

Step 3 Determine the range of host addresses and broadcast address 1. Copy down all of the network/subnet bits of the network address (all bits before the S.D.). In the host portion (to the right of the S.D.), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This gives us the first host IP address on this subnet, which is the first part of the result for Range of Host Addresses for This Subnet. In this example it is 17.5.114.193.. Next, in the host portion (to the right of the S.D.), make the host bits all 1s except for the right-most bit, which you make a 0. This gives us the last host IP address on this subnet, which is the last part of the result for Range of Host Addresses for This Subnet. In this example it is 17.5.114.54. 3. In the host portion (to the right of the S.D.), make the host bits all 1s. This gives us the broadcast IP address on this subnet. This is the result for Broadcast Address of This Subnet, which in the example is 17.5.114.55.

Now, this information can be added to our table: Host IP Address 17.5.114.50 Major Network Mask 55.55.0.0 (/16) Major (Base) Network Address 17.5.0.0 Major Network Broadcast Address 17.5.55.55 Total Number of Host Bits Number of Hosts 16 bits or 16 or 65,536 total hosts 65,536 = 65,534 usable hosts Subnet Mask 55.55.55.19 (/6) Number of Subnet Bits Number of Host Bits per Subnet Number of Usable Hosts per Subnet Subnet Address for this IP Address IP Address of First Host on this Subnet IP Address of Last Host on this Subnet Broadcast Address for this Subnet Step 4 Determine the number of subnets The number of subnets is determined by how many bits are in the subnet counting range (in this example, 10 bits). Use the formula n, where n is the number of bits in the subnet counting range. 1. 10 = 104 Number of Subnet Bits (all 0s used, all 1s not used) 10 bits 10 = 104 subnets The number of hosts per subnet is determined by the number of host bits (in this example, 6 bits) minus (1 for the subnet address and 1 for the broadcast address of the subnet). 6 = 64 = 6 hosts per subnet Number of Host Bits per Subnet Number of Usable Hosts per Subnet 6 bits 6 = 64 = 6 hosts per subnet

Final Answers Host IP Address 17.5.114.50 Subnet Mask 55.55.55.19 (/6) Number of Subnet Bits 10 bits 10 = 104 subnets Number of Host Bits per Subnet 6 bits Number of Usable Hosts per 6 = 64 = 6 hosts per Subnet subnet Subnet Address for this IP 17.5.114.19 Address IP Address of First Host on this 17.5.114.193 Subnet IP Address of Last Host on this 17.5.114.54 Subnet Broadcast Address for this Subnet 17.5.114.55 Step 5 Determine the number of subnets For all problems: Create a Subnetting Worksheet to show and record all work for each problem. Problem 1 Host IP Address 17.30.1.33 Subnet Mask 55.55.55.0 Number of Subnet Bits 8 56 Number of Host Bits per Subnet 8 Number of Usable Hosts per Subnet 54 Subnet Address for this IP Address 17.30.1.0 IP Address of First Host on this Subnet 17.30.1.1 IP Address of Last Host on this Subnet 17.30.1.54 Broadcast Address for this Subnet 17.30.1.55

Problem Host IP Address 17.30.1.33 Subnet Mask 55.55.55.5 Number of Subnet Bits 14 ^14 Number of Host Bits per Subnet Number of Usable Hosts per Subnet Subnet Address for this IP Address 17.30.1.3 IP Address of First Host on this Subnet 17.30.1.33 IP Address of Last Host on this Subnet 17.30.1.34 Broadcast Address for this Subnet 17.30.1.35 Problem 3 Host IP Address 19.19.10.34 Subnet Mask 55.55.55.0 Number of Subnet Bits 0 1 (one network) Number of Host Bits per Subnet 8 Number of Usable Hosts per Subnet 54 Subnet Address for this IP Address 19.19.10.0 IP Address of First Host on this Subnet 19.19.10.1 IP Address of Last Host on this Subnet 19.19.10.54 Broadcast Address for this Subnet 19.19.10.55 Problem 4 Host IP Address 17.17.99.71 Subnet Mask 55.55.0.0 Number of Subnet Bits 0 1 Number of Host Bits per Subnet 16 Number of Usable Hosts per Subnet 65534 Subnet Address for this IP Address 17.17.0.0 IP Address of First Host on this Subnet 17.17.0.1 IP Address of Last Host on this Subnet 17.17.55.54 Broadcast Address for this Subnet 17.17.55.55

Problem 5 Host IP Address 19.168.3.19 Subnet Mask 55.55.55.0 Number of Subnet Bits 0 1 Number of Host Bits per Subnet 8 Number of Usable Hosts per Subnet 54 Subnet Address for this IP Address 19.168.3.0 IP Address of First Host on this Subnet 19.168.3.1 IP Address of Last Host on this Subnet 19.168.3.54 Broadcast Address for this Subnet 19.168.3.55 Problem 6 Host IP Address 19.168.3.19 Subnet Mask 55.55.55.5 Number of Subnet Bits 6 64 Number of Host Bits per Subnet Number of Usable Hosts per Subnet Subnet Address for this IP Address 19.168.3.16 IP Address of First Host on this Subnet 19.168.3.17 IP Address of Last Host on this Subnet 19.168.3.18 Broadcast Address for this Subnet 19.168.3.19