Type of addressing in IPv4



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

IP Addressing and Subnetting for New Users

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

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

Lab#2: IP Addressing and Subnetting

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

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

Module 4, Assignment 3-2

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.

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.

Lab a Basic Subnetting

3201 Computer Networks 2014/2015 Handout: Subnetting Question

Chapter 3: IP Addressing and VLSM


Lab IP Addressing Overview

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

VLSM and CIDR Malin Bornhager Halmstad University

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

Activity 6.7.4: IPv4 Address Subnetting Part 2

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

Lab Calculating VLSM Subnets

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

Seven Steps to Subnetting

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.

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

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

2.3 IPv4 Address Subnetting Part 2

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

Subnetting IPv4 and IPv6

IT:101 Cisco Networking Academy I Subnetting

Packet Tracer 3 Lab VLSM 2 Solution

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

Lab Calculating VLSM Subnets

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

Networking Basics for Automation Engineers

SUBNETTING SCENARIO S

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

Tutorial (03) IP addresses & Sub netting

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

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

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

Classful IP Addressing (cont.)

ICS 351: Today's plan

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

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

IP Addressing A Simplified Tutorial

(Refer Slide Time: 02:17)

Internet Protocol Address

This chapter discusses the following advanced IP addressing topics: IP Address Planning Hierarchical Addressing Using Variable-Length Subnet Masks

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

Advanced IP Addressing

Internetworking and IP Address

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

CCNA Tutorial Series SUBNETTING

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

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

Interconnecting Cisco Network Devices 1 Course, Class Outline

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

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

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

Section #6: Addressing

PART IV. Network Layer

Classless Subnetting Explained

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

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

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

IP Sub Networking Mini Howto

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

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

IP Addressing Guide Revision: H1CY11

Internetworking and Internet-1. Global Addresses

IP Subnetting. Subnetting

VLSM Static routing. Computer networks. Seminar 5

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

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

Subnetting/Supernetting and Classless Addressing

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

Chapter 19 Network Layer: Logical Addressing 19.1

IST 220 Honors Project. Subnets with Variable Length Subnet Masks

SYMETRIX SOLUTIONS: TECH TIP April 2014

Module 2: Assigning IP Addresses in a Multiple Subnet Network

We Are HERE! Subne\ng

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

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

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

This unit contains the following two lessons: Lessons Pages Length Lesson 3-1: Network Layer Addressing hours

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

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

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

IP Subnetting and Addressing

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

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

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

How To Make A Network Address Prefix Smaller

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

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

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

Planning for Information Network

TCP/IP Basis. OSI Model

Transcription:

Type of addressing in IPv4 Within the address range of each IPv4 network, we have three types of addresses: Network address - The address by which we refer to the network Broadcast address - A special address used to send data to all hosts in the network Host addresses - The addresses assigned to the end devices in the network Network Prefixes An important question is: How do we know how many bits represent the network portion and how many bits represent the host portion? When we express an IPv4 network address, we add a prefix length to the network address. The prefix length is the number of bits in the address that gives us the network portion. For example, in 172.16.4.0 /24, the /24 is the prefix length - it tells us that the first 24 bits are the network address. This leaves the remaining 8 bits, the last octet, as the host portion. Later in this chapter, we will learn more about another entity that is used to specify the network portion of an IPv4 address to the network devices. It is called the subnet mask. The subnet mask consists of 32 bits, just as the address does, and uses 1s and 0s to indicate which bits of the address are network bits and which bits are hosts bits. Networks are not always assigned a /24 prefix. Depending on the number of hosts on the network, the prefix assigned may be different. Having a different prefix number changes the host range and broadcast address for each network. Notice that the network address could remain the same, but the host range and the broadcast address are different for the different prefix lengths. In this figure you can also see that the number of hosts that can be addressed on the network changes as well. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 14

