IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
IP Subnetting.
IP Addressing and Subnetting
Chapter 18. IP: Internet Protocol Addresses
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Introduction to Networking (Yarnfield) Classful subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
IP Addressing & Classes
Types of Addresses in IPv4 Network Range
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
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.
30/11/ Q & A on Networking. Question No. 1 What is Networking? Two or more computers that are linked in order to share – Resources (such as printers.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
TCP/IP Addressing & Subnetting Unit objectives Discuss TCP/IP addressing and determine the IP address class and default subnet mask Discuss subnetting.
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Routing and Addressing
Chapter 3 - Page 1 Infogem Institute of Technology CCNA Course IP Addressing & Subnetting IP ADDRESSING & SUBNETTING.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
CS470 Computer Networking Protocols
Introduction to Computer Networking
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Subnetting IP Networks.
Lecture#7: Subnetting IP Networks
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Subnetting IP Networks Introduction to Networks.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Internet Architecture
IP Addressing and Subnetting
Classful Subnetting IPv4
OSI Model IP address.
Lecture#7: Subnetting IP Networks
Chapter-5 TCP/IP Suite.
Chapter 8: Subnetting IP Networks
IPV4.
CS4470 Computer Networking Protocols
Ravindra Kumar Verma Mohammad Rashid Dr. Neeraj phogat RC-1237
Chapter 9: Subnetting IP Networks
Chapter 8: Subnetting IP Networks
Chapter 9: Subnetting IP Networks
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Planning the Addressing Structure
Routing Fundamentals and Subnets
Chapter 2 Easy Subnetting
IP Addressing & Subnetting
IPv6 Addressing By Aman Agrawal Archisman Bhattacharya
Network Addressing.
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Presentation transcript:

IP ADDRESSING, SUBNETTING & VLSM 1

Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented by a series of 1s and 0s.

Binary Numbers Chart MSBLSB Base exponent Column Value Decimal Weight Column Value Base-2 Binary Conversion— (233) = 233

Powers of 2

Decimal-to-Binary Conversion 35= = (32 * 1) + (2 * 1) + (1 * 1) 35 = =

Binary-to-Decimal Conversion = ( 128 * 1 ) + ( 64 * 0 ) + ( 32 * 1 ) + ( 16 * 1 ) + ( 8 * 1 ) + ( 4 * 0 ) + ( 2 * 0 ) + ( 1 * 1 ) = = 185

Decimal and Binary Conversion

IP Addressing An IP address is a 32-bit sequence of 1s and 0s. To make the IP address easier to use, the address is usually written as four decimal numbers separated by periods. This way of writing the address is called the dotted decimal format.

IPv4 Addressing

Class A, B, C, D, and E IP Addresses

Reserved IP Addresses Certain host addresses are reserved and cannot be assigned to devices on a network. An IP address that has binary 0s in all host bit positions is reserved for the network address. An IP address that has binary 1s in all host bit positions is reserved for the broadcast.

Public and Private IP Addresses No two machines that connect to a public network can have the same IP address because public IP addresses are global and standardized. However, private networks that are not connected to the Internet may use any host addresses, as long as each host within the private network is unique. RFC 1918 sets aside three blocks of IP addresses for private, internal use. Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses using Network Address Translation (NAT).

IPv4 versus IPv6 IP version 6 (IPv6) has been defined and developed. IPv6 uses 128 bits rather than the 32 bits currently used in IPv4. IPv6 uses hexadecimal numbers to represent the 128 bits. IPv4

Mechanics of Subnetting

Classes of Network IP Addresses

Introduction to Subnetting Host bits must are reassigned (or “borrowed”) as network bits. The starting point is always the leftmost host bit. 3 bits borrowed allows or 6 subnets 5 bits borrowed allows or 30 subnets 12 bits borrowed allows or 4094 subnets Router(config)#ip subnet zero

Reasons for Subnetting High traffic volume can slow throughput time on a single segment network. Because each incoming and outgoing data packet is forced to search the entire range of IP addresses to find its assigned destination, there is a high collision rate when large volumes of traffic are competing for space across every node on the network. Higher collision rates create lost packets, higher latency and reduce overall transmission rates. Breaking down the network into smaller segments reduces the number of nodes any single packet contacts in its search for the proper destination. If, for example, the computers in the marketing department don't need to communicate directly with the computers on the manufacturing floor, both can be placed on separate segments. The result is an increase in throughput for both departments. Placing individual departments on individual subnets incidentally improves security as well. Because computers on one segment don't connect directly with other segments. One of the most common and compelling reasons to segment a network is when you are routing traffic for wide area network for a remote location(s). Setting up office communications for a single network in multiple locations requires subnets for effective operation. Minimizing unnecessary traffic between remote routers is a primary requirement for maintaining adequate transmission speed between locations

Establishing the Subnet Mask Address Determines which part of an IP address is the network field and which part is the host field. Follow these steps to determine the subnet mask: – 1. Express the subnetwork IP address in binary form. – 2. Replace the network and subnet portion of the address with all 1s. – 3. Replace the host portion of the address with all 0s. – 4. Convert the binary expression back to dotted- decimal notation.

Establishing the Subnet Mask Address To determine the number of bits to be used, the network designer needs to calculate how many hosts the largest subnetwork requires and the number of subnetworks needed. The “slash format” is a shorter way of representing the subnet mask: – /25 represents the 25 one bits in the subnet mask

Establishing the Subnet Mask Address Creating 8 Subnetwork

Subnetting Class A and B Networks The available bits for assignment to the subnet field in a Class A address is 22 bits while a Class B address has 14 bits.

Calculating the Subnetwork With ANDing ANDing is a binary process by which the router calculates the subnetwork ID for an incoming packet. – 1 AND 1 = 1; 1 AND 0 = 0; 0 AND 0 = 0 The router then uses that information to forward the packet across the correct interface. Packet Address Subnet Mask Subnetwork Address

Subnetting Review To identify subnets, you will “borrow” bits from the host ID portion of the IP address: – The number of subnets available depends on the number of bits borrowed. The available number of subnets = 2 s, I which s is the number of bits borrowed. – The number of hosts per subnet available depends upon the number of host ID bits not borrowed. The available number of hosts per subnet = 2 h -2, in which h is the number of host bits not borrowed. One address is reserved as the network address. One address is reserved as the broadcast address.

Possible Subnets and Hosts for a Class C Network

Possible Subnets and Hosts for a Class B Network

Possible Subnets and Hosts for a Class A Network

Subnetting Review Exercise Subnet a network with a private network address of /16 so that it provides 100 subnets and maximizes the number of host addresses for each subnet. – How many bits will need to be borrowed? – What is the new subnet mask? – What are the first four subnets? – What are the range of host addresses for the four subnets?

VLSM

What Is VLSM and Why Is It Used?

What Is a Variable-Length Subnet Mask? Subnet /24 is divided into smaller subnets. –Subnet with one mask (/27). –Then further subnet one of the unused /27 subnets into multiple /30 subnets.

A Waste of Space

When to Use VLSM?

Calculating Subnets with VLSM Allows up to 62 hosts per subnet Allows further 64 subnets

A Working VLSM Example (Cont.)