Some Subnetting Practice Problem Solutions

Similar documents
Networking for the Cloud DBA. Arup Nanda Longtime Oracle DBA And Explorer of New Things

CCENT Study Guide. Chapter 4 Easy Subnetting

Subnetting and Classless Addressing

Infrastructure - Network management. FAQ document

Address Class (Exercise) B A

Subnetting/Supernetting and Classless Addressing

Note: This case study utilizes Packet Tracer. Please see the Chapter 4 Packet Tracer file located in Supplemental Materials.

Internet Protocol Addressing and Routing. Redes TCP/IP

VLSM and CIDR. Routing Protocols and Concepts Chapter 6. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Subnetting/Supernetting and Classless Addressing

Brief Notes on Networks

IP Addressing - Subnetting

IP Addressing and Subnetting NETWORK INFRASTRUCTURES NETKIT - LECTURE 2 MANUEL CAMPO, MARCO SPAZIANI

LECTURE -4 IP ADDRESSES. IP Addresses: Classful Addressing

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

Lab Calculating IPv4 Subnets

Network Technology 1 4th - Subnet.! Mario Lombardo -

Lab Calculating IPv4 Subnets

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000

BTEC Level 3 Extended Diploma Unit 9 Computer Network IP Addresses

CCE1030 Computer Networking

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

SPLITTING IPV4 NETWORKS INTO SUBNETS (CLASS, CIDR, VLSM)

Chapter 5. Subnetting/Supernetting and Classless Addressing

Objectives. Note: An IP address is a 32-bit address. The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

NUMERIC SYSTEMS USED IN NETWORKING

x.x.x :: Notes: 128 binary bits

IP Addressing. Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora

CSN07102 Practical Networks 1

CS118 Discussion, Week 6. Taqi

CLUVFY's Complaint & 10.

Lab Using the Windows Calculator with Network Addresses

Subnet Design and IP Addressing

Basics of communication. Grundlagen der Rechnernetze Introduction 31

Configuring IP addressing

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

6.6 Subnetting and Variable Length Subnet Masks (VLSMs)

PROBLEMS AND EXERCISES

VLSM Static routing. Computer networks. Seminar 5

Table of Contents Chapter 1 IP Addressing Configuration

Network Layer: Logical Addressing

Configuring IPv4 Addresses

Communication at the network layer is host-to-host Length of address. Total number of addresses used by the protocol. IPv4 & IPv6

Internet Fundamentals

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or

Internet Protocol (IP)

Network+ Guide to Networks

CIDR VLSM AS. รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D.

CENG393 Computer Networks Labwork 2

Module 4. Planning the Addressing Structure

Configuring IP addressing 1

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

IP Addresses. IP Addresses

Network Layer/IP Protocols

Network Protocols - Revision

UCI University of California, Irvine

C14b: Classless Intradomain Routing

Full file at

CSCD 330 Network Programming Spring 2017

Net Masks and IP Addresses

Practice for Chapter 6: Route Summarization

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

NETWORK LAYER: IP Addressing

Chapter 6 Addressing the Network- IPv4

Contents. IP addressing configuration commands 1 display ip interface 1 display ip interface brief 3 ip address 5

Network Layer, Link Layer, and Network Security Summary

CSC 401 Data and Computer Communications Networks

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

IP - The Internet Protocol

12. Sub- & Supernetting

DMMEasyControl Software Guide

How the Internet Works

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

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

TCP/IP Addressing. IP Addressing. IP Addressing. IP Addressing. 32 Bits. Dotted Decimal Maximum. 32 Bits. 32 Bits. Dotted Decimal Maximum

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

R (2) Write a program to demonstrate Subneting & find the Subnet Mask.

Practice for Chapter 15: Analyzing Existing Subnet Masks

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

CCNA 1 Chapter 9 v5.0 Exam Answers 2013

Vorlesung Kommunikationsnetze

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

setting IP addresses copyright 2015 Robert Montante

ECE 461 Internetworking. Problem Sheet 1

Internet Addresses (You should read Chapter 4 in Forouzan)

CSE 123: Computer Networks Fall Quarter, 2017 MIDTERM EXAM

5. Providing a narrower address space is the primary design goal for IPv6.

Chapter 10 IP Access Lists: Standard

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

How & Why We Subnet Lab Workbook

TECH NOTE Reading 2100-GK61 inputs.

Chapter 19 Network Layer: Logical Addressing 19.1

Basic Idea. Routing. Example. Routing by the Network

CSCD 330 Network Programming Spring 2018

IP Addressing and Subnetting

Routing by the Network

Homework 3 assignment for ECE671 Posted: 03/01/18 Due: 03/08/18

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Transcription:

Some Subnetting Practice Problem Solutions practice problem 1. What is 23.183.62.51 in binary? Solution: dec bin 23 0001 0111 183 1011 0111 62 0011 1110 51 0011 0011 2. What class address is this? Solution: It begins with a 0, so it s an A. 3. If no subnetting has been done, on what network is it (in CIDR notation)? Solution: It s an A, so if no subnetting has been done, the first byte is used for the network part of the address. The network is: 23.0.0.0/8 4. How many hosts can be put on a network of this class? Solution: 8 bits are used for the network part. This leaves 24 bits for the host part. With 24 bits, we can specify about 2 24 hosts. 5. How many networks of this class are possible? 1

