Variable Length Subnet Mask (VLSM)

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Subnetting IP Networks Network Fundamentals.
Advertisements

Introduction to Classless Routing
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Integrated Network Services Network Design Almerindo Graziano.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
IP Addressing and Subnetting
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
Instructor & Todd Lammle
How to ? Subnetting. Scenario How Many Networks? 2 How Many Network addresses are required? 2 Addresses Used: subnet mask
Introduction to Networking
Copyright Kenneth M. Chipps Ph.D. 1 How To Do VLSM Last Update
From Subnetting to VLSM
Types of Addresses in IPv4 Network Range
Chapter 12 Subnetting CIS 1140.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Implementing VLSM.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
Introduction to Classless Routing
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
Copyright © Lopamudra Roychoudhuri
VLSM and RIPv2 Warren Toomey GCIT. Introduction Switches deliver frames to stations. Routers deliver packets to networks. Only the final router has to.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Addressing the Network - IPV4 Part II
CCNA1-1 Chapter 6-3 Chapter 6 Addressing the Network - IPV4 Part III.
Subnetting When an organization is given a block of class A, B, or C address, the first address in the block defines the network address. This address.
HANNAM UNIVERSITY TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing.
© 2010 Cisco Systems, Inc. All rights reserved. 1 Academy Conference 2010 Frisco, Texas Teaching VLSM Barry Charter ~ North Arkansas College ~ Newly Retired.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
IP Addressing.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
IP Pie Rednectar’s Guide to IP Subnetting using Pies.
VLSM Variable Length Subnet Mask. VLSM If you borrow 4 bits on a Class C network, you end up with 14 valid subnets of 14 valid hosts. A serial link to.
1 Variable Length Subnet Masks ( VLSM ) “ Classful Route” Means if a route to a network starting with is received, it is a class A => mask length.
Lecture#7: Subnetting IP Networks
After 6.1. What is 69 in binary? A B C D E of 6.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Subnetting IP Networks Introduction to Networks.
If we don’t subnet and use as our subnet mask then we use all of our IP addresses on one network. This is not an efficient use of our Class.
IP Addressing, Sub-netting & VLSM
Instructor Materials Chapter 8: Subnetting IP Networks
Instructor & Todd Lammle
Subnetting Problems.
Instructor Materials Chapter 8: Subnetting IP Networks
CIS 81 Fundamentals of Networking Chapter 9: Subnetting IP Networks
Lecture#7: Subnetting IP Networks
Introduction to Networking (Yarnfield)
Planning the Addressing Structure
Chapter 8: Subnetting IP Networks
Variable Length Subnet Mask (VLSM)
Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
Cases in Subnetting.
Variable Length Subnet Mask
Chapter 9: Subnetting IP Networks
Lec2 Variable Length Subnet Mask (VLSM)
Variable Length Subnet Mask
Sub Neting exercises.
Instructor: Mr. Malik Zaib Alam
Chapter 4: VLSM, Summarization And Troubleshooting TCP/IP
Chapter 5 IP addresses Classless Addressing
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Lec2 Variable Length Subnet Mask (VLSM)
Presentation transcript:

Variable Length Subnet Mask (VLSM) CCNA Variable Length Subnet Mask (VLSM)

What is VLSM? A Variable Length Subnet Mask (VLSM) is a means of allocating IP addressing resources to subnets according to their individual need rather than some general network-wide rule. VLSM allows an organization to use more than one subnet mask within the same network address space. It is often referred to as ‘subnetting a subnet’, and can be used to maximize addressing efficiency. Large subnets are created for addressing LANs and small subnets are created for WAN links (a 30 bit mask is used to create subnets with only two host).

Subnetting vs. VLSM Subnetting allows you to divide big networks into smaller, equal-sized slices. VLSM allows you to divide big networks into smaller, different-sized slices. This enables you to make maximum use of your valuable IP address space.

