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



Similar documents
Module 4, Assignment 3-2

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

Lab a Basic Subnetting

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.

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

3201 Computer Networks 2014/2015 Handout: Subnetting Question

Seven Steps to 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

Lab IP Addressing Overview

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.

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

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

Type of addressing in IPv4

Number of bits needed to address hosts 8

Activity 6.7.4: IPv4 Address Subnetting Part 2

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

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

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


CCNA Tutorial Series SUBNETTING

IT:101 Cisco Networking Academy I Subnetting

Lab Calculating VLSM Subnets

Lab#2: IP Addressing and Subnetting

2.3 IPv4 Address Subnetting Part 2

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

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

Classful Subnetting Explained

Packet Tracer 3 Lab VLSM 2 Solution

SYMETRIX SOLUTIONS: TECH TIP April 2014

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

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

Chapter 3: IP Addressing and VLSM

PART IV. Network Layer

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

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

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

IP Subnetting. Subnetting

Subnetting Study Guide

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

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

Lab Calculating VLSM Subnets

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

Classful IP Addressing (cont.)

IP Subnetting Colin Weaver, ITdojo

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

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.

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

SUBNETTING SCENARIO S

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

Classless Subnetting Explained

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Subnetting IPv4 and IPv6

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

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

IP Addressing and Subnetting for New Users

Subnetting/Supernetting and Classless Addressing

Part A:Background/Preparation

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Table of Contents 1 IP Addressing Configuration 1-1

Internetworking and IP Address

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

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

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

Section #6: Addressing

IP Addressing. IP Addresses. Introductory material.

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

IP Sub Networking Mini Howto

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

Networking Basics for Automation Engineers

The Subnet Training Guide

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

How Subnets Work in Practice. Fred Marshall Coastal Computers & Networks

IP Addressing A Simplified Tutorial

How To Make A Network Address Prefix Smaller

Chapter 19 Network Layer: Logical Addressing 19.1

FINAL ASSESSMENT/EXAMINATION JULY 2015 PLEASE READ ALL INSTRUCTIONS CAREFULLY BEFORE YOU BEGIN THIS EXAMINATION

IP Addressing Introductory material.

Interconnecting Cisco Network Devices 1 Course, Class Outline

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

(Refer Slide Time: 02:17)

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

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

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

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

IST 220 Honors Project. Subnets with Variable Length Subnet Masks

Advanced IP Addressing

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Concepts in IP Addressing...

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

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

CCNA : Cisco Certified Network Associate Study Guide, 5th Edition ( ) Todd Lammle

Internet Protocol version 4 Part I

Tutorial (03) IP addresses & Sub netting

Transcription:

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

10.3.5a Basic Subnetting Use the following information and answer the following subnet related questions A company has applied for and received a Class C network address of 197.15.22.0. The physical network is to be divided into 4 subnets, which will be interconnected by routers. At least 25 hosts will be needed per subnet. A Class C custom subnet mask needs to be used and a router is needed between the subnets to route packets from one subnet to another. Determine the number of bits that need to be borrowed from the host portion of the network address and the number of bits that will be left for host addresses. Note: There will be 8 possible subnets, of which 6 can be used. (By borrowing two bits, only 4 subnets can be created (2^2 = 4) of which only 2 can be used. So three bits have to be borrowed.) Default subnet mask: 255.255.255.0 Subnet Mask in binary form: 11111111 11111111 11111111 00000000 Bits borrowed: 3 New Subnet Mask in binary form: 11111111 11111111 11111111 11100000 Decimal format: 255.255.255.224 Number of usable subnets: (2^3) 2 = 6 Number of usable hosts: (2^5) 2 = 30 Fill in the following table and answer the following questions: Subnet No. Subnet Bits Borrowed Binary Value Subnet Bits Decimal and Subnet No. Host Bits Possible Binary Values (Range) (5 Bits) Subnet/Host Decimal Range Use? Subnet 0 000 0 00000-11111 0-31 No Subnet 1 001 32 00000-11111 32-63 Yes Subnet 2 010 64 00000-11111 64-95 Yes Subnet 3 011 96 00000-11111 96-127 Yes Subnet 4 100 128 00000-11111 128 159 Yes Subnet 5 101 160 00000-11111 160 191 Yes

