Subnetting Made Easy? The “moving stick” and the “magic number” Jim Blanco Aparicio-Levy Technical Center.

Slides:



Advertisements
Similar presentations
IP Subnetting.
Advertisements

IP Addressing and Subnetting
Copyright Kenneth M. Chipps Ph.D. FLSM Last Update
OUR SUBNET PLANNING MISSION: We have been assigned an address of Assume 20 subnets are needed, with 5 hosts per subnet. Our mission is to.
Prepared By: Eng.Ola M. Abd El-Latif
Subnetting Made EZ.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Semester 1, Chapter 10 (Supplement) Creating Subnets or How to Have Fun Without Knowing It!
Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting.
IP Addressing and Subnetting
IP Addressing & Subnetting
IP Subnetting CIT 307 Kevin Siminski.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
IP Addressing Internet Protocol (IP) A unique identifier for host, on an IP network 32-bit binary number, usually expressed as 4 “dotted decimal” values.
Subnetting Warren Toomey GCIT. Introduction Each device on the Internet needs an IP address to identify its connection to the Internet –PCs have one connection,
Subnetting Rick Graziani Cabrillo College
CCENT Study Guide Chapter 4 Easy Subnetting. Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) – Describe.
IP Addressing & Subnetting Made Easy. Part 1: Working with IP Addresses.
IP Addressing Basics LAB 8.
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
Information & Communication Technology
How to ? Subnetting. Scenario How Many Networks? 2 How Many Network addresses are required? 2 Addresses Used: subnet mask
Week 3 - IP addressing 4 Introduction to IP addressing 4 Classes of IP addressing 4 Why Subnet Masks are necessary? 4 How to create subnet masks.
IP Addressing Allan Johnson. IPv4 Addressing Review IPv4 Addressing Review Table of Contents Table of Contents End Slide Show End Slide Show.
Why create a subnet mask? Tells device which part of an address is the network # including the subnet and which part is the host Filters the node IP address.
Types of Addresses in IPv4 Network Range
Subnetting Made Simple By Keith W. Noe – CCNA, CCAI Ivy Tech Community College Sellersburg, Indiana.
Chapter 12 Subnetting CIS 1140.
IP Addressing Chapter 5 powered by DJ. Chapter Objectives At the end of this Chapter you will be able to:  Explain IP addressing  Discuss IP subnetting.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
IP Addressing Basics LAB 8.
2 © 2003, Cisco Systems, Inc. All rights reserved. RST-2002 IP Addressing.
Determine a node’s IP Network Address Gina Minks EME5603 Fall 2008 Final Project For EMC Employees.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Masking.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Review.
Real Networkers don’t use Decimal! Part 2
CSIS  We need to create some logic to the environment  We want to keep like devices together  We want to make money leasing the use of the space.
Subnetting. Binary to Decimal Conversion Decimal to Binary Conversion Classes of IP Addresses Subnet Masks 7 step method to practical subnetting – Class.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
Module 10 - Subnetting For Fun and Profit
Subnetting leading to VLSM Ed Deacon. Splitting up a network you own If you have been given a network address eg /24 You require addresses.
VLSM and RIPv2 Warren Toomey GCIT. Introduction Switches deliver frames to stations. Routers deliver packets to networks. Only the final router has to.
Variable Length Subnetting Jim Blanco Aparicio-Levy Technical Center.
Variable Length Subnetting Jim Blanco Aparicio-Levy Technical Center.
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
Saeed Darvish Pazoki – MCSE, CCNA IP Subnetting 1.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
Routing and Addressing
CS470 Computer Networking Protocols
Devices function at Layers. Teaching Topology SUBNETTING The highly dreaded….
IP Pie Rednectar’s Guide to IP Subnetting using Pies.
Objective 1.Understand Network 2.Understand IP Addressing (IPv4 and IPv6) 3.Understand Subnetting 4.Examples 5.IP addressing and Vlan’s in TIFR 6.TIFR.
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Internet Architecture
IP Addressing and Subnetting
Dotted Decimal Notation
Instructor & Todd Lammle
Chapter 2 Easy Subnetting
Subnetting IP4 ICND/CCNA Prep.
LAN Chapter 5 Protocols.
IPv4 Addresses A Quick Guide.
IPv4 Addresses A Quick Guide.
Creating Subnets – Network Requirements
Introduction to Networking (Yarnfield)
Binary Lesson 6 Classful Subnetting /24, /25, and /26
Prepared by : Adeel Ahmad Updated by : Syed Ameen Quadri
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Chapter 5 IP addresses Classless Addressing
Presentation transcript:

Subnetting Made Easy? The “moving stick” and the “magic number” Jim Blanco Aparicio-Levy Technical Center

Subnetting Made Easy First let’s look at the overall requirement. A class C network consists of 4 octets totaling 32 bits. If we use a Class C network such as , we can only make use of the last octet or 8 bits. There are 256 possible combinations of bits “on” or “off” in one octet.

Subnetting Made Easy 256 addresses would result in a very large collision domain. 256 hosts using the “wire” one at a time would render the LAN unusable. In business environments, host addresses are usually divided into groups or subnets for management and security reasons. In addition the first address is reserved for the subnet address and the last for a broadcast address. So we really have 254 available host addresses.

