CIDR: Classless Interdomain Routing

Slides:



Advertisements
Similar presentations
IP Addressing Introductory material.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
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.
Computer Networks: Global Internet Global Internet.
Winter CMPE 155 Week 8. Winter Router demos: background.
Oct 28, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR.
Understanding IP Addressing Chuck Semeria Presented by Benyuan Liu for Internet Routing Seminar Sep 19, 2000.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Subnetting and CIDR Textbook Ch 3.2.5
VLSM and CIDR CSE 421 CCNA Exploration 2 Chapter 6
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
1 CIDR Classless Inter-Domain Routing Rizwan Rehman, CCS, DU.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
From Subnetting to VLSM
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.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 Modified by.
© 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)
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Implementing VLSM.
CIDR Classless Inter-Domain Routing
IP Addressing Introductory material. An entire module devoted to IP addresses.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
Department of Computer Engineering, Kasetsart University Computer Networks 1-1 IP Addressing Computer Networks Surasak Sanguanpong
Chapter 6 VLSM and CIDR.
Chapter 6 VLSM and CIDR CIS 82 Routing Protocols and Concepts Rick Graziani Cabrillo College Last Updated: 3/30/2008.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 VLSM and CIDR Routing Protocols and Concepts – Chapter 6.
CIDR Classless Inter Domain Routing Give the IP address space some breathing room! Basic idea: allocate the remaining IP addresses in variable-size blocks.
© 2002, Cisco Systems, Inc. All rights reserved..
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
1 CMPT 471 Networking II Addressing assigning networks and sub-networks © Janice Regan, 2012.
1 Variable Length Subnet Masks ( VLSM ) “ Classful Route” Means if a route to a network starting with is received, it is a class A => mask length.
Subnetting and Supernetting.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
30/11/1008-Supernetting1 Revision of Classful IP Addressing © Tanenbaum, Prentice Hall International.
IP – Subnetting and CIDR
Subnetting and Supernetting
IP Addressing Introductory material.
LESSON Networking Fundamentals Understand IPv4.
Subnetting and Supernetting.
Internet Networking recitation #1
IP.
IPV4.
IP Addressing Introductory material.
IP Addressing Introductory material.
CS 457 – Lecture 14 Global Internet
Routing Protocols and Concepts – Chapter 6 Modified by Tony Chen
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
IP Addressing Introductory material
Dr. John P. Abraham Professor UTRGV
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Classless and Subnet Address Extensions (CIDR)
Presentation transcript:

CIDR: Classless Interdomain Routing Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: July 9, 2002

Address allocation problem Exhaustion of the class B network address space. The lack of a network class of a size which is appropriate for mid-sizes organization; class C, with a max of 254 hosts, is too small, while class B, with a max of 65534 hosts, is too large. Allocate blocks of class C instead and downside is more routes entry in routing table 1) requires fewer than 256 addresses 1 class C network 2) requires fewer than 512 addresses 2 contiguous class C networks 3) requires fewer than 1024 addresses 4 contiguous class C networks 4) requires fewer than 2048 addresses 8 contiguous class C networks 5) requires fewer than 4096 addresses 16 contiguous class C networks 6) requires fewer than 8192 addresses 32 contiguous class C networks 7) requires fewer than 16384 addresses 64 contiguous class C networks Several serious scaling problem are : Exhaustion of the class B network address space. The lack of a network class of a size which is appropriate for mid-sizes organization; class C, with a max of 254 hosts, is too small, while class B, with a max of 65536 hosts, is too large. Growth of routing tables

Routing Table problems Issue multiple (block) class C addresses (instead single class B address) solves a running out of class B address but... Introduces a problem of routing table By default, a routing table contains an entry for every network How large a routing table should be for all Class C networks? Growth of routing table in the Internet routers beyond the ability of current software and hardware to manage Several serious scaling problem are : Exhaustion of the class B network address space. The lack of a network class of a size which is appropriate for mid-sizes organization; class C, with a max of 254 hosts, is too small, while class B, with a max of 65536 hosts, is too large. Growth of routing tables

