Activity 6.7.4: IPv4 Address Subnetting Part 2



Similar documents
2.3 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.

3201 Computer Networks 2014/2015 Handout: Subnetting Question

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

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.

IT:101 Cisco Networking Academy I Subnetting

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

Lab a Basic Subnetting

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

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

Lab IP Addressing Overview

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

Module 4, Assignment 3-2

Number of bits needed to address hosts 8

Lab#2: IP Addressing and Subnetting

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.

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

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

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

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

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Lab Calculating VLSM Subnets

Seven Steps to Subnetting

Subnetting/Supernetting and Classless Addressing

Type of addressing in IPv4

Subnetting Study Guide

Lab Calculating VLSM Subnets

Chapter 4. IP Addresses: Classful Addressing


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

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

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

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

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

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

Module 2: Assigning IP Addresses in a Multiple Subnet Network

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

IP Sub Networking Mini Howto

Chapter 4 IP Addresses: Classful Addressing

CCNA Tutorial Series SUBNETTING

The Subnet Training Guide

Subnetting IPv4 and IPv6

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

SUBNETTING SCENARIO S

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

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

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

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

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

TCP/IP Basis. OSI Model

VLSM and CIDR Malin Bornhager Halmstad University

IP Addressing and Subnetting for New Users

IP Addressing A Simplified Tutorial

SYMETRIX SOLUTIONS: TECH TIP April 2014

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

Concepts in IP Addressing...

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

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

Internetworking and IP Address

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

Computer Science 281 Binary and Hexadecimal Review

IP Subnetting Colin Weaver, ITdojo

Tutorial (03) IP addresses & Sub netting

(Refer Slide Time: 02:17)

IP Subnetting: Practical Subnet Design and Address Determination Example

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

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

PART IV. Network Layer

Packet Tracer 3 Lab VLSM 2 Solution

IP Subnetting and Addressing

Table of Contents 1 IP Addressing Configuration 1-1

IP Addressing. IP Addresses. Introductory material.

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

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

ICS 351: Today's plan

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

Chapter 19 Network Layer: Logical Addressing 19.1

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

Internet Addresses (You should read Chapter 4 in Forouzan)

IST 220 Honors Project. Subnets with Variable Length Subnet Masks

- IPv4 Addressing and Subnetting -

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

How To Make A Network Address Prefix Smaller

Classful IP Addressing (cont.)

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Decimal to Binary Conversion

2. IP Networks, IP Hosts and IP Ports

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

IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011

Desirable Properties Of An Internet Addressing Scheme

IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Advanced IP Addressing

IP Addressing Introductory material.

Transcription:

Activity 6.7.4: IPv4 Address Subnetting Part 2 Learning Objectives Upon completion of this activity, you will be able to determine subnet information for a given IP address and subnetwork mask. Background 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 2 for the usable number of hosts per subnet, one for the subnet address and one for the broadcast address of the subnet. 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 1,024 512 256 128 64 32 16 8 4 2 1 Number of bits borrowed: 10 9 8 7 6 5 4 3 2 1 1 1,024 512 256 128 64 32 16 8 4 2 1 Hosts or Subnets 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 255 11111111 254 11111110 252 11111100 248 11111000 240 11110000 224 11100000 192 11000000 128 10000000 0 00000000 All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 8

Scenario 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 this 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 Task 1: For a Given IP Address and Subnet Mask, Determine Subnet Information. Given: Find: Host IP Address 172.25.114.250 Network Mask 255.255.0.0 (/16) Subnet Mask 255.255.255.192 (/26) Step 1: Translate host IP address and subnet mask into binary notation. 172 25 114 250 IP Address 10101100 00011001 01110010 11111010 11111111 11111111 11111111 11000000 Subnet Mask 255 255 255 192 Step 2: Determine the network (or subnet) where this host address belongs. 1. Draw a line under the mask. 2. 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. 3. Express the result in dotted decimal notation. All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 8

4. The result is the Subnet Address of this Subnet, which is 172.25.114.192 172 25 114 250 IP Address 10101100 00011001 01110010 11111010 Subnet Mask 11111111 11111111 11111111 11000000 Subnet Address 10101100 00011001 01110010 11000000 172 25 114 192 Add this information to the table: 172.25.114.192 Step 3: Determine which bits in the address 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 (also the mask if there was no subnetting). In our example, the major network mask is 255.255.0.0, or the first 16 left-most bits. 2. 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, which can be determined by simply counting the number of bits between the M.D. and S.D., which in this case is 10 bits. Step 4: Determine the bit ranges for subnets and hosts. 1. Label the subnet counting range between the M.D. and the S.D. This range contains the bits that are being incremented to create the subnet numbers or addresses. 2. Label the host counting range between the S.D. and the last bits at the end on the right. This range contains the bits that are being incremented to create the host numbers or addresses. Step 5: Determine the range of host addresses available on this subnet and the broadcast address on this subnet. 1. Copy down all of the network/subnet bits of the network address (that is, all bits before the S.D.). 2. In the host portion (to the right of the S.D.), make the host bits all 0s except for the right-most bit (or least significant bit), which you make a 1. This gives us the first host IP address on this All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 8

subnet, which is the first part of the result for Range of Host Addresses for This Subnet, which in the example is 172.25.114.193. 3. Next, in the host portion (to the right of the S.D.), make the host bits all 1s except for the rightmost bit (or least significant 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, which in the example is 172.25.114.254. 4. 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 172.25.114.255. All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 8

Let s add some of this information to our table: Host IP Address 172.25.114.250 Major Network Mask 255.255.0.0 (/16) Major (Base) Network Address 172.25.0.0 Major Network Broadcast Address 172.25.255.255 Total Number of Host Bits Number of Hosts 16 bits or 2 16 or 65,536 total hosts 65,536 2 = 65,534 usable hosts Subnet Mask 255.255.255.192 (/26) Step 6: 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 2 n, where n is the number of bits in the subnet counting range. 1. 2 10 = 1024 (all 0s used, all 1s not used) 10 bits 2 10 = 1024 subnets Step 7: Determine the number usable hosts per subnet. The number of hosts per subnet is determined by the number of host bits (in this example, 6 bits) minus 2 (1 for the subnet address and 1 for the broadcast address of the subnet). 2 6 2 = 64 2 = 62 hosts per subnet 6 bits 2 6 2 = 64 2 = 62 hosts per subnet All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 8

Step 8: Final Answers Host IP Address 172.25.114.250 Subnet Mask 255.255.255.192 (/26) 10 bits 2 10 = 1024 subnets 172.25.114.192 172.25.114.193 172.25.114.254 172.25.114.255 6 bits 2 6 2 = 64 2 = 62 hosts per subnet Task 2: Challenge. For all problems: Create a Subnetting Worksheet to show and record all work for each problem. Problem 1 Host IP Address 172.30.1.33 Subnet Mask 255.255.255.0 Problem 2 Host IP Address 172.30.1.33 Subnet Mask 255.255.255.252 All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 8

Problem 3 Host IP Address 192.192.10.234 Subnet Mask 255.255.255.0 Problem 4 Host IP Address 172.17.99.71 Subnet Mask 255.255.0.0 Problem 5 Host IP Address 192.168.3.219 Subnet Mask 255.255.255.0 All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 8

Problem 6 Host IP Address 192.168.3.219 Subnet Mask 255.255.255.252 Task 3: Clean Up Remove anything that was brought into the lab, and leave the room ready for the next class. All contents are Copyright 1992 2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 8