Subnetting Made Easy We could just divide the addresses in the last octet into more manageable blocks or “subnets”: 256/4 = 64 or 4 subnets each with 64 addresses 256/8 = 32 or 8 subnets each with 32 addresses 256/16 = 16 or 16 subnets each with 16 addresses But this is too simple. We must also keep track of subnet and broadcast addresses.

Subnetting: Class C host address First convert the last octet, represented by the decimal number “0”, into 8 binary “0”s to represent 8 bits.

Subnetting: Class C host address By just utilizing the last bit, we have two possible IP addresses.

Subnetting: Class C host address bit off IP address First, with the bit remaining at “0” or off, the IP address is

Subnetting: Class C host address bit off IP address bit on IP address Second, when the bit is “1” or turned on, the IP address is Thus we have 2 possible IP addresses just utilizing the last bit

Subnetting: Class C host address bit off bit on If we use the two last bits, in the on an off positions, we have four possible IP addresses. We could continue with combinations of 3, 4 and more bits up to 8 which would result in 256 combinations of 1 and 0 or potential IP addresses. Remember “0” is a number.

Subnetting: Class C host address bit off bit on Since we cannot use the first address (subnet), 0 or the last address 255 (broadcast) we have 256-2=254 usable addresses. That’s one big collision domain. We need to divide it up into smaller blocks or “subnets”.

Subnetting: Class C host address Hold on. Thought we had 256 addresses? Or is it 254? Hold on. Thought we had 256 addresses? Or is it 254? There are 256 combinations of 1 and 0. There are 256 combinations of 1 and 0. Possible addresses run from.0 to.255. Possible addresses run from.0 to.255. “0” is a number. “0” is a number yields 256 addresses yields 256 addresses. The first “0” is reserved for the subnet and the last “255” is the broadcast address. The first “0” is reserved for the subnet and the last “255” is the broadcast address.

Subnetting: Class C host address So that’s 256 – 2 or 254 usable addresses in our one big subnet. So that’s 256 – 2 or 254 usable addresses in our one big subnet. Next we need to decide how many subnets will meet our networking requirement. Next we need to decide how many subnets will meet our networking requirement.

Subnetting: Class C subnet address bit off st subnet bit on ed subnet The same rule applies to borrowing bits for subnet addresses. Start at the left side. The first bit can be borrowed and turned on or off resulting in 2 subnets.

Subnetting: Class C subnet address Borrowing two bits yields four combinations of bits on and off, or four different combinations and 4 possible subnets

The moving stick Now let’s put it all together with our “moving stick” method Write the last octet in binary

The moving stick possible host addresses Start on the right. Number to the left to show possible numbers of host addresses.

The moving stick possible number of host addresses possible number of subnets Start on the left. Number to the right to show possible numbers of subnets.

The moving stick possible number of host addresses possible number of subnets Draw the “moving stick.” You could have a combination of 4 subnets with 64 addresses each.

The moving stick possible number of host addresses possible number of subnets Move the “stick” to the right. You could have a combination of 8 subnets with 32 addresses each.

The moving stick possible number of host addresses possible number of subnets Move it again. You could have a combination of 16 subnets with 16 addresses each.

Calculate the subnets Use this IP address Our company requires at least 3 subnets with more than 50 hosts per subnet.

The moving stick possible number of host addresses possible number of subnets Look back to our first example. We borrowed two bits. This fits the requirement of our company – 4 subnets each with up to 64 addresses.

The moving stick possible number of host addresses possible number of subnets We could move the “stick” to the right. But a combination of 8 subnets with 32 addresses each does not meet our company’s requirement.

The moving stick add the “magic number” possible number of host addresses possible number of subnets We move the stick back to the left. 64 is our “magic” number”.

Calculate the subnets SubnetRange Broadcast address Add to the “0” subnet by increments of 64, our magic number. We find our 4 subnet addresses.

Calculate the subnets SubnetRange Broadcast address The first usable address is in our first subnet The last usable address is The broadcast address is through.63 totals 64 addresses, our “magic number”

Calculate the subnets SubnetRange Broadcast address Fill in the remaining columns

Ok, I lied. You still have to figure out that pesky subnet mask.

Just because you graph subnets on a piece of paper doesn’t mean your router orJust because you graph subnets on a piece of paper doesn’t mean your router or PC has any idea what you did. We need a subnet mask to enter into the router CLI or your PC’s local area connection propertiesWe need a subnet mask to enter into the router CLI or your PC’s local area connection properties

Subnet Mask binary numbers Renumber your last 8 bits to show the binary equivalent. Draw your stick to show the two borrowed bits. Your subnet mask is = 192.

Subnet Mask binary numbers If you had borrowed 3 bits. Your subnet mask would be = 224.

Subnet Mask binary numbers Move the stick to borrow 4 bits. Your subnet mask would be = 240.

Problem completed Our company required us to borrow 2 bits so our IP address and subnet mask is: Our company required us to borrow 2 bits so our IP address and subnet mask is: