CISCO NETWORKING ACADEMY Chabot College ELEC 99.05 Subnet Masking.

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

IP Addressing and Subnetting
Welcome to Back! TCP/IP Subnetting Pop Quiz TCP/IP Cheat Sheet.
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.
Based Computer Networks and Internets (Comer)
Semester 1, Chapter 10 (Supplement) Creating Subnets or How to Have Fun Without Knowing It!
Mod 9 – IP Addressing Part 1 CIS151 Paul Morris MHCC.
Institute of Technology Sligo - Dept of Computing Chapter 10 IP Addressing and Subnetting Paul Flynn.
Mod 9 – IP Addressing Part 2 CIS151 Paul Morris MHCC.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
Subnetting Rick Graziani Cabrillo College
IP Addressing. Each TCP/IP host is identified by a logical IP address. –The IP address is a network layer address –No dependence on the Data-Link layer.
IP Addressing Basics LAB 8.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 subnetting.
NETWORK LAYER IP Addressing 1. ANNOUNCEMENT: Rescheduled  NO PRACTICAL SESSIONS ON TUESDAY 22, November 2010  Rescheduled sessions: MONDAY: November.
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
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 & Classes
IP Addressing and Subnetting Tony Madden John Paul McCann NEI.
21-IP addressing Dr. John P. Abraham Professor UTPA.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
Ch.9 – IP Addressing Part 2 CCNA 1 version 3.1 Rick Graziani Spring 2005.
Chapter 12 Subnetting CIS 1140.
IP Addressing Basics LAB 8.
2 © 2003, Cisco Systems, Inc. All rights reserved. RST-2002 IP Addressing.
Chapter 6 IPv4 Addresses – Part 1 CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Spring 2010.
1  You are given an IP address for a host /20  What is/are the  Subnet address?  Broadcast address?  The number of useable hosts available.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 4 Routing Fundamentals and Subnets/ TCP/IP Transport and Application Layers.
CISCO NETWORKING ACADEMY Chabot College ELEC Addressing & Routing Foundation Concepts.
Number Systems.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Review.
Binary Lesson 5 Usable Addresses Class A, B, and C.
Binary Lesson 5.5 Usable Addresses Class A, B, and C.
Networking The TCP-IP Protocol Suite (Part 2) Carl Smith National Certificate Parts adapted from HNC lectures by Steve Leggett – 2002/03.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
VLSM and RIPv2 Warren Toomey GCIT. Introduction Switches deliver frames to stations. Routers deliver packets to networks. Only the final router has to.
Chapter 6 IPv4 Addresses – Part 1 CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Last Updated: 3/9/2008.
Addressing the Network - IPV4 Part II
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNP 1 v3.0 Module 2 Advanced IP Addressing Management Cisco Networking Academy.
© 2010 Cisco Systems, Inc. All rights reserved. 1 Academy Conference 2010 Frisco, Texas Teaching VLSM Barry Charter ~ North Arkansas College ~ Newly Retired.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
Binary Lesson 6.1 Classful Subnetting 2
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
Subnetting. Class A Address O is the subnet Identifier is the loop back address. 4 Each class A address supports 16,387,064 hosts. 4 Assigned.
IP Addresses Mark Woodhouse and Arthur Manning IP Addressing Used packets created in Layer 3 of the Open Systems Interconnection (OSI) Model Hierarchical.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
IP addressing.
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets Claes Larsen, CCAI.
Subnetting Made Easy? The “moving stick” and the “magic number” Jim Blanco Aparicio-Levy Technical Center.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
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 and Subnetting
Subnetting Problems.
Instructor Materials Chapter 8: Subnetting IP Networks
Lecture#7: Subnetting IP Networks
Chapter-5 TCP/IP Suite.
Chapter 8: Subnetting IP Networks
IP Addresses: Classful Addressing
Binary Lesson 5.5 Usable Addresses Class A, B, and C
LAN Chapter 5 Protocols.
כתובות IP.
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Binary Lesson 6 Classful Subnetting
Binary Lesson 6 Classful Subnetting
IP Addressing & Subnetting
Presentation transcript:

CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Masking

CISCO NETWORKING ACADEMY Logical Address Composition Though the exact length and format of a logical (layer 3) address differs depending on the protocol, all logical addresses share this basic formula: NETWORK NUMBER HOST NUMBER

CISCO NETWORKING ACADEMY Logical Address Composition IP address may have an additional field, the subnet field, that is used to identify smaller networks within a larger network. NETWORK NUMBER SUBNET NUMBER HOST NUMBER

CISCO NETWORKING ACADEMY Address Classes Class A ( ) Class B ( ) Class C ( ) NetworkHost Network Host Network Host 1st octet2nd octet3rd octet4th octet

CISCO NETWORKING ACADEMY Address Classes Class A Class B Class C NetworkHost

CISCO NETWORKING ACADEMY The Subnet Mask The solution to the IP address shortage was thought to be the subnet mask. Formalized in 1985, the subnet mask breaks a single class A, B or C network in to smaller pieces.1985

CISCO NETWORKING ACADEMY Subnetting What’s happened to the host fields? Network SubnetHost 8 bits 8 bits are now used to represent subnets. Only 8 bits remain for possible hosts.

CISCO NETWORKING ACADEMY Subnetting What’s happened to the host fields? Network SubnetHost 8 bits 8-bit subnet field = 2 8 subnets = 256 subnets. 8-bit host field = 2 8 hosts = 256 hosts. Remember, we started with 65,536 hosts!

CISCO NETWORKING ACADEMY The Subnet Mask The Subnet Mask is a 32-bit number. Its job is to tell routers (and humans) which bits are network number and which bits are used to represent hosts.

CISCO NETWORKING ACADEMY The Subnet Mask The Subnet Mask corresponds to the IP address. A “1” bit in the subnet mask means that the corresponding bit in the IP address should be read as a network number A “0” bit in the subnet mask means that the corresponding bit in the IP address should be read as a host bit.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Here, the first 16 bits of the mask are set to “1.” Thus, the first 16 bits (2 octets) of the IP address are network number.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host The mask shows that the first two octets refer to the network number.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host The mask shows that the first two octets refer to the network number

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host Here, the first 24 bits are set to “1” in the subnet mask. Thus, the first 24 bits (3 octets) of the IP address are network number.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host Here, the first 24 bits are set to “1” in the subnet mask. Thus, the first 24 bits (3 octets) of the IP address are network number

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host Here, the first 27 bits of the subnet mask are set to “1.” Thus, the first 27 bits of the IP address refer to network number.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host Here, the first 27 bits of the subnet mask are set to “1.” Thus, the first 27 bits of the IP address refer to network number

CISCO NETWORKING ACADEMY The Default Subnet Masks Class A or /8 Class B or /16 Class C or / If any additional bits in the subnet mask are set to “1,” then subnets have been created.

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host

CISCO NETWORKING ACADEMY The Subnet Mask Address Mask Network Host

CISCO NETWORKING ACADEMY Class C : 1-bit Mask (/25) Address Mask Network Host Masks can be written different ways. When the phrase “1-bit” mask is used, that means 1 more bit than the default. This example can also be called a 25-bit mask, or /25 (there are 25 network bits).

CISCO NETWORKING ACADEMY Class C: 2-bit Mask (/26) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 3-bit Mask (/27) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 4-bit Mask (/28) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 5-bit Mask (/29) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 6-bit Mask (/30) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 7-bit Mask (/31) Address Mask Network Host

CISCO NETWORKING ACADEMY Class C: 8-bit Mask (/32) Address Mask Network

CISCO NETWORKING ACADEMY Class C : 1-bit Mask (/25) Address Mask Network Host Because this is a class C, all nodes on this network will share the first three octets. Those numbers are not an issue.

CISCO NETWORKING ACADEMY Last Octet 1-bit Mask (/25) Address Mask Host How many subnet possibilities with 1 bit? 2 1 = 2 different possibilities

