IP Addressing and Subnetting Tony Madden John Paul McCann NEI.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
Troubleshooting a “Broken LAN” Telecommunications and Networking.
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.
Institute of Technology Sligo - Dept of Computing Chapter 10 IP Addressing and Subnetting Paul Flynn.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Introduction to Networking (Yarnfield) Classful subnetting.
IP Addressing and Subnetting
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
Static Route. Identify Default gateway What is the default gateway for PC1 PC2 r1 r2 PC1PC2.
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,
Fundamentals of Networking Discovery 1, Chapter 5 Network Addressing.
1 © 2003, Cisco Systems, Inc. All rights reserved. IP Basics 1.1 st Octet Values for Class A, B, C, D, & E 2.HOB (High Order Bits) in the 1 st Octet 3.Format.
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
Network Addressing Networking for Home & Small Business.
Information & Communication Technology
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
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
Classes of IP. host must have an IP address that identifies not only the host address (like a house number) but also identifies the network address (like.
DHCP: Dynamic Host Configuration Protocol
Chapter 8 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
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.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
CISCO NETWORKING ACADEMY Chabot College ELEC Subnet Review.
Binary Lesson 5 Usable Addresses Class A, B, and C.
Networking The TCP-IP Protocol Suite (Part 2) Carl Smith National Certificate Parts adapted from HNC lectures by Steve Leggett – 2002/03.
Subnetting. Binary to Decimal Conversion Decimal to Binary Conversion Classes of IP Addresses Subnet Masks 7 step method to practical subnetting – Class.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
Network Addressing Networking for Home & Small Business.
Module 10 - Subnetting For Fun and Profit
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
Cisco Discovery Semester 1 Chapter 5 JEOPADY Q&A by R. Prensky, Template by K. Martin.
IP Addressing Lecture # 1 Hassan Shuja 01/31/2006.
Routing and Addressing
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
Chapter 5.  Upon completion of this chapter, you should be able to:  Configure IP addresses  Identify & select valid IP addresses for networks  Configure.
Subnetting. Class A Address O is the subnet Identifier is the loop back address. 4 Each class A address supports 16,387,064 hosts. 4 Assigned.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
Subnetting, The Struggle for Understanding John Skyers HBC Regional Academy London SE17 1JE United Kingdom.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Subnetting Subnetting is not in the CIS221-3 Syllabus
Internet Architecture
IP – Subnetting and CIDR
IP Addressing and Subnetting
Dotted Decimal Notation
Ip addressing & subnetting
Binary Lesson 4 Classful IP Addresses
Ip addressing Chapter 5a 6-7 days including test.
Binary Lesson 5.5 Usable Addresses Class A, B, and C
Chapter 2 Easy Subnetting
Binary Lesson 5 Classful IP Addresses
Cases in Subnetting.
IPv4 Addresses A Quick Guide.
כתובות IP.
IPv4 Addresses A Quick Guide.
Master Subnetting – Section 1
Introduction to Networking (Yarnfield)
Chapter 2 Easy Subnetting
Ip addressing & subnetting
IP ADDRESSING.
Presentation transcript:

IP Addressing and Subnetting Tony Madden John Paul McCann NEI

2 IP ADDRESSING 32 Bit Address 2 32 = 4.2 billion possible addresses Decimal Network.Network.Network.Host (N.N.N.H) (Class C Address) Binary HexC0 Government broken addressing system down into classes A, B, C, D, E A – very large organisations( , ) –Network.Host.Host.Host (N.H.H.H) –The first bit of the Network address is reserved for ease of recognition i.e. 0 by routers –2 7 Networks (128) with 2 24 Nodes ( )

3 IP ADDRESSING Government broken addressing system down into classes B – large organisations ( , ) –Network.Network.Host.Host (N.N.H.H) –The two bits of the Network address are reserved for ease of recognition i.e. 10 by routers –2 14 Networks (16384) with 2 16 Nodes (65534) C – small organisations( , ) –Network.Network.Network.Host (N.N.N.H) –The three bits of the Network address are reserved for ease of recognition i.e. 110 by routers –2 21 Networks ( ) with 2 8 Nodes (256)

4 IP ADDRESSING NOTE: Cisco state that you cannot use the first and last of any of the network or node ranges as they are reserved for network or node addresses and broadcasts Therefore: –A = 2 7 – 2 = 126 Networks 2 24 – 2 = Nodes –B = 2 14 – 2 = Networks 2 16 – 2 = Nodes –C = 2 21 – 2 = Networks2 8 – 2 = 254 Nodes

5 IP ADDRESSING Internet addresses Assigned to us by the Network Information Centre upon application A = * Binary Chart - all binary no.s beginning with 0 B = Binary Chart - all binary no.s beginning with 10 C = Binary Chart - all binary no.s beginning with 110 »Ref: Binary – Decimal Conversion Chart Appendix D P

6 IP ADDRESSING AND SUBNETTING Class C addressN.N.N.H DecimalBinary IP Subnet Mask Host range – Cannot use 0 (0) Network address or 255 ( ) Broadcast addresses Usable Hosts –

7 Subnetting a Class C addressN.N.N.H Subnet into 2 subnets Borrow 2 bits from the Host part of the IP address (N.N.N.H ) This now gives you a network address that is now 26 bits long and leaves 6 bits to assign to node addresses. You can borrow a minimum of 2 bits and a maximum of 6 bits from a class C IP address IP ADDRESSING AND SUBNETTING

8 IP ADDRESSING AND SUBNETTING Borrow 2 bits (subnetting into 2 subnetworks) (remember that you cannot use the first or last as they refer to the network address and the broadcast address) 2 2 – 2 = 2 There are in fact 4 subnet address, but only 2 of them are usable BINARY to DECIMAL –00cannot use –0164 –10128 –11cannot use New Network address are and The Subnet Mask also changes –To do this you must add the binary value of two bits borrowed ( = 192) –The new Subnet Mask is IP Address Subnet Mask Range of HostsNo. of Hosts – –

9 IP ADDRESSING AND SUBNETTING Borrow 3 bits (subnetting into 4 subnetworks) 2 3 – 2 = 6 There are in fact 8 subnet address, but only 6 of them are usable BINARY to DECIMAL –000Cannot use –00132 –01064 –01196 – – – –111Cannot use New address , , , , , The Subnet Mask also changes –To do this you must add the binary value of two bits borrowed ( = 224) –The new Subnet Mask is

10 IP ADDRESSING AND SUBNETTING IP Address Subnet Mask Range of HostsNo. of Hosts – – –

11 SUBNET MASKS Why do you need a subnet mask? Hosts and routers use the ANDing process to determine if a destination host is on the same network or not. The ANDing operation happens any time a host wants to send a packet to another host on an IP network. The result of the 1st AND is to identify the network where the source host resides. It will then compare the destination IP address to its own subnet mask (2nd AND) to determine the network address of the destination host.

12 SUBNET MASKS Host x (Source) on network (Class C Network) has an IP address of and wants to send a packet to Host Z (Destination) on network and has an IP address of All hosts on each network are connected to hubs or switches and then to a router (Remember that with a class C network, ARIN assigns the first 3 octets (24 bits) as the network address, so these are two different networks. Source Net Dest. Net Subnet Mask Subnet Mask Host IP Host

13 SUBNET MASKS Host X compares it’s own IP address to its own subnet mask using the ANDing process Host X IP Subnet Mask ANDing result The result of the 3rd step gives the network address Next Host X compares the IP address of the Host Z dest. to its own subnet mask using the ANDing process Host Z IP Subnet Mask ANDing result The result of the 3rd step gives the network address

14 SUBNET MASKS Host X now knows that host Z is not in its Local Area Network (LAN) and it must send the packet to its “Default Gateway” which is the IP address of the router interface of on network The router will then repeat the ANDing process to determine which router interface to send the packet out. Host X Router Hub Host Z Source Net Dest Net Subnet Mask Host IP Host IP Router Interface IP Router Interface IP