VLSM and CIDR Malin Bornhager Halmstad University



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

Advanced IP Addressing

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

Router and Routing Basics

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

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

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.

IP Addressing and Subnetting for New Users

Lab#2: IP Addressing and Subnetting

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

IP Subnetting and Addressing

CIDR: Classless Interdomain Routing

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.

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

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

IP Addressing A Simplified Tutorial

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

SNMP/HTTP Access Control User Manual

Internet Addresses (You should read Chapter 4 in Forouzan)

Type of addressing in IPv4

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

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Tutorial (03) IP addresses & Sub netting

ICS 351: Today's plan


Link-State Routing Protocols

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

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

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

Classful IP Addressing (cont.)

- Classful vs. Classless Routing -

Subnetting/Supernetting and Classless Addressing

How To Make A Network Address Prefix Smaller

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

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Understanding IP Addressing: Everything You Ever Wanted To Know

Internetworking and Internet-1. Global Addresses

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

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Lecture 10. Subnetting & Supernetting

2.3 IPv4 Address Subnetting Part 2

8.2 The Internet Protocol

Cisco Certified Network Professional (CCNP Routing & Switching)

(Refer Slide Time: 02:17)

This chapter discusses the following advanced IP addressing topics: IP Address Planning Hierarchical Addressing Using Variable-Length Subnet Masks

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

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

CLASSLESS INTER DOMAIN ROUTING - CIDR

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

Classless Subnetting Explained

Variable length subnetting

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

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

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

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

We Are HERE! Subne\ng

IP Addressing Introductory material.

Sybex CCENT Chapter 4: Easy Subnetting. Instructor & Todd Lammle

Subnetting IPv4 and IPv6

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

Chapter 3: IP Addressing and VLSM

Future Internet Technologies

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

VLSM CHAPTER 2. IP Subnet Zero

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

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

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

OSPF Configuring Multi-Area OSPF

Address Scheme Planning for an ISP backbone Network

TCP/IP Basis. OSI Model

Notice the router names, as these are often used in MPLS terminology. The Customer Edge router a router that directly connects to a customer network.

Activity 6.7.4: IPv4 Address Subnetting Part 2

IP Addressing. IP Addresses. Introductory material.

Network Simulator Lab Study Plan

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.

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

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

Lab Calculating VLSM Subnets

Lab Calculating VLSM Subnets

IP Routing Configuring Static Routes

IP Networking Part 3- IP Address Management A webinar to help you prepare for the CBNE Certification

IP addressing and forwarding Network layer

- Route Filtering and Route-Maps -

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

The Subnet Training Guide

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

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

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

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

Internetworking and IP Address

VLSM Static routing. Computer networks. Seminar 5

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

Chapter 19 Network Layer: Logical Addressing 19.1

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

IP Addressing and Subnetting, Including IPv6

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

Transcription:

VLSM and CIDR Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1

Objectives Classless routing VLSM Example of a VLSM calculation 2

Classless routing CIDR (Classless InterDomain Routing) Network not identified based on default classes Router uses prefix (/) to describe how many bits are network bits More efficient use of IPv4 address space Aggregation reduces the size of the routing table 3

Classless Routing Protocols Includes the subnet mask in the routing updates RIP v2 EIGRP OSPF IS-IS BGP 4

CIDR and Route Summarization The first 20 bits in all four networks are common, and can be summarized as a single route 5

Calculating Route Summarization Step 1: List the networks in binary format 192.168.0.0 11000000.10101000.00000000.00000000 192.168.2.0 11000000.10101000.00000010.00000000 192.168.4.0 11000000.10101000.00000100.00000000 192.168.8.0 11000000.10101000.00001000.00000000 6

Calculating Route Summarization Step 2: Count the number of left-most matching bits to determine the mask 192.168.0.0 11000000.10101000.00000000.00000000 192.168.2.0 11000000.10101000.00000010.00000000 192.168.4.0 11000000.10101000.00000100.00000000 192.168.8.0 11000000.10101000.00001000.00000000 20 matching bits, corresponds to /20 or 255.255.240.0 7

Calculating Route Summarization Step 3: Copy the matching bits and add zeros to determine the network address 192.168.0.0 11000000.10101000.00000000.00000000 Copy Add zero bits All four networks will be summarized as 192.168.0.0 /20 8

Route Summarization 9

What is VLSM? VLSM = Variable Length Subnet Mask Different subnet masks within the same network address space Sub-subnetting Used for efficient and scalable addressing 10

Subnet mask 11

Benefits with VLSM More efficient use of IP addresses Variable size of the networks Greater capability to use route summarization Will reduce the entries in the routing table 12

How to calculate VLSM: You have a network that is divided into the subnetwork address 172.16.32.0 /20 This subnetwork is further divided into the VLSM address 172.16.32.0 /26 Calculate the subnet addresses that can be used in the network 13

How to calculate VLSM: Use the following steps: Write 172.16.32.0 in binary form Draw a vertical line between bit 20 and 21, where the original subnet boundary was Draw a vertical line between bit 26 and 27, to extend the subnet boundary Calculate the 64 subnet addresses with the bits between the two lines Remember: only unused subnets can be further subnetted 14

How to calculate VLSM: 15

How to calculate VLSM: Use the following steps: Write 172.16.32.0 in binary form Draw a vertical line between bit 20 and 21, where the original subnet boundary was Draw a vertical line between bit 26 and 27, to extend the subnet boundary Calculate the 64 subnet addresses with the bits between the two lines Remember: only unused subnets can be further subnetted 16

How to calculate VLSM: 17

How to calculate VLSM: Use the following steps: Write 172.16.32.0 in binary form Draw a vertical line between bit 20 and 21, where the original subnet boundary was Draw a vertical line between bit 26 and 27, to extend the subnet boundary Calculate the 64 subnet addresses with the bits between the two lines Remember: only unused subnets can be further subnetted 18

How to calculate VLSM: 19

How to calculate VLSM: Use the following steps: Write 172.16.32.0 in binary form Draw a vertical line between bit 20 and 21, where the original subnet boundary was Draw a vertical line between bit 26 and 27, to extend the subnet boundary Calculate the 64 subnet addresses with the bits between the two lines Remember: only unused subnets can be further subnetted 20

How to calculate VLSM: 21

How to calculate VLSM: Use the following steps: Write 172.16.32.0 in binary form Draw a vertical line between bit 20 and 21, where the original subnet boundary was Draw a vertical line between bit 26 and 27, to extend the subnet boundary Calculate the 64 subnet addresses with the bits between the two lines Remember: only unused subnets can be further subnetted 22

Results 23

Example: Point-to-Point Links 24

Example: Point-to-Point Links Subnet 6 divided to sub-subnets 25

Example: Point-to-Point Links 26