Understanding Subnetting Subnetting allows you to create multiple logical networks that exist within a single Class A, B, or C network. If you do not subnet, you will only be able to use one network from your Class A, B, or C network, which is unrealistic. Formula for calculating subnets Use this formula to calculate the number of subnets: 2^n where n = the number of bits borrowed The number of hosts To calculate the number of hosts per network, we use the formula of 2^n - 2 where n = the number of bits left for hosts. Each data link on a network must have a unique network ID, with every node on that link being a member of the same network. If you break a major network (Class A, B, or C) into smaller subnetworks, it allows you to create a network of interconnecting subnetworks. Each data link on this network would then have a unique network/subnetwork ID. Any device, or gateway, connecting n networks/subnetworks has n distinct IP addresses, one for each network / subnetwork that it interconnects. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 15

To subnet a network, extend the natural mask using some of the bits from the host ID portion of the address to create a subnetwork ID. For example, given a Class C network of 204.15.5.0 which has a natural mask of 255.255.255.0, you can create subnets in this manner: 204.15.5.0-11001100.00001111.00000101.00000000 255.255.255.224-11111111.11111111.11111111.11100000 ------------------------------------------------ sub ---- By extending the mask to be 255.255.255.224, you have taken three bits (indicated by "sub") from the original host portion of the address and used them to make subnets. With these three bits, it is possible to create eight subnets. With the remaining five host ID bits, each subnet can have up to 32 host addresses, 30 of which can actually be assigned to a device since host ids of all zeros or all ones are not allowed (it is very important to remember this). So, with this in mind, these subnets have been created. 204.15.5.0 255.255.255.224 host address range 1 to 30 204.15.5.32 255.255.255.224 host address range 33 to 62 204.15.5.64 255.255.255.224 host address range 65 to 94 204.15.5.96 255.255.255.224 host address range 97 to 126 204.15.5.128 255.255.255.224 host address range 129 to 158 204.15.5.160 255.255.255.224 host address range 161 to 190 204.15.5.192 255.255.255.224 host address range 193 to 222 204.15.5.224 255.255.255.224 host address range 225 to 254 Note: There are two ways to denote these masks. First, since you are using three bits more than the "natural" Class C mask, you can denote these addresses as having a 3-bit subnet mask. Or, secondly, the mask of 255.255.255.224 can also be denoted as /27 as there are 27 bits that are set in the mask. This second method is used with CIDR. Using this method, one of thse networks can be described with the notation prefix/length. For example, 204.15.5.32/27 denotes the network 204.15.5.32 255.255.255.224. When appropriate the prefix/length notation is used to denote the mask throughout the rest of this document. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 16

The network subnetting scheme in this section allows for eight subnets, and the network might appear as: Figure 2 Notice that each of the routers in Figure 2 is attached to four subnetworks, one subnetwork is common to both routers. Also, each router has an IP address for each subnetwork to which it is attached. Each subnetwork could potentially support up to 30 host addresses. This brings up an interesting point. The more host bits you use for a subnet mask, the more subnets you have available. However, the more subnets available, the less host addresses available per subnet. For example, a Class C network of 204.17.5.0 and a mask of 255.255.255.224 (/27) allows you to have eight subnets, each with 32 host addresses (30 of which could be assigned to devices). If you use a mask of 255.255.255.240 (/28), the break down is: 204.15.5.0-11001100.00001111.00000101.00000000 255.255.255.240-11111111.11111111.11111111.11110000 -------------------------------------------------- sub --- Since you now have four bits to make subnets with, you only have four bits left for host addresses. So in this case you can have up to 16 subnets, each of which can have up to 16 host addresses (14 of which can be assigned to devices). Take a look at how a Class B network might be subnetted. If you have network 172.16.0.0,then you know that its natural mask is 255.255.0.0 or 172.16.0.0/16. Extending the mask to anything Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 17

