Mr. Mark Welton.  IPv4 address are 32-bit numbers represented in dotted decimal notation of 8 bit segments  00001010.00001000.01100100.00011000 

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – 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.
IP Subnetting.
IP Addressing and Subnetting
Chapter 18. IP: Internet Protocol Addresses
Prepared By: Eng.Ola M. Abd El-Latif
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 IP Addressing (IPv4 ADDRESSES). 2 Universal Service Concept Any computer can communicate with any other computer in the world. Multiple independently.
Mod 9 – IP Addressing Part 2 CIS151 Paul Morris MHCC.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
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.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
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.
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.
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
From Subnetting to VLSM
Types of Addresses in IPv4 Network Range
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.
IP Addressing Chapter 5 powered by DJ. Chapter Objectives At the end of this Chapter you will be able to:  Explain IP addressing  Discuss IP subnetting.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
Network Addressing IP Addresses. IP Address Space The Structure of an IP Address – Binary Representation The only thing a network device understands,
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.
2 © 2003, Cisco Systems, Inc. All rights reserved. RST-2002 IP Addressing.
© 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.
Classless and Subnet Address Extensions (CIDR)
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
Guide to TCP/IP, Third Edition Chapter 2: IP Addressing and Related Topics.
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.
IP Addressing & Subnetting
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
Addressing the Network - IPV4 Part II
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
Business Data Communications Addressing at the NL and TL.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
Chapter 5 IPv4 Address.
Routing and Addressing
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)
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP Addressing.
Chapter 8: IP Addressing
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.
Network Layer IP Address.
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
Internet Architecture
Binary Concepts By: Nathan Miller.
LESSON Networking Fundamentals Understand IPv4.
Instructor Materials Chapter 4: Network Addressing
Chapter 2 Easy Subnetting
IP Addressing Subnetting
Subnetting Surasak Sanguanpong
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTRGV
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
IP Addressing & Subnetting
Layering and the TCP/IP protocol Suite
Presentation transcript:

Mr. Mark Welton

 IPv4 address are 32-bit numbers represented in dotted decimal notation of 8 bit segments    So why 8 bit segments?

 We started with a classful system (Class A,B,C,etc)  Each class is created by 8-bits of the binary IP  8-bit processing systems where easier and cheaper to build (RFC 791 published in 1981) Class A Class BClass C

 We are accustomed to the decimal system a base 10 system  The number is or ◦ 1x x x10 0 ◦ 1x100+2x10+4x1

 The binary number system is a base 2 system  is 0x2 7 +1x2 6 +1x2 5 +1x2 4 +1x2 3 +1x2 2 +0x x2 0  0x128+1x64+1x32+1x16+1x8+1x4+0x2+ 0x1  or

 So each octet (8-bit binary number) goes from ◦ –  So what is the value of

 =  So what is the hexadecimal value?  = 15 or F

 IP address allocation is rarely done properly  First mistake I see is people not understand what I just covered  Second mistake I see is not understanding public vs private vs reserved IP addresses  Third mistake I see is not understanding how to take a large prefix and break it down to usable network prefixes that allow for growth  Fourth mistake I see is people not understanding why we do it

 We divide the IP space to create segments that makes sense to us  Segmentation = routing  Each IP address allocation is a L2 network which needs a router to move to the next network  The better we do this the easier routing and ACLs are to do  The easier the network is to troubleshoot

 RFC 1918 “Address Allocation for Private Internets”  – (10/8 prefix)  – (172.16/12 prefix)  – ( /16)  These are the IP address spaces that can be used internally in an enterprise

 “link local” block ◦ – ( /16) ◦ To be used when a device can not get an IP address through DHCP  reserves lowest Class B ◦ ( /16) ◦ Not able to be used under old class system but can be assigned to someone now  Also defines loop back space (RFC 1700) ◦ – ( /8) ◦ Used for a machine to communicate internally  Also defines multicast address space (RFC 5771) ◦ – ( /4)  So you should never use these IP address spaces!

 Misuse of Public IP address space can cause network routing problems for you network

 Prefix /8 has what subnet mask?  The 8 says the first 8 bits must be ones  So the first octet would be 255 and all others would be zero 

 What about /16?  /24?  /12?

 Redefined how a traditionally Classful IP network could be used and subnetted (in equal size block)  With VLSM, subnets can be any size if they follow the binary rules  VLSM allows networks to be subdivided