Subnet 6 110 192 00000-11111 192-223 Yes Subnet 7 111 224 00000-11111 224 255 No There are 32 hosts in each of the 8 subnets. Subnet Ranges: Subnet Number Subnet Range 1 st subnet 197.15.22.0 ~ 197.15.22.31 2 nd subnet 197.15.22.32 ~ 197.15.22.63 3 rd subnet 197.15.22.64 ~ 197.15.22.95 4 th subnet 197.15.22.96 ~ 197.15.22.127 5 th subnet 197.15.22.128 ~ 197.15.22.159 6 th subnet 197.15.22.160 ~ 197.15.22.191 7 th subnet 197.15.22.192 ~ 197.15.22.223 8 th subnet 197.15.22.224 ~ 197.15.22.255 1. Which octet(s) represent the network portion of a Class C IP address? First three octets 2. Which octet(s) represent the host portion of a Class C IP address? Last Octet

3. What is the binary equivalent of the Class C network address in the scenario? 197.15.22.0 Decimal network address: 197.15.22.0 Binary network address: 11000101 00001111 00010110 00000000 4. How many high-order bits were borrowed from the host bits in the fourth octet? Three 5. What subnet mask must be used? Show the subnet mask in decimal and binary. Decimal subnet mask: 255.255.255.224 Binary subnet mask: 11111111 11111111 11111111 11100000 6. What is the maximum number of subnets that can be created with this subnet mask? Eight 7. What is the maximum number of usable subnets that can be created with this mask? Six 8. How many bits were left in the fourth octet for host IDs? Five 9. How many hosts per subnet can be defined with this subnet mask? 30 hosts (usable) 10. What is the maximum number of hosts that can be defined for all subnets with this scenario? 30 hosts per subnet * 6 usable subnets = 180hosts 11. Is 197.15.22.63 a valid host IP address with this scenario? No 12. Why or why not? Broadcast address of 2 nd subnet 13. Is 197.15.22.160 a valid host IP address with this scenario? No

14. Why or why not? Network address of 6 th subnet 15. Host A has an IP address of 197.15.22.126. Host B has an IP address of 197.15.22.129. Are these hosts on the same subnet? No. Host A (197.15.22.126) belongs to 4 th subnet and Host B (197.15.22.129) belongs to 5 th subnet.

10.3.5b Subnetting a Class A Network Given a Class A network address of 10.0.0.0 / 24 answer the following questions The default subnet mask for Class A network is 255.0.0.0 Binary Format: 11111111 00000000 00000000 00000000 The new subnet mask has 24 1 s in it. New subnet mask in binary format: 11111111 11111111 11111111 00000000 It can be observed that 16 bits have been borrowed into the network portion. Number of subnets created: 2^16 = 65536 Number of usable subnets: 65536 2 = 65534 Number of host bits: 8 Number of hosts in each subnet: 2^8 = 256 Number of usable hosts: 256 2 = 254 Subnet Range for the first 6 subnets: Subnet Number Subnet Range 1 st subnet 10.0.0.0 ~ 10.0.0.255 2 nd subnet 10.0.1.0 ~ 10.0.1.255 3 rd subnet 10.0.2.0 ~ 10.0.2.255 4 th subnet 10.0.3.0 ~ 10.0.3.255 5 th subnet 10.0.4.0 ~ 10.0.4.255 6 th subnet 10.0.5.0 ~ 10.0.5.255

1. How many bits were borrowed from the host portion of this address? Sixteen 2. What is the subnet mask for this network? 255.255.255.0 3. How many usable subnets are there? 65534 usable subnets 4. How many usable hosts are there? 254 usable hosts 5. What is the host range for usable subnet sixteen? From the subnet range table above, the host range for 4 th usable subnet (5 th subnet) is 10.0.4.0 ~ 10.0.4.255 Likewise, the host range for 16 th usable subnet will be 10.0.16.0 ~ 10.0.16.255 6. What is the network address for usable subnet sixteen? 10.0.16.0 7. What is the broadcast address for usable subnet sixteen? 10.0.16.255 8. What is the broadcast address for the last usable subnet? The host range for the last subnet is 10.255.255.0 ~ 10.255.255.255. The network address for this subnet is 10.255.255.0. So the broadcast address of the previous subnet (last usable subnet) is 10.255.254.255.

