1 IP Subnetting (Modified version of slides from Rick Graziani) Karim El Defrawy Donald Bren School of Information and Computer Science University of California.

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

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
Calculating Subnet Masks
IP Addressing and Subnetting
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.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Mod 9 – IP Addressing Part 1 CIS151 Paul Morris MHCC.
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.
Classless Subnetting Using the Worksheet
Introduction to Networking (Yarnfield) Classful 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.
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
Subnetting Rick Graziani Cabrillo College
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
IP Addresses: Classful Addressing An IP address is a 32-bit address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
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.
Information & Communication Technology
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Network Basics Introduction Instructor: Ataur Rahman
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
Subnetting Made Simple By Keith W. Noe – CCNA, CCAI Ivy Tech Community College Sellersburg, Indiana.
Chapter 12 Subnetting CIS 1140.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
2 © 2003, Cisco Systems, Inc. All rights reserved. RST-2002 IP Addressing.
Number Systems.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Masking.
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.
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.
19.1 Chapter 19 Network Layer: Logical Addressing Computer Communication & Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Saeed Darvish Pazoki – MCSE, CCNA IP Subnetting 1.
Binary Lesson 6.1 Classful Subnetting 2
Chapter 5 IPv4 Address.
CTI Technician Training Internet Protocol Part 2.
تقسيم الشبكات Subnetting
IP addressing.
Introduction to Computer Networking
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
Computer Network Architecture Lecture 9: IP Addressing 13/1/
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
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.
Networks Connecting Two Computers With UTP. Every machine on a network has a unique identifier. Just as you would address a letter to send in the mail,
Subnetting Divide a network to smaller networks (subnets) Reasons
Internet Architecture
Chapter 5 Exploring IPv4.
Dotted Decimal Notation
Master Subnetting – Section 3
IP Addressing Pertemuan 06
Classful Subnetting IPv4
OSI Model IP address.
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Lec 9 Subnet 3.1 Computer Networks Al-Mustansiryah University
כתובות IP.
Creating Subnets – Network Requirements
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Binary Lesson 6 Classful Subnetting
Presentation transcript:

1 IP Subnetting (Modified version of slides from Rick Graziani) Karim El Defrawy Donald Bren School of Information and Computer Science University of California Irvine

The Catch Before subnetting: In any network (or subnet) one can use most of the IP addresses for host addresses. One loses two addresses for every network or subnet. 1.Network Address - One address is reserved to that of the network. 2.Broadcast Address – One address is reserved to address all hosts in that network or subnet.

Subnet Example Network address with /16 network mask Network Host

Subnet Example Network SubnetHost Network address with /16 network mask Using Subnets: subnet mask or /24 Applying a mask which is larger than the default subnet mask, will divide your network into subnets. Subnet mask used here is or /24 Network Mask: or /16 Subnet Mask: or / Network Host

Subnet Example Network SubnetHost Network address with /16 network mask Host172191Host172192Host Using Subnets: subnet mask or / Host17219etc.Host Host Host 255 Subnets Cannot use last subnet as it contains broadcast address Subnets

Subnet Example Network SubnetHost Network address with /16 network mask Using Subnets: subnet mask or / etc Subnets Cannot use last subnet as it contains broadcast address Subnets Addresses

Subnet Example Network SubnetHosts Class B address with /16 network mask Using Subnets: subnet mask or / etc Host Each subnet has 254 hosts, 2 8 – Hosts Addresses

Subnet Example Network SubnetHost Network address with /16 network mask Using Subnets: subnet mask or / etc Subnets Cannot use last subnet as it contains broadcast address Broadcast Addresses

Subnet Example Network address with /16 network mask Using Subnets: subnet mask or / / / / /24

Important things to remember about Subnetting You can only subnet the host portion, you do not have control of the network portion. Subnetting does not give you more hosts, it only allows you to divide your larger network into smaller networks. When subnetting, you will actually lose host adresses: –For each subnet you lose the address of that subnet –For each subnet you lose the broadcast address of that subnet –You “may” lose the first and last subnets Why would you want to subnet? –Divide larger network into smaller networks –Limit layer 2 and layer 3 broadcasts to their subnet. –Better management of traffic.

Subnetting – Example Host IP Address: Network Mask: (or /16) Subnet Mask: (or /26) Given the following Host IP Address, Network Mask and Subnet mask find the following information: Major Network Information –Major Network Address –Major Network Broadcast Address –Range of Hosts if not subnetted Subnet Information –Subnet Address –Range of Host Addresses (first host and last host) –Broadcast Address Other Subnet Information –Total number of subnets –Number of hosts per subnet

Major Network Information Host IP Address: Network Mask: Subnet Mask: Major Network Address: Major Network Broadcast Address: Range of Hosts if not Subnetted: to

Step 1: Translate Host IP Address and Subnet Mask into binary notation Step 1: Convert to Binary

Step 2: Determine the Network (or Subnet) where this Host address lives: 1. Draw a line under the mask 2. 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 3. Express the result in Dotted Decimal Notation 4. The result is the Subnet Address of this Subnet or “Wire” which is Step 2: Find the Subnet Address

Step 2: Determine the Network (or Subnet) where this Host address lives: Quick method: 1.Find the last (right-most) 1 bit in the subnet mask. 2.Copy all of the bits in the IP address to the Network Address 3.Add 0’s for the rest of the bits in the Network Address Step 2: Find the Subnet Address

Step 3: Determine which bits in the address contain Network (subnet) information and which contain Host information: Use the Network Mask: and divide (Great Divide) the from the rest of the address. Use Subnet Mask: and divide (Small Divide) the subnet from the hosts between the last “1” and the first “0” in the subnet mask. Step 3: Subnet Range / Host Range

Host Portion Subnet Address: all 0’s First Host: all 0’s and a 1 in rightmost bit Last Host: all 1’s and a 0 in rightmost bit Broadcast: all 1’s Step 4: First Host / Last Host

Total number of subnets –Number of subnet bits 10 –2 10 = 1,024 –1,024 total subnets Subtract one “if” all-zeros subnet cannot be used Subtract one “if” all-ones subnet cannot be used Step 5: Total Number of Subnets

Total number of hosts per subnet –Number of host bits 6 –2 6 = 64 –64 host per subnets Subtract one for the subnet address Subtract one for the broadcast address –62 hosts per subnet Step 6: Total Number of Hosts per Subnet