/ /

 We use it all the time but do you really know what it is?

 CIDR is sort of the inverse of VLSM  Where VLSM prescibes rules for subdividing networks, CIDR prescribes rules for referencing groups of networks with a single route statement  Why would we want to do this?

Smaller routing tables are more logical, easier to understand, easier to troubleshoot, and require less CPU and memory for the routers.

 IP address allocation is rarely done properly  First mistake I see is people not understand what I just covered Check  Second mistake I see is not understanding public vs private vs reserved IP addresses Check  Third mistake I see is not understanding how to take a large prefix and break it down to usable network prefixes that allow for growth Not Yet  Fourth mistake I see is people not understanding why we do it

 Allocate a block of IP addresses that can be referenced with a single access-list (filter) entry  Always allocate more IP addresses than requested

 Need 30 IP addresses for a server farm of database servers  Should we use a / ?

 Need 30 IP addresses for a server farm of database servers  Should we use a / ?

 Allowing for 30 percent growth is a good rule of thumb  Round up to the next binary boundary  64 IP addresses or a /

 Now let say the server farm subnet was already allocated using /24  There are currently 10 servers in place .1 for the router and 2-11 for the servers  You need to issue 30 more IP addresses on this subnet  Now what???  Just give them right???

 Allocating groups of devices into subnettable ranges ◦ allows you to remove them from the network and place them elsewhere without significant changes to the IP network design  You could allocate the range of ◦ Access-list 101 permit ip any eq web  So we are good right???

 You should think ahead and allocate 64 IP addresses on a bit boundary  So you should allocate  Right??? ◦ Access-list 101 permit ip any eq web  Meets both rules so we are good???

 IP address allocation is rarely done properly  First mistake I see is people not understand what I just covered Check  Second mistake I see is not understanding public vs private vs reserved IP addresses Check  Third mistake I see is not understanding how to take a large prefix and break it down to usable network prefixes that allow for growth Not Yet  Fourth mistake I see is people not understanding why we do it Know why you are allocating the IP and allow for growth

 There are three methods you can use to allocate IP addresses and IP subnets  Sequential– assign the first numerical subnet and then the next and so on, most commonly used. It is easy to understand  Divide by half - every time a network is allocated, the smallest available chunk is divided by half for use while preserving a large portion of IP address space for additional growth  Reverse binary – subnets are allocated by counting in binary with the most and least significant bits reversed. Is the most logical method, but is hard to understand

 Some of us have been doing this for so long we remember the rule of all-zeros and all- ones as it relates to subnets  RFC 1878 states, “This practice  (of excluding all-zeros and all-ones subnets) is obsolete. Modern software will be able to  utilize all definable networks.”  Sometimes you maybe in an environment where legacy equipment can not do this  Or the staff still think they have to follow the rule

 For the Cisco people in the class. You will need to know Cisco’s way to pass the CCNA  or know how to get the answer to the question based on how Cisco or vendor X tests  Everyone knows (or should now) that two IP addresses are used in every subnet (one for the gateway and one for broadcast)  Unless you have done enough networking to know you can use a /31 for to routers in a point-to-point connection. DO NOT ASKING IF YOU ARE NOT GOING TO TAKE CCDP!!!

 A /24 subnet has 256 host IP addresses – 254 IP are usable by host devices  Everything is based on the subnet masks which is based on binary  Everything will be powers of 2 and will either produce 256 or be divisible by 256  The maximum value of an octet is 255 (but remember we count from 0 so 256 number)

 Subnet masks are, by their nature, inclusive  There are only nine values that are possible for any octet in a subnet mask

 What the author is trying to say is a /24 or would have 256 host with 16,777,216 possible subets (256*256*256*1)

 I find an expanded for of the horizontal format very useful Increment Number of hosts CIDR/25/26/27/28/29/30/31/32 mask Usable Hosts