IP Addressing & Subnetting Made Easy. Part 1: Working with IP Addresses.

Slides:



Advertisements
Similar presentations
IP Addressing & Subnetting
Advertisements

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.
Calculating Subnet Masks
IP Addressing and Subnetting
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Instructor: Sam Nanavaty DNS and IP addressing. Instructor: Sam Nanavaty How does a router know where to route the information when you simply type in.
Prepared By: Eng.Ola M. Abd El-Latif
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Data Communication and Networking
IP Addressing & Subnetting Made Easy
IP Addressing & Subnetting
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
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.
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
IP Addressing Basics LAB 8.
Introduction to Networking
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 Allan Johnson. IPv4 Addressing Review IPv4 Addressing Review Table of Contents Table of Contents End Slide Show End Slide Show.
DeSiaMore 1 CIT 742: Network Administration and Security DeSiaMore Powered by DeSiaMore.
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.
Chapter 12 Subnetting CIS 1140.
4: Addressing Working At A Small-to-Medium Business or ISP.
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.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
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.
Determine a node’s IP Network Address Gina Minks EME5603 Fall 2008 Final Project For EMC Employees.
IP Addressing Introductory material. An entire module devoted to IP addresses.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
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
IP ADDRESSES History Classes and relation to first octet Subnetting Subnet mask Reserved Octets Special Classes IP address and Vlan.
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
CTI Technician Training Internet Protocol Part 2.
Routing and Addressing
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)
CS470 Computer Networking Protocols
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
Lecture#7: Subnetting IP Networks
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Subnetting IP Networks Introduction to Networks.
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
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
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.
Cisco – Chapter 10 - Routers IP Addressing Subnetmasking.
IP Addressing, Sub-netting & VLSM
Internet Architecture
IP – Subnetting and CIDR
IP Addressing and Subnetting
Lecture#7: Subnetting IP Networks
Introduction to Networking (Yarnfield)
Chapter-5 TCP/IP Suite.
Chapter 2 Easy Subnetting
Subnetting IP4 ICND/CCNA Prep.
Chapter 9: Subnetting IP Networks
Chapter 9: Subnetting IP Networks
Subnetting Surasak Sanguanpong
Chapter 2 Easy Subnetting
Presentation transcript:

IP Addressing & Subnetting Made Easy

Part 1: Working with IP Addresses

3 Subnet Mask With the rapid growth of the internet & the ever-increasing demand for new addresses, the standard address class structure has been expanded by borrowing bits from the Host portion to allow for more Networks. Under this addressing scheme, called Subnetting, separating the Network & Host requires a special process called Subnet Masking.

4 Subnet Mask (Cont.) The subnet masking process was developed to identify & extract the Network part of the address.

5 Subnet Mask (Cont.) The function of a subnet mask is to determine whether an IP address exists on the local network or whether it must be routed outside the local network. It is applied to a message’s destination address to extract the network address. If the extracted network address matches the local network ID, the destination is located on the local network.

6 Subnet Mask (Cont.) However, if they don’t match, the message must be routed outside the local network. The process used to apply the subnet mask involves Boolean Algebra to filter out non-matching bits to identify the network address.

7 Boolean Algebra Boolean Algebra is a process that applies binary logic to yield binary results. Working with subnet masks, you need only 4 basic principles of Boolean Algebra: 1 and 1 = 1 1 and 0 = 0 0 and 1 = 0 0 and 0 = 0

8 Boolean Algebra (Cont.) In another words, the only way you can get a result of a 1 is to combine 1 & 1. Everything else will end up as a 0. The process of combining binary values with Boolean Algebra is called Anding.

9 Default Standard Subnet Masks There are default standard subnet masks for Class A, B and C addresses:

10 A Trial Separation Subnet masks apply only to Class A, B or C IP addresses. The subnet mask is like a filter that is applied to a message’s destination IP address. Its objective is to determine if the local network is the destination network.

11 A Trial Separation (Cont.) The subnet mask goes like this: 1. If a destination IP address is , we know that it is a Class C address & that its binary equivalent is:

12 A Trial Separation (Cont.) 2. We also know that the default standard Class C subnet mask is: and that its binary equivalent is:

13 A Trial Separation (Cont.) 3. When these two binary numbers (the IP address & the subnet mask) are combined using Boolean Algebra, the Network ID of the destination network is the result:

14 A Trial Separation (Cont.) 4. The result is the IP address of the network which in this case is the same as the local network & means that the message is for a node on the local network.

Part 2: Subnetting

16 Introduction Subnetting is the foundation underlying the expansion of both Local Networks & the Internet in today’s world. Subnetting has become essential knowledge for the Administrator of any network. There are 2 fundamental reasons why subnetting has so much importance in today’s networking environment:

17 Introduction (Cont.) 1.The world is running out of available IP addresses. There just isn’t an unlimited number of IP addresses available & subnetting helps extend the existing addresses until either the next version of IP is rolled out or some other technology charges on the scene.

18 Introduction (Cont.) 2.Subnetting reduces the size of the routing tables stored in routers. Subnetting extends the existing IP address base & restructures the IP address. As a result, routers must have a way to extract from an IP address both the Network address & the Host address.

19 Introduction (Cont.) There are only 3 usable IP address classes: Class A Class B Class C Class A networks have the highest number of available hosts. Class C networks have the fewest number of hosts.

20 Subnetting Networks ID A 3-step example of how the default Class A subnet mask is applied to a Class A address:

