Classless Subnetting Using the Worksheet

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Advertisements

Chapter 9a Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain why routing is necessary for hosts on different.
IP Subnetting.
Calculating Subnet Masks
1 IP Subnetting (Modified version of slides from Rick Graziani) Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
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.
IP addressSubnet mask AND
Subnetting Made EZ.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting.
IP Addressing – Dotted-Decimal Notation –An IP address is 32 bits in size –Every IP address is grouped into four 8-bit octets –Octets are separated by.
Introduction to Networking (Yarnfield) Classful subnetting.
IP Addressing and Subnetting
IP Subnetting CIT 307 Kevin Siminski.
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 Rick Graziani Cabrillo College
11 ASSIGNING IP ADDRESSES Chapter 2. Chapter 2: ASSIGNING IP ADDRESSES2 CHAPTER OVERVIEW  Describe the structure of IP addresses and subnet masks. 
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
Information & Communication Technology
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Network Basics Introduction Instructor: Ataur Rahman
Chapter 12 Subnetting CIS 1140.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
Binary to Decimal Conversion
Chapter 6 IPv4 Addresses – Part 1 CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Spring 2010.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Planning the Addressing Structure Working at a Small-to-Medium Business or ISP – Chapter.
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Review.
Binary Lesson 5 Usable Addresses Class A, B, and C.
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
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.
Binary Lesson 5.5 Usable Addresses Class A, B, and C.
Chapter 6 IPv4 Addresses – Part 2 Instructor: Amir Adelipour.
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
Chapter 6 IPv4 Addresses – Part 2 CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Last Updated: 3/30/2008.
Addressing IP v4 W.Lilakiatsakun.
By Dana Matcham Caruso SED 695G May 8, 2001
Chapter 6 VLSM and CIDR CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/30/2008.
Chapter 6 IPv4 Addresses – Part 1 CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Last Updated: 3/9/2008.
Saeed Darvish Pazoki – MCSE, CCNA IP Subnetting 1.
Binary Lesson 6.1 Classful Subnetting 2
CTI Technician Training Internet Protocol Part 2.
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.
Easy Subnetting. Chapter 4 Objectives Topics Covered in this chapter include: Interpret network diagrams Describe the operation and benefits of using.
IP addressing.
After 6.1. What is 69 in binary? A B C D E of 6.
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.
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.
Internet Architecture
Chapter 5 Exploring IPv4.
Dotted Decimal Notation
Binary Concepts By: Nathan Miller.
Master Subnetting – Section 3
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Addressing the Network - IPV4 Part III
Lec 9 Subnet 3.1 Computer Networks Al-Mustansiryah University
Subnetting IP4 ICND/CCNA Prep.
Addressing the Network - IPV4 Part III
כתובות IP.
Creating Subnets – Network Requirements
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Binary Lesson 6 Classful Subnetting
Introduction to Networking (Yarnfield)
Binary Lesson 6 Classful Subnetting /24, /25, and /26
Binary Lesson 6 Classful Subnetting
Prepared by : Adeel Ahmad Updated by : Syed Ameen Quadri
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Presentation transcript:

Classless Subnetting Using the Worksheet CIS 81 and CST 311 Rick Graziani Fall 2006

Determining Network and Subnet Information Use the Classless Subnetting Worksheet (Excel Spreadsheet) to do the following: Given any IP address and major network mask we can determine: Major Network Address First host address of the network Last host address of the network Broadcast address of the network Number of usable hosts in the network If the network is subnetted and we know the subnet mask we can determine: Subnet (network) Address First host address of the subnet Last host address of the subnet Broadcast address of the subnet Number of usable hosts in the subnet Number of usable subnets in this network Rick Graziani graziani@cabrillo.edu

See these spreadsheets on my website Nutshell: Classless Subnetting in a Nutshell (Excel spreadsheet) Worksheet: Classless Subnetting Worksheet (Excel spreadsheet) Rick Graziani graziani@cabrillo.edu

Part 1: Determine Major Network Information Rick Graziani graziani@cabrillo.edu

Convert IP Address/Network Mask to Binary First, let’s determine the Major Network Information. This is the information for the entire network, whether or not there are subnets. Using the Major Network Mask, determine the major network Address, the broadcast address for the entire network, and the number of hosts for the entire network. The Major Network Mask (or Base Mask, Subnet Mask) is provided by the ISP. Convert these addresses to binary. Host IP Address:138.101.114.250 Major Network Mask: 255.255.0.0 (/16) Rick Graziani graziani@cabrillo.edu

Determine Network Address Determine the Network Address by using the AND operation. Perform a bit-wise AND operation on the IP Address and the Subnet Mask Note: 1 AND 1 results in a 1, 0 AND anything results in a 0 Express the result in Dotted Decimal Notation The result is the Major Network Address of this for this host IP Address is 138.101.0.0 Rick Graziani graziani@cabrillo.edu

Determine Network Address A simple way of doing the AND operation: 1. In the Network mask locate where the 1’s end and the 0’s begin and draw a line. (I call this the “Major Network Divide” or “MD” on the worksheet.) 2. Now copy all of the bits above the 1 bits in the Network mask, to the Network address. 3. For the rest of the bits in the Network address (the bits below the 0’s in the Network mask) write all 0’s. MD Network Portion Host Portion Copy the bits from the Host IP Address to the Major Network Address Write all 0’s below the 0’s in the Major Network Mask Rick Graziani graziani@cabrillo.edu

Network: Determine First Host, Last Host, Broadcast Addresses Remember that the network mask separates the network portion of the address from the host portion. Major Network Mask: 255.255.0.0 or /16 The network address has all 0’s in the host portion of the address The broadcast address has all 1’s in the host portion of the address The first host is all 0’s and a 1 in the host portion of the address. The last host is all 1’s and a 0 in the host portion of the address. Network Portion Host Portion Rick Graziani graziani@cabrillo.edu

Network: Determine First Host, Last Host, Broadcast Addresses The network address has all 0’s in the host portion of the address The broadcast address has all 1’s in the host portion of the address The first host is all 0’s and a 1 in the host portion of the address. The last host is all 1’s and a 0 in the host portion of the address. Network Portion Host Portion Rick Graziani graziani@cabrillo.edu

Network: Determine the number of usable hosts By counting the number of host bits we can determine the total number of usable hosts for this network (before subnetting). Host bits: 16 Total number of hosts: 216 = 65,536 65,536 – 2 = 65,534 (Can’t use the all 0’s address, network address, or the all 1’s address, broadcast address.) Network Portion Host Portion = 16 bits Rick Graziani graziani@cabrillo.edu

Part 2: Determine Subnet Information                                                                                                                                                                                                 Rick Graziani graziani@cabrillo.edu

Convert IP Address/Subnet Mask to Binary Now we will determine the Subnet Network Information. (Assuming we are subnetted.) This is the information only for that subnet. Using the Subnet Mask, determine the Subnet Address, the broadcast address for the entire network, and the number of hosts for the subnet. The Subnet Mask is determined by the network administrator, depending upon the number of subnets and the number of hosts per subnet that are needed. Convert these addresses to binary. Host IP Address:138.101.114.250 Subnet Mask: 255.255.255.192 (/26) Rick Graziani graziani@cabrillo.edu

Determine Subnet Address Determine the Network Address by using the AND operation. Perform a bit-wise AND operation on the IP Address and the Subnet Mask Note: 1 AND 1 results in a 1, 0 AND anything results in a 0 Express the result in Dotted Decimal Notation The result is the Major Network Address of this for this host IP Address is 138.101.114.192 Rick Graziani graziani@cabrillo.edu

