Optimizing IP Address Allocation

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
Advertisements

1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – 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.
Network Layer: Logical Addressing. 4-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Calculating Subnet Masks
Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
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.
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
A supernetwork.
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.
IP Addressing – Dotted-Decimal Notation –An IP address is 32 bits in size –Every IP address is grouped into four 8-bit octets –Octets are separated by.
2440: 141 Web Site Administration IP Addressing Instructor: Enoch E. Damson.
VLSM and CIDR CSE 421 CCNA Exploration 2 Chapter 6
111 © 2003, Cisco Systems, Inc. All rights reserved. Cisco Feedback is Essential:- Ca2dts has not completed Course Feedback ca5dpa has not completed Course.
Chapter Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
1 CIDR Classless Inter-Domain Routing Rizwan Rehman, CCS, DU.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
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.
Subnets Routing within an Organization. Subnet  Subnets are a subset of the entire network Networks can be divided into subnets Subnets can be divided.
Information & Communication Technology
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.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
4: Addressing Working At A Small-to-Medium Business or ISP.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Unit 24 Network Design IP Addressing (Part 3). Objectives to date… Classes of IP addresses (A, B and C) Using Subnetting and Subnet Masks The Limitations.
IP Addressing & Subnetting
Chapter 18 IP: Internet Protocol Addresses
CLASSLESS INTER-DOMAIN ROUTING {CIDR} & SUBNETTING PHILLIP LAFLEUR NATHAN GRAMMES JONATHAN BENNETT.
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
Saeed Darvish Pazoki – MCSE, CCNA IP Subnetting 1.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
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.
Presentation_ID 1 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Classful Addressing Classful Network Addressing.
Easy Subnetting. Chapter 4 Objectives Topics Covered in this chapter include: Interpret network diagrams Describe the operation and benefits of using.
Network Layer (part2)6-1 INT-201: Computer Network and Communication System อ. ดร. ภัทร ลีลาพฤทธิ์ Dr. Pattara Leelaprute Computer Engineering Department.
Sybex CCNA Chapter 3: Subnetting, VLSM and Troubleshooting Instructor & Todd Lammle.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
Subnetting and Supernetting.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
30/11/1008-Supernetting1 Revision of Classful IP Addressing © Tanenbaum, Prentice Hall International.
Chapter 5 Exploring IPv4.
IP Addressing.
Dotted Decimal Notation
Binary Concepts By: Nathan Miller.
Subnetting and Supernetting.
IP.
IPV4.
Objective: Classful Internet Addressing
Chapter 2 Easy Subnetting
IP Addressing Introductory material
Routing Protocols and Concepts – Chapter 6
Chapter 2 Easy Subnetting
Chapter 5 IP addresses Classless Addressing
Lec 8 Network Class 3.1 Computer Networks Al-Mustansiryah University
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
IP Addressing & Subnetting
Presentation transcript:

Optimizing IP Address Allocation

Overview Classless Inter-Domain Routing (CIDR ) Binary IP Addresses Binary Subnet Masks IP Address Allocation Using CIDR

Classless Inter-Domain Routing (CIDR) Limitations of Classful IP Addressing Defining CIDR

Limitations of Classful IP Addressing Adds Multiple Entries to Routing Tables Class C w x y z Network ID Host ID 255 192.168.1.0 192.168.2.0 192.168.3.0 192.168.4.0 192.168.5.0 192.168.6.0 192.168.7.0 192.168.8.0 Portion of Internet Routing Tables 192.168.1.0 255.255.255.0 192.168.1.1 192.168.2.0 255.255.255.0 192.168.2.1 192.168.3.0 255.255.255.0 192.168.3.1 192.168.4.0 255.255.255.0 192.168.4.1 192.168.5.0 255.255.255.0 192.168.5.1 192.168.6.0 255.255.255.0 192.168.6.1 192.168.7.0 255.255.255.0 192.168.7.1 192.168.8.0 255.255.255.0 192.168.8.1 Company Network IDs Internet Wastes IP Addresses Network of 2000 Computers Assigned 65,534 IP Addresses 63,534 Wasted 2000 Allocated Class B w x y z Network ID Host ID 255

IP Address in Binary Notation Defining CIDR w x y z 10.217.123.7 00001010 11011001 01111011 00000111 IP Address in Dotted Decimal Notation Network ID Host ID 32 Values 4 Values IP Address in Binary Notation