Addressing a Network with Standard Subnetting Site A has two Ethernet networks Site B had one Ethernet network Site C had one Ethernet network 207.21.24.0 /24 How many network addresses are needed? How many hosts are needed for the largest LAN? How many bits need to be borrowed to address this network? Site A Site B Site C 25 users 10 users 8 users

Addressing a Network with Standard Subnetting Site A Site B Site C 25 users 10 users 8 users Site A has two Ethernet networks Site B had one Ethernet network Site C had one Ethernet network If we borrow 3 bits from a class C address, that will give us eight networks. Each network will have 30 usable addresses. It will take four network addresses to accommodate the Ethernet networks at each site. That leaves us with four extra networks. There is also a point-to-point WAN connection between each site. These two connections will take up two of the remaining networks.

Addressing a Network with Standard Subnetting Borrowing 3 bits will meet the current needs of the company, but it leaves little room for growth. Each network will have 30 usable addresses, including the point-to-point WAN links (which only require two addresses). 207.21.24.0 Site A Site B Site C 25 users 10 users 8 users

Subnetting in a Box 256 addresses To begin, in a class C network there are 256 addresses. When we subnet the address, we break it down in to smaller units or subnets. 256 addresses 255

Subnetting in a Box 128 addresses If we were to borrow 1 bit, it would break the 256 addresses in to two parts (networks) with each part (subnet) having 128 addresses. The subnet mask would be 255.255.255.128. 128 127 128 addresses 255

Subnetting in a Box 64 addresses If we were to borrow 2 bits, it would break each of these 2 networks in half again. This would give us 4 networks, each with 64 addresses. The subnet mask would now be 255.255.255.192. 128 127 64 addresses 64 192 63 191 255

Subnetting in a Box 32 addresses 32 addresses 32 addresses If we were to borrow 3 bits, it would break each of these 4 networks in half again. This would give us 8 networks, each with 32 addresses. The subnet mask would now be 255.255.255.224. 128 127 32 addresses 31 32 32 addresses 159 160 64 192 63 191 32 addresses 95 96 32 addresses 223 224 255

Subnetting in a Box 16 addresses 16 addresses 16 addresses If we were to borrow 4 bits, it would break each of these 8 networks in half again. This would give us 16 networks, each with 16 addresses. The subnet mask would now be 255.255.255.240. 128 127 32 160 16 addresses 16 addresses 16 addresses 16 addresses 16 15 48 47 144 143 176 175 64 192 63 191 31 159 96 224 16 addresses 16 addresses 16 addresses 16 addresses 80 79 112 111 208 207 240 239 95 223 255

Addressing a Network Using VLSM When using VLSM to subnet an address, not all of the subnets have to be the same size. A different subnet mask may be applied to some of the subnets to further subnet the address. In order to take advantage of VLSM, the proper routing protocol must be selected. Not all routing protocols share subnetting information in their routing table updates.

Addressing a Network Using VLSM To begin subnetting this network using VLSM, identify the LAN with the largest number of hosts. Subnet the address 207.21.24.0 /24 based on this information. Site A has two Ethernet networks (25 hosts each) Site B had one Ethernet network (10 hosts) Site C had one Ethernet network (8 hosts) Site A Site B Site C 25 users 10 users 8 users

Addressing a Network Using VLSM Subnet 1 & 2 can be used to address Site A Ethernet networks. Subnet 5 can be subnetted to accommodate Site B & C Ethernet networks. Subnet 6 can be subnetted to accommodate the WAN links. Site A Site B Site C 25 users 10 users 8 users Site A Site B Site C Free Addresses Free Addresses WAN 1 & 2 Site B & C WAN links

Addressing a Network Using VLSM Through applying VLSM, the topology was able to be addressed and still have two complete subnets available for future growth. Site A Site B Site C 25 users 10 users 8 users 207.21.24.192 /30 207.21.24.196 /30 207.21.24.32 /27 207.21.24.64 /27 207.21.24.160 /28 207.21.24.176 /28

