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,

Slides:



Advertisements
Similar presentations
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Advertisements

Classifying Network Addressing
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
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 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.
Data Communication and Networking
IP Addressing and 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.
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.
Chapter 5 – IP Addressing. IP Address Fundamentals Each host is assigned a unique IP address for each network connection (NIC) An IP address is a 32-bit.
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.
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.
Types of Addresses in IPv4 Network Range
Chapter 12 Subnetting CIS 1140.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
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.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
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.
Network Addressing TEJ 3M. MAC Address (Media Access Control Address) Hard wired into your network card by the manufacturer Hard wired into your network.
 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.
Subnetting. Binary to Decimal Conversion Decimal to Binary Conversion Classes of IP Addresses Subnet Masks 7 step method to practical subnetting – Class.
Network Addressing. Internet Protocol Address An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network.
Module 10 - Subnetting For Fun and Profit
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
VLSM and RIPv2 Warren Toomey GCIT. Introduction Switches deliver frames to stations. Routers deliver packets to networks. Only the final router has to.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Planning the Addressing Structure Working at a Small-to-Medium Business.
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
Routing and Addressing
IP Addresses Mark Woodhouse and Arthur Manning IP Addressing Used packets created in Layer 3 of the Open Systems Interconnection (OSI) Model Hierarchical.
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.
Chapter 5b.  Upon completion of this chapter, you should be able to:  Subnet an IPv4 address to make separate networks out of one address given  Use.
Network layer (Part III)
21-IP addressing Dr. John P. Abraham Professor UTPA.
Introduction to Computer Networking
Devices function at Layers. Teaching Topology SUBNETTING The highly dreaded….
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
Subnetting Made Easy? The “moving stick” and the “magic number” Jim Blanco Aparicio-Levy Technical Center.
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
Cisco – Chapter 10 - Routers IP Addressing Subnetmasking.
Planning the Addressing Structure
IP Addressing, Sub-netting & VLSM
Internet Architecture
IP – Subnetting and CIDR
IP Addressing and Subnetting
Binary Concepts By: Nathan Miller.
Chapter-5 TCP/IP Suite.
IPV4.
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Chapter 2 Easy Subnetting
Chapter 8: Subnetting IP Networks
Cases in Subnetting.
Chapter 19 Network Layer: Logical Addressing
כתובות IP.
Subnetting Surasak Sanguanpong
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTRGV
Planning the Addressing Structure
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
Dr. John P. Abraham Professor UTPA
Subnetting Subnetting is a method for getting the most out of the limited 32-bit IP addressing space. With any address class, subnetting provides a means.
Presentation transcript:

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, so only 1 IP address –Routers: multiple connections, many IP addresses Where do they come from, how are they allocated? You buy an IP address range from your nearest Network Information Centre: APNIC Network admins must subnet this range and allocate a unique IP address to each device in their network

Routers If we had a single large network, problems –Too many broadcasts: high CPU load on devices –No way to enforce internal network security Routers: create multiple broadcast domains –Each side of a router is a separate broadcast domain –Isolates broadcasts, reduces CPU load Routers can also implement packet-level security

Routers and Subnets Each side of a router needs an IP address from a different IP address range If we divide our network up with routers, we also have to divide the IP range from APNIC up into smaller ranges This is known as subnetting Each subdivided IP address range is called a subnet

IP Addresses: Net, Host Fields When you buy an IP range from APNIC, it is divided into network and host sections IP addresses are 32 bits wide. The prefix mask tells you which section is the network field and which section is the host field Example: APNIC allocates you /23 Out of the 32 bits, the first 23 represent your network (i.e ). The other 9 bits represent each host IP address –You get to allocate a unique host IP address to each device on your network

Subnetting When we subnet an IP allocation, we borrow bits from the host field to represent and identify each subnet that we want to create If we borrow 1 bit, we create 2 1 = 2 subnets If we borrow 2 bits, we create 2 2 = 4 subnets If we borrow 3 bits, we create 2 3 = 8 subnets If we borrow 4 bits, we create 2 4 = 16 subnets etc.

