CIDR: Classless Interdomain Routing



Similar documents
Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

How To Make A Network Address Prefix Smaller

VLSM and CIDR Malin Bornhager Halmstad University

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

CLASSLESS INTER DOMAIN ROUTING - CIDR

Lecture 10. Subnetting & Supernetting. Supernetting. Subnetting. Outline. medium org: N x class C? Class B? Variable Length Subnet Mask (VLSM)

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

Subnetting/Supernetting and Classless Addressing

Lecture Computer Networks

1. How many unique network IDs are there in class A addresses? # of unique hosts?

Lecture 10. Subnetting & Supernetting

Advanced IP Addressing

Classful IP Addressing (cont.)

Internetworking and Internet-1. Global Addresses

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Future Internet Technologies

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

Table of Contents. Cisco IP Addressing and Subnetting for New Users

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

Savera Tanwir. Internet Protocol

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

ICS 351: Today's plan

8.2 The Internet Protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부

CCNA Tutorial Series SUBNETTING

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

IP Addressing and Subnetting for New Users

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

Variable length subnetting

Module 2: Assigning IP Addresses in a Multiple Subnet Network

IP Addressing A Simplified Tutorial

Internetworking and IP Address

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Tutorial (03) IP addresses & Sub netting

Internet Addresses (You should read Chapter 4 in Forouzan)

IP Subnetting and Addressing

Computer Networks By Bahaa Q. Al-Mussawi Subnetting Basics Reduced network traffic Optimized network performance Simplified management

IP Addressing. IP Addresses. Introductory material.

IP Addressing Introductory material.

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

How to Create Subnets To create subnetworks, you take bits from the host portion of the IP address and reserve them to define the subnet address.

TCP/IP Addressing and Subnetting. an excerpt from: A Technical Introduction to TCP/IP Internals. Presentation Copyright 1995 TGV Software, Inc.

Network layer. Assignment 3

IP addressing and forwarding Network layer

We Are HERE! Subne\ng

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

Network Working Group Request for Comments: 1366 October 1992

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

IP Subnetting. Subnetting

Chapter 4 Network Layer

Inter-domain Routing. Outline. Border Gateway Protocol

Objectives. Upon completing this chapter, you will be able to

BGP. 1. Internet Routing

OSPF Configuring Multi-Area OSPF

TCP/IP Basis. OSI Model

The Subnet Training Guide

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Number of bits needed to address hosts 8

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

A Dell Technical White Paper Dell Storage Engineering

Lab#2: IP Addressing and Subnetting

Introduction to The Internet. ISP/IXP Workshops

04 Internet Protocol (IP)

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

Understanding IP Addressing: Everything You Ever Wanted To Know

Chapter 49 Border Gateway Protocol version 4 (BGP-4)


Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Topics. Subnetting. The Basics of Subnetting Subnet Mask Computing subnets and hosts Subnet Routing Creating a Subnet Example of Subnetting 1/37

PART IV. Network Layer

On Characterizing BGP Routing Table Growth Tian Bu, Lixin Gao, and Don Towsley University of Massachusetts, Amherst, MA 01003

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

LAB Configuring NAT. Objective. Background/Preparation

AT&T IP Address Allocation/Assignment Policy

IP address format: Dotted decimal notation:

Subnetting,Supernetting, VLSM & CIDR

IP Subnetting for the Masses Or How a 12 year old kid can subnet the most complex network.

CONFIGURING TCP/IP ADDRESSING AND SECURITY

- Classful vs. Classless Routing -

Understanding Route Aggregation in BGP

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

LAN TCP/IP and DHCP Setup

Instructor Notes for Lab 3

Internet Protocols Fall Lectures 7-8 Andreas Terzis

Subnetting. TELE301 Laboratory Manual. 1 In-Class Exercises Subnetting in IPv6... 4

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

Transcription:

1/10 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 2/10 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

Routing Table problems Issue multiple (block) class C addresses (instead single class B address) solves a running out of class B address but... 3/10 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 Route Non-Aggregation 4/10 แสดงท ศทาง การประกาศเส นทาง ISP1 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 202.0.1.0/24, 202.0.2.0/24, 202.0.3.0/24 202.0.0.0-202.0.255.0 202.0.32.0/24, 202.0.33.0/24 ISP2 202.0.0.0-202.0.15.0 202.0.32.0-202.0.47.0 ISP3 202.0.1.0 202.0.3.0 202.0.32.0 202.0.33.0 202.0.2.0

BGP routing Table 5/10 115000 110000 105000 100000 95000 90000 85000 80000 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000 25000 20000 15000 10000 5000 อ ตราการเต บโตของตารางเส นทางในอ นเทอร เน ต ท มา : http://www.mcvax.org/~jhma/routing/bgp-hist.html 0 Jun-88 Jun-90 Jun-92 Jun-94 Jun-96 Jun-98 Jun-00 How to Solve Topological allocate IP address assignment We divide the world into 8 regions like this : (RFC1466) 6/10 Multi-regional Europe Others North America Central/South America Pacific Rim Others Others 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 IANA reserved 208.0.0.0-223.255.255.255

Route Aggregation 7/10 Internet แสดงท ศทาง การประกาศเส นทาง ISP1 202.0.0.0/16 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) 8/10 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 9/10 CIDR is also called Supernetting in contrast to subnetting an organization has been allocated a block of class C addresses in 2 n 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 10/10 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 11/10 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 12/10 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