Addressing a Network Using VLSM Exercise 1 Your company has been assigned IP network 195.39.71.0 /24. Given that headquarters (60 hosts) is connected to five branch offices (12 hosts each) by a WAN link, and to an ISP (the ISP owns the addresses on that link), determine an appropriate IP addressing scheme. Headquarters Branch 1 60 users 12 users Branch 2 Branch 3 Branch 4 Branch 5 ISP

Given the IP address 195.39.71.0 /24, subnet according to the largest subnet needed. (Headquarters 60 hosts) 128 127 64 192 63 191 You would need to borrow 2 bits or /26. This would give you 4 networks with 64 host addresses on each subnet. 255

Playing it safe, we will not use the first subnet (subnet 0). 64 128 192 We will start addressing with 195.39.71.64 /26. Headquarters needs 60 hosts, so we will assign them .64 - .127. Headquarters 60 hosts 26 bit mask or /26 (255.255.255.192)

The 5 Branch offices only need 12 hosts each. 64 128 192 160 Branch 1 12 hosts /28 (255.255.255.240) Branch 2 12 hosts /28 (255.255.255.240) Branch 3 12 hosts /28 (255.255.255.240) Branch 4 12 hosts /28 (255.255.255.240) The next address block available is the .128 - .191 block (64 addresses). Here we will apply VLSM. 144 176 Headquarters 60 hosts 26 bit mask or /26 (255.255.255.192) Using a /28 mask will give us 16 hosts at each location. This will take care of 4 of the Branch offices.

To obtain a block for Branch 5, we will need to subnet the. 192 - To obtain a block for Branch 5, we will need to subnet the .192 - .255 block using a /28 mask. 64 128 192 160 Branch 1 12 hosts /28 (255.255.255.240) Branch 2 12 hosts /28 (255.255.255.240) Branch 3 12 hosts /28 (255.255.255.240) Branch 4 12 hosts /28 (255.255.255.240) 144 176 224 Branch 5 12 hosts /28 (255.255.255.240) Headquarters 60 hosts 26 bit mask or /26 (255.255.255.192) 208 240

Here we will use a /30 mask to further subnet the subnets. Now we need to address the 5 WAN links that connect to the Branch offices. These are point-to-point connections and only require 2 addresses. 64 128 192 160 Branch 1 12 hosts /28 (255.255.255.240) Branch 3 12 hosts /28 (255.255.255.240) 144 176 Branch 2 12 hosts /28 (255.255.255.240) Branch 4 12 hosts /28 (255.255.255.240) 224 232 WAN 5 Branch 5 12 hosts /28 (255.255.255.240) Here we will use a /30 mask to further subnet the subnets. Headquarters 60 hosts 26 bit mask or /26 (255.255.255.192) 228 236 208 240 216 WAN 1 WAN 2 WAN 3 WAN 4 212 220

Subnet 0 could be used later if needed for future growth of HQ or for more Branch offices. 64 128 192 160 Branch 1 12 hosts /28 (255.255.255.240) Branch 3 12 hosts /28 (255.255.255.240) 144 176 Branch 2 12 hosts /28 (255.255.255.240) Branch 4 12 hosts /28 (255.255.255.240) 224 232 WAN 5 Branch 5 12 hosts /28 (255.255.255.240) Headquarters 60 hosts 26 bit mask or /26 (255.255.255.192) 228 236 208 240 216 WAN 1 WAN 2 WAN 3 WAN 4 212 220

Address provided by ISP Applying the Addresses to the Topology Address provided by ISP 195.39.71.64 /26 195.39.71.128 /28 195.39.71.144 /28 195.39.71.160 /28 195.39.71.176 /28 195.39.71.192 /28 195.39.71.208 /30 195.39.71.212 /30 195.39.71.216 /30 195.39.71.220 /30 195.39.71.224 /30