Subnetting: Example Example: APNIC allocates you /23 You decide to borrow 3 bits from the 9 host bits This will create 2 3 = 8 subnets. Each subnet has the /26 prefix because we had /23 and borrowed 3 more bits However, this means the host field on each subnet is now only 6 bits long (9 – 3) This means that each subnet now has only 2 6 = 64 unique IP addresses on it On each subnet –the first IP address identifies the subnet –The last IP address is the broadcast address

Subnetting: Step Size Each subnet is a unique, non-overlapping set of IP addresses You need to know the step factor between each subnet. It is the number of IP addresses in that subnet Example: if a subnet is size /26, only 6 bits left for hosts and 2 6 = 64, so the step size is 64

Subnetting: Step Size You also need to write each subnet in dotted decimal notation You need to learn this table. Write it down!!! Cross-check: step size + mask number = 256 Prefix MaskDotted Decimal MaskStep Size / in the 3 rd octet / in the 4 th octet / in the 4 th octet / in the 4 th octet / in the 4 th octet / in the 4 th octet / in the 4 th octet

Subnetting: Example Example: APNIC allocates you /23 You decide to borrow 3 bits from the 9 host bits This will create 2 3 = 8 subnets with the /26 mask /26 is the same as Step size is 64 First subnet identity: same as the original IP allocation Can't go past 255. Add 1 in the next column and go to (not !)

Subnetting: Example 2 APNIC allocates you /25 You decide to borrow 2 host bits to make 2 2 = 4 subnets Each subnet is /27, , step size 32 Your subnets are: – /27 – /27 – /27 – /27

Subnetting: Example 2 Your subnets are: – , , and , all with the prefix mask /27 –Step size is 32 The first IP on each one is the subnet identity; the last is the broadcast address Subnet IdentityUsable IP AddressesBroadcast Address to to to to

Subnetting: Example 2 Each subnet identity is even, each broadcast is odd First usable IP is odd, last usable IP is even Each broadcast address is the one before the next subnet identity address Subnet IdentityUsable IP AddressesBroadcast Address to to to to

Subnetting: Example 3 You can't make 5 subnets, you can only make –2 1 = 2, 2 2 = 4, 2 3 = 8, 2 4 = 16 etc. You have purchased /26 from APNIC You want to make 3 subnets How many bits are you going to borrow from the host field to make them? How many subnets will actually be created? What will be the prefix mask be on each subnet? What will be the step size between subnets? What is the dotted decimal net mask?

Subnetting: Example 3 You have purchased /26 from APNIC You want to make 3 subnets You have to borrow 2 bits from the host field to make 2 2 = 4 subnets The subnet prefix mask is /28, step size 16 The dotted decimal netmask is The first subnet is /28 What is the identity of the second subnet? What is the broadcast address of the second subnet?

Subnetting: Example 3 You have purchased /26 from APNIC You want to make 3 subnets You borrowed 2 bits from the host field to make 2 2 = 4 subnets Write out this table for all 4 subnets you created Subnet IdentityUsable IP addressesBroadcast Address

Subnetting: Example 4 Sometimes we want to subnet where we need a minimum number of IP addresses on each subnet Example: you have a network with four broadcast domains separated by one router. One section has 23 devices, one section has 15 devices, one section has 9 devices, one section has 20 devices. Each subnet will be the same size and must have at least 23 IP addresses. We must decide to keep enough host bits If our subnets were /28, then only 4 host bits, 2 4 = 16 which would be too small We can't go past /27, keeping 5 host bits, 2 5 = 32 hosts

Subnetting: Example 4 You have a network with four broadcast domains separated by one router. One section has 23 devices, one section has 15 devices, one section has 9 devices, one section has 20 devices. You have purchased /24 from APNIC You need to make subnets for each broadcast domain What will the prefix be for each subnet? How many subnets will you create? Write out the identity, usable range and broadcast table

Subnetting: Other Questions Usable IP addresses cannot be the identity or the broadcast address of a subnet The identity address must be a multiple of the step size Example: /24 is subnetted into /26 subnets /26 is step size 64, so the subnet identities are 1.0, 1.64, and Question: Is /28 –The identity address for this subnet? –A usable IP address on this subnet? –The broadcast address for this subnet?

Subnetting: Other Questions For each of the IP addresses below, is it: –The identity address for this subnet? –A usable IP address on this subnet? –The broadcast address for this subnet? / / /28