Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.

Slides:



Advertisements
Similar presentations
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Advertisements

1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
Logical addressing Engr.Jawad Ali.
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.
Chapter 18. IP: Internet Protocol Addresses
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
A supernetwork.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
COS 420 DAY 7. Agenda Assignment 2 posted Due Feb 13 (next class) Individual Projects Assigned Due March 20 & 23 Classless And Subnet Address Extensions.
Oct 28, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #1 Subnet + CIDR.
1 Internet Networking Spring 2004 Tutorial 1 Subnetting and CIDR Proxy ARP.
1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR.
VLSM and CIDR CSE 421 CCNA Exploration 2 Chapter 6
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
Network Addressing Issues in /err_con/crc.htm.
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.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
1 TCOM 509 – Internet Protocols (TCP/IP) Lecture 02_b Instructor: Dr. Li-Chuan Chen Date: 09/08/2003 Based in part upon slides of Prof. J. Kurose (U Mass),
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.
Subnet & Classless Address Extensions Linda Wu (CMPT )
Classless and Subnet Address Extensions (CIDR)
IP Addressing Introductory material. An entire module devoted to IP addresses.
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
Chapter 6 VLSM and CIDR.
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
CIDR Classless Inter Domain Routing Give the IP address space some breathing room! Basic idea: allocate the remaining IP addresses in variable-size blocks.
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
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.
COMPUTER NETWORKS CS610 Lecture-25 Hammad Khalid Khan.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Addressing, Sub-netting & VLSM
IP – Subnetting and CIDR
Binary Concepts By: Nathan Miller.
IP Addressing Introductory material.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Subnetting and Supernetting.
Network Layer: IP Addressing
Internet Networking recitation #1
IP.
4 Network Layer Part I Computer Networks Tutun Juhana
IPV4.
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Chapter 5 Addressing Dr. Clincy Lecture.
Dr. John P. Abraham Professor UTPA
IP Addressing Introductory material
Dr. John P. Abraham Professor UTRGV
Routing Protocols and Concepts – Chapter 6
Dr. John P. Abraham Professor UTRGV
Chapter 5 IP addresses Classless Addressing
Routing Protocols and Concepts – Chapter 6
Routing Protocols and Concepts – Chapter 6
Dr. John P. Abraham Professor UTPA
Presentation transcript:

Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless addressing) allows the addresses assigned to an organization to span multiple IP network addresses

The Original Classful Addressing Scheme

Classful Addresses The different classes were different sizes: Less than 17,000 class B network addresses More than 2,000,000 class C network addresses The classes differed in popularity: Class B addresses were very popular and almost exhausted Class C addresses were hardly used at all

Supernetting Assign an organization a block of plentiful addresses (class C) rather than a single scarce (class B) address Example: An organization wants to connect to the Internet The organization would prefer a class B address Plans to subnet its various physical networks using the third octet of the IP address to represent the subnet This would allow the organization to have 254 physical networks with up to 254 hosts per network

Supernetting (cont) Example (cont): Instead of getting a class B address, the organization is given 256 contiguous class C addresses E.g. 192.17.0.0 – 192.17.255.0 Then: The organization can have up to 256 physical networks (each with its own class C network address) Each physical network can have up to 254 hosts Result: a block of plentiful addresses (class C) substituted for a single scarce (class B) address

Extending Supernetting A few large commercial Internet Service Providers (ISPs) provide Internet connectivity ISPs are assigned a large chunk of contiguous network addresses Organizations contract with an ISP and are assigned one or more network address(es)

Effect of Supernetting on Routing Problem: Recall: Routers (potentially) have an entry in their routing table for each unique network Assigning an organization 256 class C addresses might require 256 routing table entries Assigning an organization 1 class B address would require 1 routing table entry The information that Internet routers must store and exchange increases dramatically