beyond 255.255.0.0 means you are subnetting. You can quickly see that you have the ability to create a lot more subnets than with the Class C network. If you use a mask of 255.255.248.0 (/21), how many subnets and hosts per subnet does this allow for? 172.16.0.0-10101100.00010000.00000000.00000000 255.255.248.0-11111111.11111111.11111000.00000000 --------------------------- sub ------------------- You are using five bits from the original host bits for subnets. This will allow you to have 32 subnets (2 5 ). After using the five bits for subnetting, you are left with 11 bits for host addresses. This will allow each subnet so have 2048 host addresses (2 11 ), 2046 of which could be assigned to devices. Note: In the past, there were limitations to the use of a subnet 0 (all subnet bits are set to zero) and all ones subnet (all subnet bits set to one). Some devices would not allow the use of these subnets. Cisco Systems devices will allow the use of these subnets when the ip subnet zero command is configured. Examples Sample Exercise 1 Now that you have an understanding of subnetting, put this knowledge to use. In this example, you are given two address / mask combinations, written with the prefix/length notation, which have been assigned to two devices. Your task is to determine if these devices are on the same subnet or different subnets. You can do this by using the address and mask of each device to determine to which subnet each address belongs. DeviceA: 172.16.17.30/20 DeviceB: 172.16.28.15/20 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 18

Determining the Subnet for DeviceA: 172.16.17.30-10101100.00010000.00010001.00011110 255.255.240.0-11111111.11111111.11110000.00000000 --------------------------- sub --------------------- subnet = 10101100.00010000.00010000.00000000 = 172.16.16.0 Looking at the address bits that have a corresponding mask bit set to one, and setting all the other address bits to zero (this is equivalent to performing a logical "AND" between the mask and address), shows you to which subnet this address belongs. In this case, DeviceA belongs to subnet 172.16.16.0. Determining the Subnet for DeviceB: 172.16.28.15-10101100.00010000.00011100.00001111 255.255.240.0-11111111.11111111.11110000.00000000 --------------------------- sub ------------ subnet = 10101100.00010000.00010000.00000000 = 172.16.16.0 From these determinations, DeviceA and DeviceB have addresses that are part of the same subnet. Subnetting The procedure in which we browse some Host bits from the Host portion and add it in Network bits in Network Portion this procedure is called Subnetting. In Subnetting we increase the Network Portion and decrease the Host Portion. It means as Network Portion increases option of Sub networks also increases but the no of Hosts in each network start to decrease. For Example: 124.192.135.159 as we know an IP address is of 32 Bits It Is an IP address of Class A (Because in First Octet Value range is 0 126) Its Network Portion is of 8 bits Its Host Portion is of 24 bits Its Subnet mask is 255.0.0.0 Its Network ID is 124.0.0.0 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 19

Note: University of Babylon/College of Information Technology/ Information Network Dept. / IP addresses are also represented as (IP/Network Bits) Class A 124.192.135.159/8 In Class A Network Portion is of 8 Bits Class B 189.200.191.239/16 In Class B Network Portion is of 16 Bits Class C 193.220.164.223/24 In Class C Network Portion is of 24 Bits 200.100.100.0/24 (IP of Class C + Network Portion = 24 Bits + Host Portion = 8 Bits) Let us Borrow 2-Bits from Host Portion (which have Host Portion = 8-Bits) Now Host Portion have Total Bits = 6 Add it in Network Portion (which have Network Portion = 24-Bits) Now Network Portion have Total Bits = 26 What is Custom Sub net Mask After Subnetting Default Subnet Mask of the IP address becomes Custom Subnet Mask. How many Subnets can form when we borrow some Bits from Host portion and add it in Network Portion? We can produce 2 n (n = is equal to number of bits Borrow from Host Portion) If we Borrow 1 Bit 2 n n = 1 2 1 2 Subnets can form If we Borrow 2 Bits 2 n n = 2 2 2 4 Subnets can form If we Borrow 3 Bits 2 n n = 3 2 3 8 Subnets can form If we Borrow 4 Bits 2 n n = 4 2 4 16 Subnets can form If we Borrow 5 Bits 2 n n = 5 2 5 32 Subnets can form If we Borrow 6 Bits 2 n n = 6 2 6 64 Subnets can form Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 20

