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

Similar documents
SUBNETS, CIDR, AND CLASSLESS ADDRESSING

How To Make A Network Address Prefix Smaller

Savera Tanwir. Internet Protocol

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

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

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

Internet Addresses (You should read Chapter 4 in Forouzan)

RARP: Reverse Address Resolution Protocol

Internetworking and Internet-1. Global Addresses

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

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.

Tutorial (03) IP addresses & Sub netting

Internet Protocol Address

Variable length subnetting

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

Subnetting/Supernetting and Classless Addressing

IP Subnetting and Addressing

CIDR: Classless Interdomain Routing

Desirable Properties Of An Internet Addressing Scheme

TCP/IP Basis. OSI Model

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

8.2 The Internet Protocol

04 Internet Protocol (IP)

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

PART IV. Network Layer

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

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

IP Addressing Introductory material.

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

Classful IP Addressing (cont.)

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

Section #6: Addressing

IP Addressing. IP Addresses. Introductory material.

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

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

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

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

CCNA Tutorial Series SUBNETTING

Internet Protocol version 4 Part I

Chapter 19 Network Layer: Logical Addressing 19.1

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

Lecture Computer Networks

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

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

(Refer Slide Time: 02:17)

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.

VLSM and CIDR Malin Bornhager Halmstad University

Internet Protocols. Addressing & Services. Updated:

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

Internetworking and IP Address

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

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

Classless Subnetting Explained

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

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

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Internet Protocols Fall Lectures 7-8 Andreas Terzis

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Lecture 8. IP Fundamentals

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

The Internet/Network Layer

Internet Packets. Forwarding Datagrams

ICS 351: Today's plan

Future Internet Technologies

IP Addressing and Subnetting for New Users

TCP/IP Network Essentials. Linux System Administration and IP Services

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

Advanced IP Addressing

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 A Simplified Tutorial

We Are HERE! Subne\ng

Number of bits needed to address hosts 8

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

Internet Addressing. Name: identifies what the object is Address: identifies where it is Route: identifies how to get there

Understanding IP Addressing: Everything You Ever Wanted To Know

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

Instructor Notes for Lab 3

Joe Davies. Principal Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group June 1, 2011

IP address format: Dotted decimal notation:

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

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

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

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

Introduction to IP v6

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


IPv4 Addressing Simplified. by Ken Foster B.S. IT Information; Security and Forensics Kaplan University January 23, 2011

2.3 IPv4 Address Subnetting Part 2

IP Subnetting. Subnetting

iseries TCP/IP routing and workload balancing

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

Internet Protocols Fall Outline

DG Forwarding Algorithm

CS335 Sample Questions for Exam #2

Table of Contents 1 IP Addressing Configuration 1-1

CONFIGURING TCP/IP ADDRESSING AND SECURITY

Lecture 10. Subnetting & Supernetting

Transcription:

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

Introduction In the original IP addressing scheme, each physical network is assigned a unique network address Individual sites can have the freedom to modify addresses and routes as long as the modifications remain invisible to other sites 2009 Yanghee Choi 2

Minimizing Network Numbers Rapid growth of Internet size - large population of networks with trivial size Immense administrative overhead Routing tables become extremely large Address space will eventually be exhausted Routing overhead is high Original address scheme could not accommodate the number of networks currently in the global Internet - especially class B addresses 2009 Yanghee Choi 3

Subnet Addressing Subnet addressing, subnet routing, subnetting Required part of IP addressing Example :a site has a single class B IP network address assigned to it, but has two or more physical networks Network 128.10.1.0 128.10.1.1 128.10.1.2 REST OF THE INTERNET R H1 H2 Network 128.10.2.0 128.10.2.1 128.10.2.2 all traffic to H3 H4 2009 Yanghee Choi 128.10.0.0 4

Subnet Addressing Conceptual interpretation of a 32-bit IP address Internet part local part Internet part physical network host Hierarchical addressing, hierarchical routing E.g., telephone system 2009 Yanghee Choi 5

Flexibility in Subnet Address Assignment To allow maximum flexibility in choosing how to partition subnet address, the TCP/IP subnet standard permits subnet interpretation to be chosen independently for each physical network. Once a subnet partition has been selected, all machines on that network must honor it Network 1 R1 To rest of Internet R2 R3 Network 2 Network 3 R4 R5 Network 4 Network 5 2009 Yanghee Choi 6

Subnet Mask A site using subnet addressing must choose a 32-bit subnet mask for each network Example 11111111 11111111 11111111 00000000 11111111 11111111 00011000 01000000 Subnet mask representation Dotted decimal notation e.g.) 255.255.255.0 {<network number>, <subnet number>, <host number>} e.g.) { 128.10, 1, 0 } 2009 Yanghee Choi 7

Subnet Routing Algorithm Conventional routing table entry (network address, next hop address) Subnet routing table entry (subnet mask, network address, next hop address) 2009 Yanghee Choi 8

Algorithm: Subnet Routing Algorithm Route_IP_Datagram(datagram, routing_table) Extract destination IP address, I D, from datagram; Compute IP address of destination network, I N ; if I N matches any directly connected network address send datagram to destination over that network (This involves resolving I D to a physical address, encapsulating the datagram, and sending the frame.) else for each entry in routing table do Let N be the bitwise-and of I D and the subnet mask If N equals the network address field of the entry then route the datagram to the specified next hop address endforloop If no matches were found, declare a routing error; 2009 Yanghee Choi 9

Classless Addressing To accommodate growth until the new version of IP could be standardized and adopted, temporary solutions were found Subnet addressing Classless addressing Classless Addressing: allows the use of many IP network addresses for a single organization IP does not divide network addresses into classes equally Class C numbers were being requested slowly At the rate class B numbers were being assigned, all numbers would be exhausted in only a few years ROADS(Running Out of Address Space) problem To conserve class B numbers, the supernetting scheme assigns an organization a block of class C addresses instead of a single class B number 2009 Yanghee Choi 10

CIDR CIDR(Classless Inter-Domain Routing) Collapses a block of contiguous class C addresses into a single entry: (network address, count) network: the smallest network address in the block count: total number of network addresses in the block e.g.) (192.5.48.0, 3) = (192.5.48.0, 192.5.49.0, 192.5.50.0) each block of addresses is a power of two, and uses a bit mask to identify the size of the block -> reduce size of routing table CIDR notation ex) 128.211.168.0/21 Dotted decimal 32-bit binary equivalent lowest 128.211.168.0 10000000 11010011 10101000 00000000 highest 128.211.175.255 10000000 11010011 10101111 11111111 CIDR mask 1111111111111111111111000 00000000 2009 Yanghee Choi 11

Classless Lookup CIDR address is not self-identifying : router cannot determine the division between prefix and suffix by looking at the address Lookup algorithm : speed for lookup, speed of making changes LPM (Longest Prefix Matching) Binary Trie Patricia Trie Level Compressed Trie Many other patented algorithms compete in the market 2009 Yanghee Choi 12

2009 Yanghee Choi 13

2009 Yanghee Choi 14

2009 Yanghee Choi 15

2009 Yanghee Choi 16

2009 Yanghee Choi 17

2009 Yanghee Choi 18

2009 Yanghee Choi 19

2009 Yanghee Choi 20

2009 Yanghee Choi 21