Binary IP Addresses Converting to Binary Format Converting to Binary Format Using a Calculator

Converting to Binary Format Binary Notation (Base 2) 27 26 25 24 23 22 21 20 Example 1 1*128 1*64 0*32 1*16 1*8 0*4 0*2 1*1 128 64 32 16 8 4 2 217 8 Bits Decimal Value 255 1 128 64 32 16 8 4 2 Decimal Notation (Base 10) 104 103 102 101 100 10,000 1,000 10 1 Example 2 7 0*104 2*103 1*102 7*101 200 217

Converting to Binary Format Using a Calculator Edit View Help Hex Dec Oct Bin Degrees Radians Grads Inv Hyp Backspace CE C Sta Ave Sum s Dat F-E dms sin cos tan [ ] Exp In x^y log x^3 x^2 nl 1/x pi M+ MS MR MC 7 8 9 4 5 6 1 2 3 +/- . A B D E F / * - + = Lsh Or Mod And Xor Not Int 0. Hex Decimal Octal Binary Degrees Radians Grads Digit grouping F5 F6 F7 F8 F2 F3 F4 Scientific Standard

Binary Subnet Masks Subnet Mask Bits CIDR Notation Calculating the Network ID Determining Local and Remote Hosts

Binary Representation Decimal Representation Subnet Mask Bits Binary Representation Decimal Representation 11111111 255 11111110 254 11111100 252 11111000 248 11110000 240 11100000 224 11000000 192 10000000 128 00000000 Network ID Host ID 1 w x y z 10 . 217 . 123 . 7 255 . 255 . 255 . 0

CIDR Notation IP Address Subnet Mask Number of Subnet Mask Bits (ones) IP Address in CIDR Notation 255 . 255 . 240 . 0 11111111 11111111 11110000 00000000 10 . 217 . 123 . 7 00001010 11011001 01111011 00000111 8 + 8 + 4 + 0 = 20 10.217.123.7/20

Calculating the Network ID IP Address in CIDR Notation: 10.217.123.7/20 IP Address 10 . 217 . 123 . 7 00001010 11011001 01111011 00000111 Subnet Mask 255 . 255 . 240 . 0 11111111 11111111 11110000 00000000 Network ID 00001010 11011001 01110000 00000000 Network ID in CIDR Notation 10.217.112.0/20

Determining Local and Remote Hosts Remote Host Example 1 2 Router A B C D E F 00001010 11011010 01100110 00000011 10.218.102.31/20 00001010 11011001 01111011 00000111 10.217.123.7/ 20 Local Host Example 1 2 Router A B C D E F 00001010 11011001 01111011 00000111 00001010 11011010 01100110 00000011 10.217.123.7/10 10.218.102.31/10

IP Address Allocation Using CIDR Available Host IDs Optimizing the Allocation of IP Addresses

Available Host IDs Subnet Mask N Number of Host IDs : 2n - 2 Network ID Host ID 1

Optimizing the Allocation of IP Addresses After Subnetting Router B 220.78.168.0 220.78.168.64 220.78.168.128 220.78.168.192 220.78.169.0 220.78.169.64 220.78.169.128 220.78.169.192 Router A 220.78.170.0 220.78.170.64 Routing Table for Router B 220.78.168.0 255.255.255.0 220.78.168.1 Routing Table for Router B 220.78.168.0 255.255.255.0 220.78.168.1 220.78.169.0 255.255.255.0 220.78.168.1 220.78.170.0 255.255.255.0 220.78.168.1 220.78.171.0 255.255.255.0 220.78.168.1 220.78.172.0 255.255.255.0 220.78.168.1 220.78.173.0 255.255.255.0 220.78.168.1 220.78.174.0 255.255.255.0 220.78.168.1 220.78.175.0 255.255.255.0 220.78.168.1 Before Supernetting: Router A 220.78.168.0 220.78.169.0 220.78.170.0 220.78.171.0 220.78.172.0 220.78.173.0 220.78.174.0 220.78.175.0 Router B Routing Table for Router B 220.78.168.0 255.255.255.0 220.78.168.1 Router B 220.78.168.0 Router A After Supernetting:

Review Classless Inter-Domain Routing (CIDR ) Binary IP Addresses Binary Subnet Masks IP Address Allocation Using CIDR