Effect of Supernetting on Routing (cont) Solution: Classless Inter-Domain Routing (CIDR) Collapse a block of contiguous network addresses into a single pair Example: (192.5.48.0, 3) specifies three network addresses: 192.5.48.0 192.5.49.0 192.5.50.0

Effect of Supernetting on Routing (cont) Assume: a small number of ISPs each with a large block of addresses Example: four large ISPs: A: 195.0.0.0 – 195.63.255.0 (216 class C addresses) B: 195.64.0.0 – 195.127.255.0 (216 class C addresses) C: 195.128.0.0 – 195.191.255.0 (216 class C addresses) D: 195.192.0.0 – 195.255.255.0 (216 class C addresses)

Effect of Supernetting on Routing (cont) Z Y X A D C B V W

Effect of Supernetting on Routing (cont) Assume: customer X leases the addresses (195.17.0.0, 256) from ISP A ISP A’s routing table: A route to each of A’s subscribers: (195.17.0.0, 256) goes to X A route to each other ISP: (195.64.0.0, 216) goes to B (195.128.0.0, 216) goes to C (195.192.0.0, 216) goes to D Result: CIDR shortens routing tables

CIDR Address Blocks and Bit Masks No need to restrict network numbers to class C addresses No need to use an integer to specify the block size Instead: two items specify a block of addresses: The lowest address in the block (32-bit IP address) A 32-bit mask that divides addresses into a prefix and a suffix Prefix – common to all addresses in the block Suffix – differentiates unique address in the block

CIDR Address Blocks and Bit Masks (cont) Example: a CIDR block of 2048 addresses: Starting address: 128.211.168.0 Mask: 11111111 11111111 11111000 00000000 Dotted decimal = 255.255.248.0 Prefix: 10000000 11010011 10101 (the first 21 bits) Suffix: the last 11 bits

CIDR Notation CIDR Notation (or slash notation) is a shorthand for representing both the starting address and mask Example: 128.211.168.0/21 Specifies the starting address (128.211.168.0) Specifies the number of bits in the prefix (21) Specifies the suffix (32-21 = last 11 bits)

CIDR Masks Note: /8, /16, and /24 prefixes correspond to the traditional class A, B, and C divisions

Advantage of Classless Addressing Flexibility in allocating blocks of various sizes Assume: an ISP has the following block of addresses: 128.211.0.0/16 Can assign one customer 2048 addresses in the /21 range: Can assign another customer 4 addresses in the /29 range:

Classless Addressing Treats IP addresses as arbitrary integers rather than as part of a predefined class structure Allows a network administrator to assign addresses in contiguous blocks Number of addresses in a block must be a power of two Allows for: Flexibility in assigning blocks of addresses Ease of management of addresses

Private Addresses Some prefixes have been reserved for private networks (i.e. networks not part of the global Internet) These addresses are called private addresses (or nonroutable addresses) because they should not be used on the Internet

Additional Routing Concerns The original classful addressing scheme was self-identifying: A router could determine the network address simply by looking at the address Classless addresses are not self-identifying: A router cannot determine the division between the prefix and the suffix from the address Example: 128.211.176.213 Is that 128.211/16 Is that 128.211.176/8 Is that something else

Additional Routing Concerns (cont) Classless routing tables a usually stored in a hierarchical data structure called a binary trie A tree with paths determined by the data stored A unique prefix identifies each data item Example:

Binary Trie Structure Interior nodes (circles) correspond to two or more prefixes Leaf nodes (squares) correspond to a unique prefix and contain an address and mask

Binary Trie Structure (cont) A search for the address: 10010010 11110000 00000000 00000001 A search for the address: 10110111 11110000 00000000 00000001

Summary Problem: IP v4 addresses (especially class B) would be exhausted Solutions: Supernet addressing - a block of plentiful addresses (class C) substituted for a single scarce (class B) address Classless Inter-Domain Routing - collapse a block of contiguous network addresses into a single pair to keep routing tables short