Desirable Properties Of An Internet Addressing Scheme



Similar documents
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.

Chapter 4. IP Addresses: Classful Addressing

Internet Addresses (You should read Chapter 4 in Forouzan)

Internetworking and IP Address

IP Address Structure

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

Lab#2: IP Addressing and Subnetting

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

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

Internet Protocol Address

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

Table of Contents 1 IP Addressing Configuration 1-1

Tutorial (03) IP addresses & Sub netting

Internet Protocols. Addressing & Services. Updated:

IP Addressing Introductory material.

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

Chapter 4 IP Addresses: Classful Addressing

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

Internet Protocol version 4 Part I

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

IP Addressing. IP Addresses. Introductory material.

Chapter 19 Network Layer: Logical Addressing 19.1

Subnetting/Supernetting and Classless Addressing

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

Question Question Question EdTech 552: Lab 3 Answer Sheet

How To Make A Network Address Prefix Smaller

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

Savera Tanwir. Internet Protocol

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

PART IV. Network Layer

Classful IP Addressing (cont.)

IP Addressing and Subnetting for New Users

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

Module 2: Assigning IP Addresses in a Multiple Subnet Network

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

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

Future Internet Technologies

Lecture 8. IP Fundamentals

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

Number of bits needed to address hosts 8

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

IP Addressing A Simplified Tutorial

Lab IP Addressing Overview

03 Internet Addressing

Part A:Background/Preparation

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

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.

TCP/IP Basis. OSI Model

Subnetting Study Guide

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

IP Subnetting. Subnetting

2.3 IPv4 Address Subnetting Part 2

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

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

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

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

Networking Basics for Automation Engineers

8.2 The Internet Protocol

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

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

Subnetting IPv4 and IPv6

Lab a Basic Subnetting

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

Classless Subnetting Explained

Network layer. Assignment 3

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

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

Instructor Notes for Lab 3

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

IPv6 Addressing. John Rullan Cisco Certified Instructor Trainer Thomas A. Edison CTE HS

ICS 351: Today's plan

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

Module 4, Assignment 3-2

RARP: Reverse Address Resolution Protocol

Internetworking and Internet-1. Global Addresses

IP Sub Networking Mini Howto

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

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

UNDERSTANDING IP ADDRESSING

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

Networking Test 4 Study Guide

Type of addressing in IPv4

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

IP - The Internet Protocol

IT:101 Cisco Networking Academy I Subnetting

Subnetting,Supernetting, VLSM & CIDR

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

Advanced Topics: IP Subnetting A WHITE PAPER PREPARED FOR ASPE TECHNOLOGY. toll-free:

Transport and Network Layer

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

The Subnet Training Guide

Activity 6.7.4: IPv4 Address Subnetting Part 2

Advanced IP Addressing

Virtual Instrument and Object Oriented Programming Modules to Enhance Computer Networking Course

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.

Introduction to IP v6

2. IP Networks, IP Hosts and IP Ports

Transcription:

Desirable Properties Of An Internet Addressing Scheme Compact Universal Works with all network hardware Supports efficient decision making - Test whether a destination can be reached directly - Decide which gateway to use for indirect delivery - Choose next gateway along a path to the destination 1

The TCP/IP Internet Address Scheme - IPv4 Each host assigned a 32-bit, hardware independent address (IP address) Prefix of the address uniquely identifies the network to which the host attaches (all machines on the same net share the same prefix) Prefixes assigned by central authority (IANA) Suffix of the address gives a unique id for the host on the network (no two machines on a given network share the same suffix) Suffixes assigned by local network administrator 2

Division Of Internet Address Into Prefix And Suffix How should division be made? - Large prefix, small suffix means many possible networks, but each is limited in size - Large suffix, small prefix means each network can be large, but there can only be a few networks Internet address scheme designed to accommodate both possibilities 3

Old-Style IPv4 Address Classes IPv4 addresses are 32 bits wide Three principle classes 01 8 16 24 31 Class A 0 netid hostid Class B 10 netid hostid Class C 110 netid hostid Lesser-used classes 01 8 16 24 31 Class D 1110 IP Multicast Class E 11110 reserved 4

Why Partition Internet Addresses Into Network And Host Portions? Each address must be unique Want to make routing efficient Partition allows us to assign unique id to each network, so we can do routing using network portion and delivery using unique host portion 5

Dotted Decimal Notation Syntactic form for expressing 32-bit address Used throughout the Internet and associated literature Represents each byte in decimal separated by periods (dots) Example - A 32-bit number in binary 10000100 11101011 00000001 00000010 - The same 32-bit number expressed in dotted decimal notation 132.235.1.2 6

Subnet Addressing Not part of original TCP/IP address scheme Allows a site to use a single network address for multiple physical networks Subdivides the hostid portion of an address into a pair of fields for physical network and host Interpreted only by gateways and hosts at the site; treated like normal address elsewhere Like the IP address scheme in miniature 7

Example Of Subnet Addressing 0 16 24 31 original netid hostid common netid phys net hostid subnet 4-bit netid phys net hostid 10-bit netid phys net hostid 12-bit netid phys net hostid How many subnets and hosts-per-subnet are there in each example?? Can we have a 15-bit subnet on a class B address?? Can we have a 14-bit subnet on a class B address?? 8

Subnet Address Details Each physical network is assigned subnet mask Mask covers netid portion plus zero or more bits of hostid portion When mask is applied to an IP address, it gives the address of a subnet Site may choose a different mask for each of its networks (not advisable) 9

Subnet Mask Examples A class B network has an implicit mask: 11111111.11111111.00000000.00000000 255.255.0.0 Many places use the first 8 bits of the host portion as the subnet address: 11111111.11111111.11111111.00000000 255.255.255.0 To use the first 5 bits for subnet, you have 11111111.11111111.11111000.00000000 255.255.248.0 If a site uses a 12 bit subnet id, how many hosts can be on each network? 10

Address Mask - Shorthand Representing the mask as an address is more general Handles non-contiguous masks Some commands insist on this format As shorthand, you can just give the size of the mask 132.235.0.0/16 All of OU 132.235.201.0/24 All ITL addresses 132.235.201.64/28 A block of 16 addresses in the ITL 132.235.201.131/32 A specific address 11

The New Way With the predicted exhaustion of some address classes (particularly class B) in the early 90 s, the notion of predefined address classes was abandoned All address blocks are assigned by the Internet Assigned Numbers Authority (IANA) Later subcontracted to ARIN and other international organizations Non-huge organizations get address space from their ISP You must be able to prove that you have need for them 12

Addressing Details Addresses really go with interfaces, not hosts A machine with multiple interfaces has multiple IP addresses By convention, when the hostid (suffix) of an address is all 0 s, it refers to the network itself, not a particular host When the hostid portion is all 1 s, that s a directed broadcast Addresses all of the machines on the network Might travel across parts of the Internet to get to the network Has security implications If the entire address is all 1 s, that s a limited directed broadcast Only refers to the local network The address 127.x.y.z is the loopback address 13

Remaining Problems IPv4 address space will soon be exhausted Large blocks have already all been allocated by IANA to regional registrars Address space is too expensive to give to socks Lack of hierarchy in the address space makes huge address tables necessary in central routers So, what is the solution? 14

Network Byte Order Different machines use different encoding of numbers Two predominant integer encoding schemes Big Endian Lowest memory address contains high order bits of data Used by IBM, Motorola, Sun (Sparc) Little Endian Lowest memory address contains low order bits of data Used by DEC PDP/Vax, Intel (x86,pentium) Internet standard is to transmit numbers in big endian order 15