Determine Subnet Address A simple way of doing the AND operation: 1. In the Subnet mask locate where the 1’s end and the 0’s begin and draw a line. (I call this the “Subnet Divide” or “SD” on the worksheet.) 2. Now copy all of the bits above the 1 bits in the Subnet mask, to the Network address. 3. For the rest of the bits in the Subnet address (the bits below the 0’s in the Network mask) write all 0’s. SD Network/Subnet Portion Host Portion Copy the bits from the Host IP Address to the Major Network Address Write all 0’s below the 0’s in the Major Network Mask Rick Graziani graziani@cabrillo.edu

Subnet: Determine First Host, Last Host, Broadcast Addresses Remember that the network mask separates the network portion of the address from the host portion. Subnet Mask: 255.255.255.192 or /26 The network address has all 0’s in the host portion of the address The broadcast address has all 1’s in the host portion of the address The first host is all 0’s and a 1 in the host portion of the address. The last host is all 1’s and a 0 in the host portion of the address. Network Portion Subnet Portion Host Portion Rick Graziani graziani@cabrillo.edu

Subnet: Determine First Host, Last Host, Broadcast Addresses The subnet address has all 0’s in the host portion of the subnet address The broadcast address has all 1’s in the host portion of the subnet address The first host is all 0’s and a 1 in the host portion of the subnet address. The last host is all 1’s and a 0 in the host portion of the subnet address. Network Portion Subnet Portion Host Portion Rick Graziani graziani@cabrillo.edu

Subnet: Determine the number of usable hosts By counting the number of host bits we can determine the total number of usable hosts for this subnet. Host bits: 6 Total number of hosts: 26 = 64 64 – 2 = 62 (Can’t use the all 0’s address, network address, or the all 1’s address, broadcast address.) SD Network Portion Subnet Portion Host Portion Rick Graziani graziani@cabrillo.edu

Subnet: Determine the number of usable subnets By counting the number of subnet bits we can determine the total number of usable hosts for this subnet. Subnet bits: 10 Total number of hosts: 210 = 1,024 1,024 – (0, 1, or 2) = ? 1,024 – 1 = 1,023 usable subnets The number of usable subnets depends upon whether or not we can use the first and/or last subnets. In today’s networks, both the first and last subnets are generally usable. In this example, the network administrator has determined the last subnet is not to be used. MD SD Network Portion Subnet Portion Host Portion Rick Graziani graziani@cabrillo.edu

Overall Visual The subnet address has all 0’s in the host portion of the subnet address The broadcast address has all 1’s in the host portion of the subnet address The first host is all 0’s and a 1 in the host portion of the subnet address. The last host is all 1’s and a 0 in the host portion of the subnet address. Rick Graziani graziani@cabrillo.edu

Overall Visual The following information must be provided: IP Address (host or network) Major Network Mask If subnetted: Subnet Mask Number of usable subnets (less 0, 1, or 2) Rick Graziani graziani@cabrillo.edu

Notes Quick check First host: 1 more than network/subnet address Last host: 1 less than broadcast Does the host IP address fall in the range of network host addresses? Of subnet host addresses? How do hosts view the network? Hosts receive a host IP address and mask. Hosts only see themselves as part of their subnet (or network if not subnetted). They don’t know or care if they are in a network or subnet. Almost all networks are a subnet of some larger network. Rick Graziani graziani@cabrillo.edu

See these spreadsheets on my website Nutshell: Classless Subnetting in a Nutshell (Excel spreadsheet) Worksheet: Classless Subnetting Worksheet (Excel spreadsheet) Rick Graziani graziani@cabrillo.edu

Tips Use worksheets Don’t do short-cuts unless you understand the process we just discussed and you know what you are doing. Only use a subnet calculator to check your answers. You must know how to subnet, then you can use the calculator. Interviews, exams, and certification exams do not allow subnet calculators. Practice, practice, practice! Rick Graziani graziani@cabrillo.edu

Classless Subnetting Using the Worksheet CIS 81 and CST 311 Rick Graziani Fall 2006