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



Similar documents
Classful IP Addressing (cont.)

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

How To Make A Network Address Prefix Smaller

Subnetting/Supernetting and Classless Addressing

Internet Addresses (You should read Chapter 4 in Forouzan)

Tutorial (03) IP addresses & Sub netting

IP Addressing and Subnetting for New Users

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

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

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.

PART IV. Network Layer

Lab#2: IP Addressing and Subnetting

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.

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

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

ICS 351: Today's plan

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

VLSM and CIDR Malin Bornhager Halmstad University

8.2 The Internet Protocol

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Internetworking and IP Address

Desirable Properties Of An Internet Addressing Scheme

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

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

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

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

We Are HERE! Subne\ng

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

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

Savera Tanwir. Internet Protocol

Internetworking and Internet-1. Global Addresses

Chapter 19 Network Layer: Logical Addressing 19.1

Lecture Computer Networks

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

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

Future Internet Technologies

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

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

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


IP Addressing. IP Addresses. Introductory material.

CIDR: Classless Interdomain Routing

IP Addressing Introductory material.

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

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

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

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

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

IP Addressing A Simplified Tutorial

Table of Contents 1 IP Addressing Configuration 1-1

TCP/IP Basis. OSI Model

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

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

Internet Protocols. Addressing & Services. Updated:

Type of addressing in IPv4

Internet Protocol Address

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

CLASSLESS INTER DOMAIN ROUTING - CIDR

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

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

Section #6: Addressing

CONFIGURING TCP/IP ADDRESSING AND SECURITY

CCNA Tutorial Series SUBNETTING

Source net: Destination net: Subnet mask: Subnet mask: Router Hub

Module 4, Assignment 3-2

Lecture 8. IP Fundamentals

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

IP Subnetting. Subnetting

Network layer. Assignment 3

Internet Protocol version 4 Part I

Understanding IP Addressing: Everything You Ever Wanted To Know

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

IP Subnetting and Addressing

Module 2: Assigning IP Addresses in a Multiple Subnet Network

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

Variable length subnetting

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

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

DG Forwarding Algorithm

Question Question Question EdTech 552: Lab 3 Answer Sheet

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

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

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

Routing with OSPF. Introduction

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

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

Introduction to IP v6

IP addressing and forwarding Network layer

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

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

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

SYMETRIX SOLUTIONS: TECH TIP April 2014

Lecture 10. Subnetting & Supernetting

Subnetting IPv4 and IPv6

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

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

Transcription:

Subnet + CIDR Internet Networking recitation #1 11:02 236341, Internet Networking, 2015 1

Administrative Information Course site: webcourse.cs.technion.ac.il/236341 Grading policy: 15% homeworks + 85% final exam 6 home assignments. Submission is in pairs. Teaching Assistants: Yuval Nezri Office location: Taub 312 Teaching hours: Monday 14:30-15:20, Ulmann 303 Tuesday 9:30-10:20, Taub 3 Reception hour: Tuesday 11:30 12:30 Email : yuvalnezri@gmail.com 11:02 236341, Internet Networking, 2015 2

IP Addressing IP Address 32-bit integer, globally unique address. 11:02 236341, Internet Networking, 2015 3

Dotted Notation 11:02 236341, Internet Networking, 2015 4

Original Classful Scheme IP Classes dividing an address to net id and host id The prefix (net id) identifies a network. The suffix (host id) identifies a host on this network. 11:02 236341, Internet Networking, 2015 5

Original Classful Scheme Class A 1.0.0.0 126.0.0.0 Class B 128.0.0.0 191.255.0.0 Class C 192.0.0.0 223.255.255.0 Why is this method not scalable? Growth of routing tables in routers Tens of thousands small (class C) networks. Each network must be advertised. Inflexible Lack of a network classes for mid-sized organization (between class B and C). Address space will be eventually exhausted 11:02 236341, Internet Networking, 2015 6

Subnet Addressing A site has a single IP network address assigned to it, but has two or more physical networks. Different technologies. Limits of technologies. Network congestion. Security considerations. Administration (e.g. different departments in academic institute). From outside it looks like a single network. Only local routers know about multiple physical networks inside and how to route traffic among them. IP Address is divided into a subnet ID and a host ID. Accepted as a standard at 1985 (RFC 950). 11:02 236341, Internet Networking, 2015 7

