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



Similar documents
VLSM and CIDR Malin Bornhager Halmstad University

IP Addressing A Simplified Tutorial

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.

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

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

Subnetting Examples. There are three types of subnetting examples I will show in this document:

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

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

Pre-lab Preparation: 1. Read thoroughly and prepare the experiment sheet. 2. You must bring a printed copy of this experiment with you to the lab.

Advanced IP Addressing


Type of addressing in IPv4

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

VLSM CHAPTER 2. IP Subnet Zero

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

Internetworking and Internet-1. Global Addresses

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

IP Addressing and Subnetting for New Users

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

CIDR: Classless Interdomain Routing

3201 Computer Networks 2014/2015 Handout: Subnetting Question

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

Subnetting/Supernetting and Classless Addressing

How To Make A Network Address Prefix Smaller

Understanding IP Addressing: Everything You Ever Wanted To Know

IP Addressing. and Subnetting. Workbook Version 1.5. Student Name:

Subnetting Study Guide

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

Classful IP Addressing (cont.)

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

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting COURSES.

(Refer Slide Time: 02:17)

CCNA R&S: Introduction to Networks. Chapter 9: Subnetting IP Networks

Chapter 3: IP Addressing and VLSM

Expert Reference Series of White Papers. Solving the Mysteries of Subnetting

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

IP Subnetting and Addressing

Variable length subnetting

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

Lab Calculating VLSM Subnets

Lab Calculating VLSM Subnets

TCP/IP Cheat Sheet. A Free Study Guide by Boson Software, LLC

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Expert Reference Series of White Papers. Basics of IP Address Subnetting

Chapter 19 Network Layer: Logical Addressing 19.1

Module 2: Assigning IP Addresses in a Multiple Subnet Network

DG Forwarding Algorithm

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

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

Lecture Computer Networks

SYMETRIX SOLUTIONS: TECH TIP April 2014

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

Seven Steps to Subnetting

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

TCP/IP Drill Pack. By Donna Warren. Created by Donna P. Warren Revised: 1/2/2012 Page 1 of 19

Number of bits needed to address hosts 8

Packet Tracer 3 Lab VLSM 2 Solution

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

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

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

IP Addressing Introductory material.

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Question Question Question EdTech 552: Lab 3 Answer Sheet

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

Expert Reference Series of White Papers. Simple Tricks To Ace the Subnetting Portion of Any Certification Exam COURSES.

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

Networking Basics for Automation Engineers

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Lab#2: IP Addressing and Subnetting

8.2 The Internet Protocol

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

PART IV. Network Layer

examines the ideas related to Class A, Class B, and Class C networks (in other words, classful IP networks).

- Classful vs. Classless Routing -

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

The IP Transmission Process. V1.4: Geoff Bennett

Internetworking and IP Address

ICS 351: Today's plan

Tutorial (03) IP addresses & Sub netting

IP Addressing. IP Addresses. Introductory material.

CCNA Tutorial Series SUBNETTING

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

Subnetting IPv4 and IPv6

Expert Reference Series of White Papers. Binary and IP Address Basics of Subnetting

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

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Savera Tanwir. Internet Protocol

Lab IP Addressing Overview

IP Subnetting and Related Topics A Tutorial by Chris Uriarte <chrisjur@cju.com> Updated April 2001

Section #6: Addressing

CONFIGURING TCP/IP ADDRESSING AND SECURITY

Lecture 10. Subnetting & Supernetting

RARP: Reverse Address Resolution Protocol

Internet Addresses (You should read Chapter 4 in Forouzan)

Interconnecting Cisco Network Devices 1 Course, Class Outline

CCNA : Cisco Certified Network Associate Study Guide, 5th Edition ( ) Todd Lammle

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

AT&T IP Address Allocation/Assignment Policy

Transcription:

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

Variable-Length Subnet Masks Variable-length subnet masks specified how a single network ID could have different subnet masks among its subnets. Used correctly, VLSM could minimize the wasted IP addresses forced by a single subnet mask per network ID

Benefits The major benefit of VLSM is that subnets can be defined to different sizes as needed under a single Network ID, thereby minimizing, if not eliminating, wasted addresses. As a result, an organization s assigned IP address space is more efficiently used. Second, when correctly defined to match the physical topology of the network, variable-length subnet masks can used to permit router aggregation that minimizes the number of distinct routes that need to be advertised and processed by network backbone or Internet routers

Implementation Requirements In order for VLSM to be successfully implemented, the routers on the network where VLSM is implemented must be able to share subnet masks and/or extended network prefixes along with each router advertisement All routers supporting VLSM must support a longest match routing algorithm. This is particularly important in VLSM networks because subnets can be embedded within subnets Finally, the implemented network topology must match the distribution of addresses and definition of subnets.

That is to say, the network designers must decide in advance how many levels of subnets are required, and how many hosts per subnet must be supported at each level