10.3.5c Subnetting a Class B Network ABC Manufacturing has acquired a Class B address, 172.16.0.0. The company needs to create a subnetting scheme to provide the following: 36 subnets with at least 100 hosts 24 subnets with at least 255 hosts 10 subnets with at least 50 hosts It is not necessary to supply an address for the WAN connection since it is supplied by the Internet service provider. Regardless of the number of hosts in each subnet, the total number of subnets that need to be created is 70 (36+24+10) Number of bits to be borrowed to create atleast 70 subnets is 7. Default subnet mask: 255.255.0.0 Subnet mask for this network: 255.255.254.0 1. How many subnets are needed for this network? 70 2. What is the minimum number of bits that can be borrowed? Seven 3. What is the subnet mask for this network? Dotted decimal: 255.255.254.0 Binary format: 11111111 11111111 11111110 00000000 Slash format: 172.16.0.0/23 4. How many usable subnets are there? (2^7)-2 = 126 5. How many usable hosts are there per subnet? (2^9) 2 = 510 The first subnet range is 172.16.0.0 ~ 172.16.1.255. But the first usable subnet starts from 172.16.2.0 ~ 172.16.3.255

Subnet ranges for the 1 st three and the last four usable subnets: Subnetwork ID (Network Address) Subnet# Host Range Broadcast ID (Broadcast Address) 172.16.2.0 1 172.16.2.1 ~ 172.16.3.254 172.16.3.255 172.16.4.0 2 172.16.4.1 ~ 172.16.5.254 172.16.5.255 172.16.6.0 3 172.16.6.1 ~ 172.16.7.254 172.16.7.255 172.16.246.0 123 172.16.246.1 ~ 172.16.247.254 172.16.247.255 172.16.248.0 124 172.16.248.1 ~ 172.16.249.254 172.16.249.255 172.16.250.0 125 172.16.250.1 ~ 172.16.251.254 172.16.251.255 172.16.252.0 126 172.16.252.1 ~ 172.16.253.254 172.16.253.255 What is the host range for subnet 2? 172.16.4.1 ~ 172.16.5.254 What is the broadcast address for 126 th subnet? 172.16.253.255 What is the broadcast address for the major network? 172.16.255.255

10.3.5d Subnetting a Class C Network The Classical Academy has acquired a Class C address, 192.168.1.0. The academy needs to create subnets to provide low level security and broadcast control on the LAN. It is not necessary to supply an address for the WAN connection. It is supplied by the Internet service provider. The LAN consists of the following, each of which will require its own subnet: Classroom #1 28 nodes Classroom #2 22 nodes Computer lab 30 nodes Instructors 12 nodes Administration 8 nodes From above, it is understood that 5 subnets need to be created. 1. What is the subnet mask for this network? The default subnet mask is 255.255.255.0. By borrowing 3 bits into the network portion, the subnet mask for this network becomes 255.255.255.224 Binary: 11111111 11111111 111111111 11100000 Slash format: /27 2. How many usable hosts are there per subnet? (2^5) 2 = 30 hosts Subnet# Subnetwork ID Host Range Broadcast ID 0 192.168.1.0 192.168.1.1 ~ 192.168.1.30 192.168.1.31 1 192.168.1.32 192.168.1.33 ~ 192.168.1.62 192.168.1.63 2 192.168.1.64 192.168.1.65 ~ 192.168.1.94 192.168.1.95 3 192.168.1.96 192.168.1.97 ~ 192.168.1.126 192.168.1.127 4 192.168.1.128 192.168.1.129 ~ 192.168.1.158 192.168.1.159 5 192.168.1.160 192.168.1.161 ~ 192.168.1.190 192.168.1.191

6 192.168.1.192 192.168.1.193 ~ 192.168.1.222 192.168.1.223 7 192.168.1.224 192.168.1.225 ~ 192.168.1.254 192.168.1.255 3. What is the host range for subnet six? 192.168.1.193 ~ 192.168.1.222 4. What is the broadcast address for 3 rd subnet? 192.168.1.127 5. What is the broadcast address for the major network? 192.168.1.255