How may Maximum Bits be able to borrow from Host Portion? We can borrow maximum 6 bits from Host Portion Note: If number of subnets increases congestion in the routing tables would be happened because size of routing tables increases but if Bandwidth is sufficient no congestion will take place. Types of Subnetting There are two types of Subnetting 1 Fixed Length Subnetting or Fixed Length Subnet Masking 2 Variable Length Subnetting or Variable Length Subnet Masking 1 Fixed Length Subnet Masking If we are sure that we have limit of subnets and not increases from the limit it is called Fixed Length Subnetting 2 Variable Length Subnet Masking --------------------------------------------------------------------------------------------------------------------------------------- Question: How Many Subnets can form using following IP Address we do sub netting of 2-Bits and How many Hosts Can be in each subnet? 200.100.100.0 Answer: Given IP address is 200.100.100.0 1 Class C 2 Network Portion 24-Bits 3 Host Portion 08-Bits 4 Representation of IP 200.100.100.0/24 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 21

5 Subnetting 2-Bits 6 After Subnetting Network Portion 26-Bits 7 After Subnetting Host Portion 06-Bits 8 After Subnetting IP 200.100.100.0/26 9 Number of Subnets 2 n n=2 2 2 4 10 Number of Hosts per Subnet 2 n n=6 2 6 64 Default Subnet Mask Default Subnet Mask of Class Full IP Address 200.100.100.0/24 As we know to find out the Default Subnet Mask we ON all 24-Bits of Network Portion of Class Full IP address 200. 100. 100. 0/24 11111111. 11111111. 1111111. 0 255. 255. 255. 0 Network ID of Class Full IP 200.100.100.0/24 200.100.100.0 Custom Subnet Mask Custom Subnet Mask of Class Less IP Address 200.100.100.0/26 As we Know to find out the Custom Subnet Mask we ON all 26-Bits of Network Portion of class Less IP Address 200. 100. 100. 0/26 11111111. 11111111. 11111111. 11000000 255. 255. 255. 192 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 22

Subnet ID of Given Class Less IP 200.100.100.0/26 200. 100. 100. 65 200. 100. 100. 01000001 255. 255. 255. 11000000 200. 100. 100. 01000000 200. 100. 100. 64 200.100.100.65/26 Custom Subnet Mask 200.100.100.65 100.100.100.01000001 255.255.255.11000000 255.255.255.192 100.100.100.01000000 200.100.100.64 Table 1 : Summery of Subnetting for Class A,B And C) # bits Subnet Mask CIDR # Subnets # Hosts 1 255.128.0.0 /9 2 8388608 2 255.192.0.0 /10 4 4194304 3 255.224.0.0 /11 8 2097152 4 255.240.0.0 /12 16 1048576 5 255.248.0.0 /13 32 524288 6 255.252.0.0 /14 64 262144 7 255.254.0.0 /15 128 131072 8 255.255.0.0 /16 256 65536 9 255.255.128.0 /17 512 32768 10 255.255.192.0 /18 1024 16384 11 255.255.224.0 /19 2048 8192 12 255.255.240.0 /20 4096 4096 13 255.255.248.0 /21 8192 2048 14 255.255.252.0 /22 16384 1024 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 23

15 255.255.254.0 /23 32768 512 16 255.255.255.0 /24 65536 256 17 255.255.255.128 /25 131072 128 18 255.255.255.192 /26 262144 64 19 255.255.255.224 /27 524288 32 20 255.255.255.240 /28 1048576 16 21 255.255.255.248 /29 2097152 8 22 255.255.255.252 /30 4194304 4 23 255.255.255.254 /31 8388608 2 # bits Subnet Mask CIDR # Subnets # Hosts 1 255.255.128.0 /17 2 32768 2 255.255.192.0 /18 4 16384 3 255.255.224.0 /19 8 8192 4 255.255.240.0 /20 16 4096 5 255.255.248.0 /21 32 2048 6 255.255.252.0 /22 64 1024 7 255.255.254.0 /23 128 512 8 255.255.255.0 /24 256 256 9 255.255.255.128 /25 512 128 10 255.255.255.192 /26 1024 64 11 255.255.255.224 /27 2048 32 12 255.255.255.240 /28 4096 16 13 255.255.255.248 /29 8192 8 14 255.255.255.252 /30 16384 4 15 255.255.255.254 /31 32768 2 # bits Subnet Mask CIDR # Subnets # Hosts 1 255.255.255.128 /25 2 128 2 255.255.255.192 /26 4 64 3 255.255.255.224 /27 8 32 4 255.255.255.240 /28 16 16 5 255.255.255.248 /29 32 8 6 255.255.255.252 /30 64 4 7 255.255.255.254 /31 128 2 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 24