Subnet Routing When a router gets a packet, it isolates by using Net mask the packet net address. Each routing entry contains a net mask. Routing is done on a longest-match basis. If the packet is destined to another network then the router forwards it to another router. Otherwise the router sends the packet to the appropriate host on its attached networks. 11:02 236341, Internet Networking, 2015 8

Classless Inter-Domain Routing Routing destinations are represented by network and mask pairs. Enabling network aggregation; thereby reducing the size of routing tables. Examples: Class A networks are followed by a /8 Class C networks are followed by a /24 8 Class C hosts network is followed by /21 Such a network has 21 bits of Net-ID, 11 Bits of Host-ID Contains 2^21 Net IDs, and 2^11-2 Hosts in Each network. 11:02 236341, Internet Networking, 2015 9

Subnetting - Example Network 128.10.1.0/24 128.10.1.1 128.10.1.2 Rest of the Internet All traffic to 128.10.0.0/16 R H 1 H 2. Network 128.10.2.0/24 128.10.2.1 128.10.2.2 H 3 H 4 A site with two physical networks. Using subnetting, R advertises these networks as a single network (thus, R accepts all traffic for network 128.10.0.0) Internal routing is done according to subnet id (i.e. the third octet of the address). 11:02 236341, Internet Networking, 2015 10

Variable-Length Subnetting Motivation: Consider the case when an organization has a few networks of different sizes. When we choose the subnet partitioning, we actually define a constant number of possible physical subnetworks with maximum number of hosts in them. Difficult to keep small (waist of subnet numbers) and big (the host id needs more bits) sub networks and there could be unnecessary spending of address space. Solution: Variable-Length Subnetting. A subnet partition is selected on a per-network basis. 11:02 236341, Internet Networking, 2015 11

Variable-Length Subnetting 11:02 236341, Internet Networking, 2015 12

Example Configuring a Network with Variable-Length Subnetting We have a network with IP 202.128.236.0/24 We need to support next sub-networks: 6 networks with 26 hosts 3 networks with 10 hosts 4 networks with 2 hosts If we take subnet mask of /27 bits then we can get 8 sub networks of 30 hosts (all 0 s and all 1 s of host addresses are reserved). 11111111.11111111.11111111.11100000 We need only 6 such sub networks. The rest 2 sub networks we will partition by subnet mask of /28 bits. 11111111.11111111.11111111.11110000 We will get 4 sub networks of 14 hosts in each We only need 3 such sub networks. 11:02 236341, Internet Networking, 2015 13

Example Configuring a Network with Variable-Length Subnetting The rest we will partitioned by subnet mask of /30 bits. 11111111.11111111.11111111.11111100 We will get 4 sub networks of 2 hosts each. Subnet mask #1 = /27 11111111.11111111.11111111.11100000 Subnet mask #2 = /28 11111111.11111111.11111111.11110000 Subnet mask #3 = /30 11111111.11111111.11111111.11111100 11:02 236341, Internet Networking, 2015 14

Example Configuring a Network with Variable-Length Subnetting Network address 202.128.236.0 202.128.236.32 202.128.236.64 202.128.236.96 202.128.236.128 202.128.236.160 202.128.236.192 202.128.236.208 202.128.236.224 202.128.236.240 202.128.236.244 202.128.236.248 202.128.236.252 Subnet 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.240 255.255.255. 240 255.255.255. 240 255.255.255.252 255.255.255.252 255.255.255.252 255.255.255.252 size 2^5-2=30 hosts 2^5-2=30 hosts 2^5-2=30 hosts 2^5-2=30 hosts 2^5-2=30 hosts 2^5-2=30 hosts 2^4-2=14 hosts 2^4-2=14 hosts 2^4-2=14 hosts 2^2-2=2 hosts 2^2-2=2 hosts 2^2-2=2 hosts 2^2-2=2 hosts 11:02 236341, Internet Networking, 2015 15

Questions? 11:02 236341, Internet Networking, 2015 16