Route Non-Aggregation แสดงทิศทาง การประกาศเส้นทาง Internet 202.0.1.0/24, 202.0.32.0/24, 202.0.2.0/24, 202.0.33.0/24, 202.0.3.0/24 ISP1 202.0.0.0 - 202.0.255.0 202.0.1.0/24, 202.0.2.0/24, 202.0.3.0/24 202.0.32.0/24, 202.0.33.0/24 202.0.0.0 - 202.0.15.0 202.0.32.0 - 202.0.47.0 ISP2 ISP3 202.0.1.0 202.0.3.0 202.0.32.0 202.0.33.0 202.0.2.0

BGP routing Table

How to Solve Topological allocate IP address assignment We divide the world into 8 regions like this : (RFC1466) Multi-regional Europe Others North America Central/South America Pacific Rim IANA reserved 192.0.0.0 - 193.255.255.255 194.0.0.0 - 195.255.255.255 196.0.0.0 - 197.255.255.255 198.0.0.0 - 199.255.255.255 200.0.0.0 - 201.255.255.255 202.0.0.0 - 203.255.255.255 204.0.0.0 - 205.255.255.255 206.0.0.0 - 207.255.255.255 208.0.0.0 - 223.255.255.255 multi-regional : network numbers which have been assigned prior to the implementation At present there are four major areas of address allocation: Europe, North America, Pacific Rim, and South & Central America "Others" : permit flexibility in network number assignments which are outside of the geographical regions already allocated.

Route Aggregation แสดงทิศทาง การประกาศเส้นทาง Internet 202.0.0.0/16 ISP1 202.0.0.0/16 202.0.0.0/20 202.0.32.0/20 ISP2 202.0.0.0/20 202.0.32.0/20 ISP3 202.0.1.0 202.0.3.0 202.0.32.0 202.0.33.0 202.0.2.0

Classless Interdomain Routing Class C address’s concept becomes meaningless on these route between ‘domains’, the technique is called Classless Interdomain Routing or CIDR (pronounce cider) Key concept is to allocate multiple IP addresses in the way that allow summarization into a smaller number of routing table (route aggregate) CIDR is supported by BGP4 and based on route aggregation e.g 16 class C addresses can be summarized to a single routing entry (router can hold a single route entry for the main trunks between these areas

Supernetting CIDR is also called Supernetting in contrast to subnetting an organization has been allocated a block of class C addresses in 2n with contiguous address space archive by using bits which belongs to the network address as host bits class C example : altering the default class C subnet mask such that some bit change from 1 to 0 (Super) netmask 4 class C networks appear to networks outside as a single network 11111111 11111111 11111100 00000000 255.255.252.0

Supernetting Sample an organization with 4 class C 190.0.32.0, 190.0.33.0, 190.0.34.0 190.0.35.0 11111111 11111111 11111100 00000000 mask = 255.255.255.252.0 11000010 00000000 00100000 00000000 net = 190.0.32.0 11000010 00000000 00100001 00000000 net = 190.0.33.0 11000010 00000000 00100010 00000000 net = 190.0.34.0 11000010 00000000 00100011 00000000 net = 190.0.35.0 Bit wise AND results 190.0.32.0 This organization’s network has changed from 4 net to a single net with 1022 hosts

The Longest Match Supernetting Europe has 194.0.0.0 - 195.255.255.255 with mask 254.0.0.0 A case of one organization (195.0.16.0-195.0.36.0 mask 255.255.254.0) needs different routing entry datagrams 195.0.20.1 matches both Europe’s and this organization. How to do? Routing mechanism selects the longest mask (255.255.254.0 is longer than 254.0.0.0), then route to the organization

Summary routing decisions are now made based on masking operations of the entire 32 bit address, hence the term “classes” No existing routes is changed CIDR slows down the growth of routing tables (current ~ 50K entries in core routers) Short term solution to solve routing problem limitation : not all host/router software allows supernet mask