21 Subnetting Networks ID (Cont.) In the previous slide, the default Class A subnet mask ( ) is AND’d with the Class A address ( ) using Boolean Algebra, which results in the Network ID ( ) being revealed. The default Class B subnet mask ( ) brings out the 16-bit network ID & the default Class C subnet mask ( ) brings out the 24-bit network ID.

22 Subnetting, Subnet & Subnet Mask Subnetting, a subnet & a subnet mask are all different. In fact, the 1 st creates the 2 nd & is identified by the 3 rd. Subnetting is the process of dividing a network & its IP addresses into segments, each of which is called a subnetwork or subnet.

23 Subnetting, Subnet & Subnet Mask (Cont.) The subnet mask is the 32-bit number that the router uses to cover up the network address to show which bits are being used to identify the subnet.

24 Subnetting A network has its own unique address, such as a Class B network with the address which has all zeroes in the host portion of the address. From the basic definitions of a Class B network & the default Class B subnet mask, you know that this network can be created as a single network that contains 65,534 individual hosts.

25 Subnetting (Cont.) Through the use of subnetting, the network from the previous slide can be logically divided into subnets with fewer hosts on each subnetwork. It not only improves the available shared bandwidth, but it cuts down on the amount of broadcast traffic generated over the entire network as well.

26 Subnetting (Cont.) The 2 primary benefits of subnetting are: 1. Fewer IP addresses, often as few as one, are needed to provide addressing to a network. 2. Subnetting usually results in smaller routing tables in routers beyond the local internetwork.

27 Subnetting (Cont.) Example of subnetting: when the network administrator divides the network into 5 smaller networks – , , , & – the outside world stills sees the network as , but the internal routers now break the network addressing into the 5 smaller subnetworks.

28 Subnetting (Cont.) In the example, only a single IP address is used to reference the network & instead of 5 network addresses, only one network reference is included in the routing tables of routers on other networks.

29 Borrowing Bits to Grow a Subnet The key concept in subnetting is borrowing bits from the host portion of the network to create a subnetwork. Rules govern this borrowing, ensuring that some bits are left for a Host ID. The rules require that two bits remain available to use for the Host ID & that all of the subnet bits cannot be all 1s or 0s at the same time.

30 Borrowing Bits to Grow a Subnet (Cont.) For each IP address class, only a certain number of bits can be borrowed from the host portion for use in the subnet mask.

31 Borrowing Bits to Grow a Subnet (Cont.) Bits Available for Creating Subnets Address Class Host BitsBits Available for Subnet A2422 B1614 C86

32 Subnetting a Class A Network The default subnet mask for a class A network is which allows for 16,777,214 hosts on a single network. The default subnet mask uses only 8 bits to identify the network, leaving 24 bits for host addressing.

33 Subnetting a Class A Network (Cont.) To subnet a Class A network, you need to borrow a sufficient number of bits from the 24-bit host portion of the mask to allow for the number of subnets you plan to create, now & in the future. Example: To create 2 subnets with more than 4 million hosts per subnet, you must borrow 2 bits from the 2 nd octet & use 10 masked bits for the subnet mask ( ) or in decimal.

34 Subnetting a Class A Network (Cont.) 7

35 Class A Subnet Masks (Cont.) A sample of subnet mask options available for Class A addresses.

36 Class A Subnet Masks (Cont.) All subnet masks contain 32 bits; no more, no less. However a subnet mask cannot filter more than 30 bits. This means 2 things: One, that there are never more than 30 bits set to 1 in the subnet mask. Two, that there are always at least 2 bits available for the Host ID.

37 Class A Subnet Masks (Cont.) The subnet mask with the highest value ( ) has a binary representation of: The 2 zeroes in this subnet mask represent the 2 positions set aside for the Host address portion of the address.

38 Class A Subnet Masks (Cont.) Remember that the addresses with all ones (broadcast address) & all zeroes (local network) in the host portion of the address cannot be used as they have special meanings.

39 Subnetting Class B & Class C The previous table on slide 35 “Class A Subnet Masks” is similar to the tables used for Class B & Class C IP addresses & subnet masks. The only differences are that you have fewer options (due to a fewer number of bits available) & that you’re much more likely to work with Class B & Class C networks in real life.

40 Subnetting Class B & Class C (Cont.) A sample of the subnet masks available for Class B networks.

41 Subnetting Class B & Class C (Cont.) A list of the subnet masks available for Class C networks.

42 Knowing How to Calculate Subnets To determine the number of subnets & hosts per subnet available for any of the available subnet masks, use 2 simple formulas to calculate these numbers:

43 Knowing How to Calculate Subnets (Cont.) Although the 2 formulas look identical, the key is to remember the number you’re trying to calculate, hosts or subnets. Ex., suppose you are asked to determine the number of subnets available & the number of hosts available on each subnet on the network using a subnet mask of

44 Knowing How to Calculate Subnets (Cont.) Using the subnet & hosts formulas, the answers are easily calculated. Of course, you must know your powers of 2 to calculate the answers.

45 Class C Subnets Knowing the relationships in this table will significantly reduce the time you spend calculating subnetting problems.

46 Class B Subnets To calculate the number of subnets & hosts available from a Class B subnet mask, you use the same host & subnet formulas described for calculating Class C values. Using these formulas I have constructed a table that contains the Class B subnet & host values.

47 Class B Subnets (Cont.)