Subnetting and Supernetting.

Slides:



Advertisements
Similar presentations
IP Addressing. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 Specified in 1980/81.
Advertisements

TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
IP Addressing Introductory material.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
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.
Chapter 18. IP: Internet Protocol Addresses
Computer Networks: Global Internet Global Internet.
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.
COMP680E by M. Hamdi1 IP Addressing and CIDR. COMP680E by M. Hamdi2 IP Addresses.
Subnetting and CIDR Textbook Ch 3.2.5
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
1 CIDR Classless Inter-Domain Routing Rizwan Rehman, CCS, DU.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
Subnets Routing within an Organization. Subnet  Subnets are a subset of the entire network Networks can be divided into subnets Subnets can be divided.
1 1- What is the fundamental difference between network layer and data-link layer? Data-link layer only deals with efficient transmission of information.
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.
Types of Addresses in IPv4 Network Range
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
© 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)
CIDR Classless Inter-Domain Routing
IP Addressing Introductory material. An entire module devoted to IP addresses.
IP Addressing Introductory material. A module devoted to IP addresses.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
Chapter 6 VLSM and CIDR.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 6 Internet Protocol (IP) Addressing.
© 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.
Courtesy Nick McKeown (Stanford), Umar Kalim (NIIT)
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
Data Communications and Networks Chapter 7 – IP Addressing ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
IP Addressing.
1 Kyung Hee University Prof. Choong Seon HONG Subnetting/ Supernetting and Classless Addressing.
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.
Advanced TCP/IP Planning and Design Variable Length Subnet Mask (VLSM) Supernetting Classless Enter Domain Routing (CIDR)
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 Addressing Introductory material.
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.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Subnetting.
Subnetting and Supernetting.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
IP Logical Networks COMP 3270 Computer Networks Computing Science Thompson Rivers University.
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
IP Addressing Introductory material. An entire module devoted to IP addresses.
30/11/1008-Supernetting1 Revision of Classful IP Addressing © Tanenbaum, Prentice Hall International.
IP – Subnetting and CIDR
IP Addressing Introductory material.
4 Network Layer Part I Computer Networks Tutun Juhana
Objective: Classful Internet Addressing
Subnetting.
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.
IP Addressing Introductory material.
IP Addressing Introductory material.
Subnetting/Supernetting and Classless Addressing
Dr. John P. Abraham Professor UTPA
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
Dr. John P. Abraham Professor UTRGV
CIDR: Classless Interdomain Routing
Dr. John P. Abraham Professor UTPA
Presentation transcript:

Subnetting and Supernetting

Network Prefix and Host number IP address consists of a network prefix and a host number Prefix notation: 128.100.__.__/16 Notation with netmask: 128.100.__.__ 255.255.0.0

Actual Network Prefix IP address consists of a network prefix and a host number Prefix notation: 128.100.__.__/__ Notation with netmask: 128.100.__.__ 255.255.__.__

Faculty of Engineering Subnetting UofT Network Scenario: Organization has a large network prefix and wants to create smaller networks. Subnetting: Use a portion of the host name to identify a smaller network (“subnetwork”, “subnet”). Each subnet becomes a separate network 128.100.0.0/16 Faculty of Engineering Faculty of A&S 128.100.11.0/24 128.100.58.0/24 Library 128.100.136.0/24

Basic Idea of Subnetting Split the host number portion of an IP address into a subnet number and a (smaller) host number. Result is a 3-layer hierarchy Then: Subnets can be freely assigned within the organization Internally, subnets are treated as separate networks Subnet structure is not visible outside the organization network prefix host number network prefix subnet number host number extended network prefix

Subnetmask Start of the host number is indicated by prefix or netmask notation The netmask of the extended network prefix is called subnetmask (and the nework is called subnet)