Subnetting (Dividing Networks into Right Sizes) Every network within the internetwork of a corporation or organization is designed to accommodate a finite number of hosts. Some networks, such as point-to-point WAN links, only require a maximum of two hosts. Other networks, such as a user LAN in a large building or department, may need to accommodate hundreds of hosts. Network administrators need to devise the internetwork addressing scheme to accommodate the maximum number of hosts for each network. The number of hosts in each division should allow for growth in the number of hosts. Determine the Total Number of Hosts First, consider the total number of hosts required by the entire corporate internetwork. We must use a block of addresses that is large enough to accommodate all devices in all the corporate networks. This includes end user devices, servers, intermediate devices, and router interfaces. See Step 1 of the figure. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 25

Consider the example of a corporate internetwork that needs to accommodate 800 hosts in its four locations. Determine the Number and Size of the Networks Next, consider the number of networks and the size of each required based on common groupings of hosts. See Step 2 of the figure. We subnet our network to overcome issues with location, size, and control. In designing the addressing, we consider the factors for grouping the hosts that we discussed previously: Grouping based on common geographic location Grouping hosts used for specific purposes Grouping based on ownership Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 26

Each WAN link is a network. We create subnets for the WAN that interconnect different geographic locations. When connecting the different locations, we use a router to account for the hardware differences between the LANs and the WAN. Although hosts in a common geographic location typically comprise a single block of addresses, we may need to subnet this block to form additional networks at each location. We need to create subnetworks at the different locations that have hosts for common user needs. We may also have other groups of users that require many network resources, or we may have many users that require their own subnetwork. Additionally, we may have subnetworks for special hosts such as servers. Each of these factors needs to be considered in the network count. We also have to consider any special security or administrative ownership needs that require additional networks. One useful tool in this address planning process is a network diagram. A diagram allows us to see the networks and make a more accurate count. To accommodate 800 hosts in the company's four locations, we use binary arithmetic to allocate a /22 block (2^10-2=1022). Allocating Addresses Now that we have a count of the networks and the number of hosts for each network, we need to start allocating addresses from our overall block of addresses. See Step 3 of the figure. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 27

This process begins by allocating network addresses for locations of special networks. We start with the locations that require the most hosts and work down to the point-to-point links. This process ensures that large enough blocks of addresses are made available to accommodate the hosts and networks for these locations. When making the divisions and assignment of available subnets, make sure that there are adequately-sized address blocks available for the larger demands. Also, plan carefully to ensure that the address blocks assigned to the subnet do not overlap. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 28

In our example, we now allocate blocks of addresses to the four locations as well as the WAN links. With the major blocks allocated, next we subnet any of the locations that require dividing. In our example, we divide the corporate HQ into two networks. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 29

we will look at addressing from another view. We will consider subnetting based on the number of hosts, including router interfaces and WAN connections. This scenario has the following requirements: AtlantaHQ 58 host addresses PerthHQ 26 host addresses SydneyHQ 10 host addresses CorpusHQ 10 host addresses WAN links 2 host addresses (each) When creating an appropriate addressing scheme, always begin with the largest requirement. In this case, the AtlantaHQ, with 58 users, has the largest requirement. Starting with 192.168.15.0, we will need 6 host bits to accommodate the requirement of 58 hosts, this allows 2 additional bits for the network portion. The prefix for this network would be /26 and a subnet mask of 255.255.255.192. Let's begin by subnetting the original address block of 192.168.15.0 /24. Using the Usable hosts = 2^n - 2 formula, we calculate that 6 host bits allow 62 hosts in the subnet. The 62 hosts would meet the required 58 hosts of the AtlantaHQ company router. Address: 192.168.15.0 In Binary: 11000000.10101000.00001111.00000000 Mask: 255.255.255.192/26 Bits in binary : 11111111.11111111.11111111.11000000 Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 30

This tables shows the the Networks IP Addressing for each Corporation after using (VLSM) depeond on the number of Hosts. Lecturer : Ahmed M. Al-Saleh & Mouayad Najim Page 31