Calculating Subnet Masks

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
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.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
Understanding Binary Basics
IP Addressing and Subnetting
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Introducing ACLs.
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.
Chapter 18. IP: Internet Protocol Addresses
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
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.
111 © 2003, Cisco Systems, Inc. All rights reserved. Cisco Feedback is Essential:- Ca2dts has not completed Course Feedback ca5dpa has not completed Course.
Data Communication and Networking
IP Addressing & Subnetting
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
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.
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 subnetting.
Subnets Routing within an Organization. Subnet  Subnets are a subset of the entire network Networks can be divided into subnets Subnets can be divided.
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.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
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 bits Dotted Decimal Network Host
Types of Addresses in IPv4 Network Range
4: Addressing Working At A Small-to-Medium Business or ISP.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
IP Addressing Basics LAB 8.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Implementing Variable-Length Subnet Masks.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Implementing VLSM.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Unit 24 Network Design IP Addressing (Part 3). Objectives to date… Classes of IP addresses (A, B and C) Using Subnetting and Subnet Masks The Limitations.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 4 Routing Fundamentals and Subnets/ TCP/IP Transport and Application Layers.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Review.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 SUBNETTING.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
© 2002, Cisco Systems, Inc. All rights reserved..
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
Network layer (Part III)
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 1 Introduction to Classless Routing.
COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Cisco – Chapter 10 - Routers IP Addressing Subnetmasking.
IP Addressing, Sub-netting & VLSM
Internet Architecture
Chapter 5 Exploring IPv4.
IP Addressing.
IP Addressing and Subnetting
Dotted Decimal Notation
Instructor Materials Chapter 4: Network Addressing
Chapter-5 TCP/IP Suite.
Chapter 2 Easy Subnetting
The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.
כתובות IP.
Addressing the Network – IPv4
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Lec 8 Network Class 3.1 Computer Networks Al-Mustansiryah University
Presentation transcript:

Calculating Subnet Masks Constructing Network Addresses Calculating Subnet Masks © 2004 Cisco Systems, Inc. All rights reserved. INTRO v2.0—5-1

Outline Overview What a Subnet Mask Does How End Systems Use Subnet Masks How Routers Use Subnet Masks Mechanics of Subnet Mask Operation Applying Subnet Mask Operation Summary Lab Exercise 5-1: Modifying the IP Subnet Mask

What a Subnet Mask Does Subnet mask used by routers and hosts to determine the number of network-significant bits in an IP address

Mail Operation Example

End System Subnet Mask Operation

How Routers Use Subnet Masks

Octet Values of a Subnet Mask Subnet masks like IP addresses can be represented in the dotted decimal format like 255.255.255.0.

Boolean AND Procedure Example

Subnet Masks on Octet Boundaries Using the Boolean or Logical “AND” Procedure 255 means all 1’s in mask - therefore copy entire octet 0 means all 0’s in mask - therefore 0 entire octet

Subnet Masks on Non-Octet Boundaries Using the Boolean or Logical “AND” Procedure 255 means all 1s in mask; therefore, copy entire octet. 0 means all 0s in mask; therefore, 0 entire octet. Any other value of octet means we must examine the address in binary format. Therefore, network address = 172.16.55.64

Example: Using a Given Class C Address and Given Subnet Mask

Using a Subnet Mask for a Class B Address

Using a Subnet Mask for a Class A Address

Summary Subnet masks help routers and end systems immediately recognize the network and subnet portion of IP addresses. End systems use subnet masks to compare the network portion of the local network addresses with the destination addresses of the packets to be sent. Routers use subnet masks to determine if the network portion of an IP address is on the corresponding routing table or if the packet needs to be sent to the next router. The subnet mask is the tool used by the router to determine which bits are routing (network and subnet) bits and which bits are host bits. The Boolean AND operation is carried out by evaluating a mask bit against an address bit and supplying a result, which is either 0 or 1.

Summary (Cont.) The effect of the Boolean operation between the IP address and the subnet mask is to replace all the host-significant part of the IP address with 0s. In CIDR notation, the value n in /n format of the representation indicates how many bits in the subnet mask are set to 1. Subnet masks that fall on the octet boundary are considered default subnet masks. The CIDR notation for the default Class A subnet mask is A=/8. The CIDR notation for the default Class B subnet mask is B=/16. The CIDR notation for the default Class C subnet mask is C=/24.

Summary (Cont.) Subnet masks that fall within an octet are considered to be on non-octet boundaries. These subnet masks are slightly more difficult to calculate than masks on octet boundaries. Determining the subnetwork number is accomplished through this procedure: Express the IP address in binary form. Express the subnet mask in binary form. Perform the AND operation on the IP address and the subnet mask, yielding the subnet address in binary form. Express the subnet address in decimal form.