Recursive Division of a Network Prefix with VLSM As previously described, VLSM allows an organization s assigned address space to be recursively divided into as many levels and sizes of subnets as required. In order to better understand this process, we will first show how the address space is divided and then show how the routes from that recursively divided address space can be aggregated to effectively reduce the amount of transmitted routing information. In addition to reducing the amount of transmitted and stored routing information, an added benefit is that the associated network topology and structure of one subnet is unknown to other subnets.

Figure 8-12 illustrates how a single network prefix can be recursively divided thanks to VLSM

Route Aggregation with VLSM While the benefits of flexible subnet size definition is illustrated in Figure 8-12, the route aggregation benefits of VLSM are illustrated in Figure 8-13. Often, the terms summarization and aggregation are used interchangeably to describe the process of reducing the number of routing advertisements between subnets by only advertising the common portion of subnet IDs. Alternatively stated, summarization and aggregation mean that subnet information is not shared between two networks when a router connects those networks

In some cases, however, a distinction is made between the two terms. In such cases, the term summarization is reserved to describe those circumstances in which subnet addresses have been rolled up all the way to the major network prefix as assigned by the Internet authorities. In Figure 8-13, this would be the 121.0.0.0/8 major network prefix. On the other hand, the term aggregation is used to more generally describe any circumstance when only the common portion of those addresses in a routing advertisement can represent a subnet s entire address space

Notice in Figure 8-13, how each physical network that houses multiple subnet IDs can have its routing information summarized to a single route advertisement to the next higher layer of subnet. Finally, the entire internetwork can be advertised to the Internet routing tables by the single assigned network ID: 121.0.0.0.

Such route aggregation and the efficiencies gained therein, are only possible if subnet masks are assigned in a planned manner so that subnet address assignment mirrors the actual topology of the network, as illustrated in Figure 8-13. If assigned addresses are not organized to mirror the physical topology of the network, then address aggregation is not possible and the benefit of reduction of routing table size will not be realized

Subnet Design Using VLSM Subnet design with variable-length subnet masks is similar to subnet design with fixed-length subnet masks, but the decisions made regarding subnets for the entire network in the fixed-length subnet mask scenario are made independently at each level in the variable-length subnet mask scenario.

To elaborate, at each level (subnets, sub-subnets, sub2- subnets, etc.), basically two questions must be answered: 1. How many subnets are required at this level, both now and in the future? 2. What is the largest number of host required per subnet on this level, both now and in the future?

Defining Sub-Subnet Numbers with VLSM Figure 8-14 provides an example of how subnet numbers are defined in VLSM. In this example, it was determined that six sub-subnets were needed beneath the 121.253.0.0/16 subnet. Since two subnets are reserved, we need to really be able to define eight sub-subnets. Two to the third power is eight, so it will take 3 additional bits or /19 (/16+3 = /19) extended network prefix to provide the required six sub-subnets

Defining Sub2-Subnet Numbers with VLSM If it was then decided that the 121.253.160.0/19 sub-subnet needed to be recursively divided into six sub2-subnets, so 3 additional bits of variable length subnet mask would be required. This is illustrated in Figure 8-15

Defining Host Addresses for a Given Subnet With VLSM, defining host addresses involves the same process for subnet, sub-subnets, or sub2-subnets. Figure 8-16 illustrates the host definition process for sub2- subnet 121.253.184.0/22 defined in Figure 8-15. The extended network prefix of /22 tells us that 1022 host IDs can be defined on this sub2-subnet. (32 bit address 22 reserved bits = 10 bits available for host ID; two to the tenth power = 1,024 2 reserved host IDs = 1,022 available host IDs).

If 1,022 host IDs are way more than we could ever reasonably use, we would probably want to consider defining another subnet level so as not to strand or waste precious IP addresses. Notice how the extended network prefix does not increase when we define host IDs for a given subnet the way it did when we defined additional subnet levels to existing subnets

Notice how the third octet has changed from 184 to 187 on the last few host IDs. Does this mean that the subnet ID changed somehow? The answer is no. If you look in the extended network prefix column, you will see that the subnet ID has not changed. The reason the third octet changed is because the extended network prefix was 22, leaving 2 bits of the third octet left over for use by the host ID.

Since the host IDs start using the rightmost bits first, it was only when we got to the last few host IDs that we were forced to use the leftmost bits, which happened to belong in the third octet. As a result, the third octet may have become 187, but the sub2-subnet ID is still 184

Determining if VLSM IP Addresses Are Part of the Same Subnet Routers use the same algorithm to determine if IP addresses are part of the same subnet, whether or not VLSM is used. A router must somehow know the extended network prefix or subnet mask, as well as the IP address. In the case of fixed-length subnet masks, the router could use its own interface s subnet mask (since all subnet masks on a given network had to be the same), or it could assume the default subnet mask based on classful address class.

In the case of variable-length subnet masks, no such assumptions can be made. Extended network prefixes must accompany every advertised route that is shared between routers