CISCO NETWORKING ACADEMY Last Octet 1-bit Mask (/25) = 128 = 255 = The last octet can be any value from = Subnet #0Subnet #1 DecimalBinary

CISCO NETWORKING ACADEMY Last Octet 1-bit Mask (/25) = 128 = 255 = How many hosts can be on each subnet? = Subnet #0Subnet #1 DecimalBinary 2 7 = 128 different possibilities MINUS TWO. 7 bits

CISCO NETWORKING ACADEMY Why “Minus Two”? Two special host addresses are “reserved”: –the address of the subnet itself (all zeros) –the broadcast address for the subnet (all ones) = 128 = 255 = = Subnet #0Subnet #1 DecimalBinary Subnet addr. Broadcast addr. Subnet addr. Broadcast addr.

CISCO NETWORKING ACADEMY Network #, Broadcast Address = All zeros in the HOST portion of the address is reserved for network (or subnet) number. All ones is reserved for the network (or subnet) BROADCAST address = DecimalBinary = = = =

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = So, which subnet is this host on? = Subnet #0Subnet #1 DecimalBinary Subnet #0

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = Are these two hosts on the same subnet? = Subnet #0Subnet #1 DecimalBinary No

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = Unfortunately, older TCP/IP software cannot handle subnets with all zeros in the subnet field = Subnet #0Subnet #1 DecimalBinary

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = More bad news, older TCP/IP software cannot handle subnets with all ones in the subnet field = Subnet #0Subnet #1 DecimalBinary

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = For now, using subnets that have all zeros or all ones in the subnet field should be considered illegal. (It’s not really, but….) = Subnet #0Subnet #1 DecimalBinary

CISCO NETWORKING ACADEMY Last Octet = 128 = 255 = Bottom line, a 1-bit mask results in no usable addresses = Subnet #0Subnet #1 DecimalBinary

CISCO NETWORKING ACADEMY Class C : 2-bit Mask (/26) Address Mask Network Host Because this is a class C, all nodes on this network will share the first three octets. Those numbers are not an issue.

CISCO NETWORKING ACADEMY Class C : 2-bit Mask (/26) Address Mask Host How many subnet possibilities with 2 bits? 2 2 = 4 different possibilities:

CISCO NETWORKING ACADEMY Last Octet = 64 = 127 = = Subnet #0Subnet #1 DecimalBinary 128 = 191 = = 255 = Subnet #2Subnet #3

CISCO NETWORKING ACADEMY Last Octet = 64 = 128 = How many hosts can be on each subnet? = Subnet #0Subnet #1 DecimalBinary 2 6 = 64 different possibilities MINUS TWO. 6 bits

CISCO NETWORKING ACADEMY Which subnets can be used? = 64 = 127 = = Subnet #0Subnet #1 DecimalBinary 128 = 191 = = 255 = Subnet #2Subnet #3

CISCO NETWORKING ACADEMY Putting it together Assuming the mask: , which addresses are legal for hosts? 1) ) ) ) )

CISCO NETWORKING ACADEMY Class C : 3-bit Mask (/27) Address Mask Network Host Because this is a class C, all nodes on this network will share the first three octets. Those numbers are not an issue.

CISCO NETWORKING ACADEMY Class C : 3-bit Mask (/27) Address Mask Host How many subnet possibilities with 3 bits? 2 3 = 8 different possibilities:

CISCO NETWORKING ACADEMY Last Octet = 32 = 63 = = DecimalBinary 64 = 95 = = 127 = = 160 = 191 = = DecimalBinary 192 = 223 = = 255 =

CISCO NETWORKING ACADEMY Last Octet = 32 = 64 = How many hosts can be on each subnet? = Subnet #0Subnet #1 DecimalBinary 2 5 = 32 different possibilities MINUS TWO. 5 bits

CISCO NETWORKING ACADEMY Which subnets can be used? = 32 = 63 = = DecimalBinary 64 = 95 = = 127 = = 160 = 191 = = DecimalBinary 192 = 223 = = 255 =