Solution: 8 bits are used for the network part, but the first bit must be a 0. There are 2 7 possibilities. 6. What is the natural netmask of a network of this class? Solution: 8 bits are used for the network part. The netmask is the IP address with 8 1s and 24 0s. This is 255.0.0.0 7. Break this network into 8 subnets: (a) What is the address of each subnet (in CIDR notation)? Solution: We have: 23 0 0 0 0001 0111 0000 0000 0000 0000 0000 000 To form the 8 subnets, we steal the first three bits of the host part (i.e., the first 3 bits of the 2nd byte), and give it to the network part. The 8 possibilities for these three bits are: 000 001 010 011 100 101 110 111 These first three bits are in the 128s, 64s, and 32s column of the 2nd byte, so they represent the values: 000 0 001 32 010 64 011 64+32=96 100 128 101 128+32=160 110 128+64=192 111 128+64+32=224 The 8 subnets are therefore: 23.0.0.0/11 23.32.0.0/11 23.64.0.0/11 23.96.0.0/11 23.128.0.0/11 23.160.0.0/11 23.192.0.0/11 23.224.0.0/11 Page 2

They re all /11s because we re now using 11 bits for the network part and not 8. (b) How many hosts can be put on each subnet? Solution: 11 bits are used for the network part. This leaves 21 bits for the host part, so there s roughly 2 21 possible hosts. (c) What is the netmask of each subnet? Solution: We re using 11 bits for the network part. The netmask is the IP address that consists of 11 1s on the left hand side and 21 0s on the right hand side. This is: 255 224 0 0 1111 1111 1110 0000 0000 0000 0000 0000 another practice problem 8. What is 207.245.83.199 in binary? Solution: dec bin 207 1100 1111 245 1111 0101 83 0101 0011 199 1100 0111 9. What class address is this? Solution: It begins with a 110, so it s a C. 10. If no subnetting has been done, on what network is it (in CIDR notation)? Solution: It s a C, so if no subnetting has been done, the first three bytes are used for the network part of the address. The network is: 207.245.83.0/24 11. How many hosts can be put on a network of this class? Page 3

Solution: 24 bits are used for the network part. This leaves 8 bits for the host part. With 8 bits, we can specify about 2 8 hosts. 12. How many networks of this class are possible? Solution: 24 bits are used for the network part, but the first three bits must be 110. There are 2 21 possibilities. 13. What is the natural netmask of a network of this class? Solution: 24 bits are used for the network part. The netmask is the IP address with 24 1s and 8 0s. This is 255.255.255.0 14. Break this network into 4 subnets: (a) What is the address of each subnet (in CIDR notation)? Solution: We have: 207 245 83 0 1100 1111 1111 0101 0101 0011 0000 0000 network part host part To form the 4 subnets, we steal the first two bits of the host part (i.e., the first 2 bits of the 2nd byte), and give it to the network part. The 4 possibilities for these two bits are: 00 01 10 11 These first two bits are in the 128s and 64s column of the 2nd byte, so they represent the values: 00 0 01 64 10 128 11 128+64=192 The 8 subnets are therefore: They re all /11s because we re now using 11 bits for the network part and not 8. How many hosts can be put on each subnet? 207.245.83.0/26 207.245.83.64/26 207.245.83.128/26 207.245.83.192/26 26 bits are used for the network part. This leaves 6 bits for the host part, so there s roughly 2 6 = 64 possible hosts. Page 4

(b) What is the netmask of each subnet? Solution: We re using 26 bits for the network part. The netmask is the IP address that consists of 26 1s on the left hand side and 6 0s on the right hand side. This is: 255 255 255 192 1111 1111 1111 1111 1111 1111 1100 0000 still another practice problem. To show that we don t always start at the left-most bits of each byte. Consider the network 23.160.0.0/12. 15. How many hosts can be put on this network? Solution: 12 bits are used for the network part. This leaves 20 bits for the host part, so approximately 2 20 hosts. 16. What is the mask for this network? Solution: It s the IP address with 12 1s on the left hand side and 20 0s on the right hand side, so: 255 240 0 0 1111 1111 1111 0000 0000 0000 0000 0000 17. Break the network into 8 subnets: (a) What is the address of each subnet (in CIDR notation)? Solution: To break it into 8 subnets, we need to steal 3 bits from the host part and give it to the network part. These bits are in the 13th, 14th, and 15th position, i.e., the 5th, 6th, and 7th bits of the 2nd byte. The 8 possibilities for the three bits are: 000 001 010 011 100 101 110 111 These three bits are in the 8s, 4s, and 2s column, so they represent: Page 5

000 0 001 2 010 4 011 4+2=6 100 8 101 8+2=10 110 8+4=12 111 8+4+2=14 We started out with the address 23.160.0.0/12, so the full 2nd byte of each subnet will then be: 1010 0000 0 1010 0010 162 1010 0100 164 1010 0110 166 1010 1000 168 1010 1010 170 1010 1100 172 1010 1110 174 So the subnets are: 23.160.0.0/15 23.162.0.0/15 23.164.0.0/15 23.166.0.0/15 23.168.0.0/15 23.170.0.0/15 23.172.0.0/15 23.174.0.0/15 (b) How many hosts can be put on each subnet? Solution: 15 bits are used for the network part, so 17 bits are used for the host part. This gives us approximately 2 17 hosts per subnet. (c) What is the netmask of each subnet? Solution: The mask is the IP address with 15 1s on the left hand side and 17 0s on the right hand side, so: 1111 1111 1111 1110 0000 0000 0000 0000 255 254 0 0 Page 6