Example Extended network prefix: Address of host: IP address of host: 128.100.11.60 (original) Network prefix: 128.100.0.0/16 Subnet number (with length 8 bit) : 11 Extended network prefix: Prefix notation: 128.100.11.0/24 Netmask notation: 128.100.11.0, 255.255.255.0 Address of host: Prefix notation: 128.100.11.60/24 Netmask notation: 128.100.11.60, 255.255.255.0

Advantages of Subnetting With subnetting, IP addresses use a 3-layer hierarchy: Network Subnet Host Reduces router complexity. Since external routers do not need to know about subnetting, the complexity of routing tables at external routers is reduced. Flexibility: Length of the subnet mask need not be identical on all subnetworks.

Creating and Managing Subnets Use of subnetting or length of the subnetmask is decided by the network administrator Subnets are created by setting the subnetmask of an IP interface Important: Subnetmasks must be set consistently

No Subnetting All hosts think that the other hosts are on the same network

With Subnetting Hosts with same extended network prefix belong to the same network

With Subnetting Different subnetmasks lead to different views of the scope of the network

Subnetting and Supernetting Subnets are created by extending the network prefix Supernetting: Multiple prefixes can be summarized with a single prefix, by reducing the network prefix: 128.143.0.0/16 128.142.0.0/16 128.142.0.0/15 If neighboring networks have similar address blocks, supernetting reduces the size of routing tables Route Aggregation: Routing table entries can be reduced, when prefixes can be collapsed and networks have the same outgoing interface

CIDR and Hierarchical IP address allocation Supernetting helps with reducing size of routing tables: Backbone ISPs obtain blocks of IP addresses and allocate portions of their address blocks to their customers Customers can allocate a portion of their address block to their own customers Note: This leads to a hierarchical organization of networks

Hierarchical Structure of IP Networks Company Y : ISP X owns: 65.10/16 Rest of Internet ISP Z : Organization A: Organization B:

Hierarchical Structure of IP Networks Company Y : 65.11 /16 ISP X owns: 65.10/15 Obtained from ISP X Obtained from ISP X Rest of Internet ISP Z : 65.10/16 Obtained from ARIN Obtained from ISP Z Obtained from ISP Z Organization A: 65.10.11/24 Organization B: 65.10.12/24

Hierarchical Structure of IP Networks Company Y : 65.11/16 ISP X owns: 65.10/15 Rest of Internet Routing table entry for 65.11/16 and 65.10/16 (no entry needed for 65.10.11/24 and 65.10.12/24) ISP Z : 65.10/16 Only one routing entry for 65.10/15 No entries needed for network addresses of Company Y, ISP Z, or Organizations A, B. Organization A: 65.10.11/24 Organization B: 65.10.12/24

Drawback of Hierarchical IP Networks IP address assignment depends on service provider Company Y : 65.11/16 ISP X owns: 65.10/15 Rest of Internet ISP Z : 65.10/16 Must change IP addresses when changing service provider Organization A: 65.10.11/24 Organization B: 65.11.12/24 65.10.12/24

Routing Table Aggregation Routing table entries that can be summarized and that have same outgoing interface can be collapsed. Network Prefix Interface 128.100.0.0/16 interface #5 128.101.0.0/16 interface #4 64.10.0.0/20 interface #2 64.10.16.0/20 100.40.128.0/21 interface #3 100.40.136.0/21 100.40.144.0/21 100.40.152.0/21 Routing Table

Routing Table Aggregation Routing table entries that can be summarized and that have same outgoing interface can be collapsed. Network Prefix Interface 128.100.0.0/16 interface #5 128.101.0.0/16 interface #4 64.10.0.0/20 interface #2 64.10.16.0/20 100.40.128.0/21 interface #3 100.40.136.0/21 100.40.144.0/21 100.40.152.0/21 Network Prefix Interface 128.100.0.0/16 interface #5 128.101.0.0/16 interface #4 64.10.0.0/19 interface #2 100.40.128.0/19 interface #3 Routing Table