McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing.

Slides:



Advertisements
Similar presentations
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Advertisements

19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Classifying Network Addressing
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Network Layer. The Network layer, or OSI Layer 3, provides services to exchange the individual pieces of data over the network between identified end.
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addresses: Classful Addressing.
NETE0510 Presented by Dr.Apichan Kanjanavapastit
IP Addresses: Classful Addressing An IP address is a 32-bit address.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addressing.
1 Chapter 24 TCP/IP. 2 An Internet According to TCP/IP.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
TCP/IP Protocol Suite 1 Change the following IP addresses from binary notation to dotted-decimal notation. a b
1 Kyung Hee University Prof. Choong Seon HONG IP Addressing : Classful Addressing.
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 SUBNETTING.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing Teeratorn Saneeyeng, KMUTNB.
Network Layer: Logical Addressing. Address Space Notations Classful Addressing Classless Addressing Network Address Translation (NAT) Topics Discussed.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Protocols Chapter 5 (TCP/IP Suite Book): IPv4 Addresses
21-IP addressing Dr. John P. Abraham Professor UTPA.
Chapter 4 IP Addressing : Classful Addressing
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 Chapter 4 IP Addressing : Classful Addressing Chapter 4 IP Addressing : Classful Addressing Mi-Jung Choi Dept. of Computer Science, KUN
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
CS4500CS4500 Dr. ClincyLecture1 Lecture #6 Chapter 5: Addressing (part 1 of 3) Address Structure Classful Addressing Number Systems (Appendix B) Mask –
Chapter 5 IPv4 Address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
NETWORK LAYER.
21-IP addressing Dr. John P. Abraham Professor UTPA.
HANNAM UNIVERSITY 1 Chapter 4 IP Addresses: Classful Addressing.
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
21-IP addressing Dr. John P. Abraham Professor UTPA.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3 rd Ed. IP Addressing.
IP Addresses: Classful Addressing
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Chapters 4 & 5 Addressing Will go over Exam 1
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
IP Addresses: Classful Addressing
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
IP Addresses: Classful Addressing
Chapter 19 Network Layer: Logical Addressing
Ch 3: Underlying Technologies (remainder)
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Dr. John P. Abraham Professor UTRGV
Chapters 4 & 5 Addressing Will go over Exam 1
Chapters 4 & 5 Addressing Will go over Exam 1
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dr. John P. Abraham Professor UTPA
Presentation transcript:

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CONTENTS INTRODUCTION CLASSFUL ADDRESSING OTHER ISSUES A SAMPLE INTERNET

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 INTRODUCTION

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 An IP address is a 32-bit address.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 The IP addresses are unique.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Address Space addr15 addr1 addr2 addr41 addr31 addr226 …………..

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 RULE: addr15 addr1 addr2 addr41 addr31 addr226 ………….. If a protocol uses N bits to define an address, the address space is 2 N because each bit can have two different values (0 and 1) and N bits can have 2 N values.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 The address space of IPv4 is 2 32 or 4,294,967,296.

McGraw-Hill©The McGraw-Hill Companies, Inc., Binary Notation

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Dotted-decimal notation

McGraw-Hill©The McGraw-Hill Companies, Inc., Hexadecimal Notation D EA 0x75951DEA

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 1 Change the following IP address from binary notation to dotted-decimal notation Solution

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 2 Change the following IP address from dotted-decimal notation to binary notation Solution

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CLASSFUL ADDRESSING

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Occupation of the address space

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 In classful addressing, the address space is divided into five classes: A, B, C, D, and E.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 4-3 Finding the class in binary notation

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Finding the address class

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 5 How can we prove that we have 2,147,483,648 addresses in class A? Solution In class A, only 1 bit defines the class. The remaining 31 bits are available for the address. With 31 bits, we can have 2 31 or 2,147,483,648 addresses.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 6 Find the class of the address: Solution The first bit is 0. This is a class A address.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Finding the class in decimal notation

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 7 Find the class of the address: Solution The first byte is 227 (between 224 and 239); the class is D.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 7 (Continued) Find the class of the address: Solution The first byte is 193 (between 192 and 223); the class is C.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Netid and hostid

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Blocks in class A

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Millions of class A addresses are wasted.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Blocks in class B

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Many class B addresses are wasted.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Blocks in class C

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 The number of addresses in a class C block is smaller than the needs of most organizations.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Class D addresses are used for multicasting; there is only one block in this class.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Class E addresses are reserved for special purposes; most of the block is wasted.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Addresses The network address is the first address. The network address defines the network to the rest of the Internet. Given the network address, we can find the class of the address, the block, and the range of the addresses in the block

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 In classful addressing, the network address (the first address in the block) is the one that is assigned to the organization.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 9 Given the network address , find the class, the block, and the range of the addresses. Solution The class is A because the first byte is between 0 and 127. The block has a netid of 17. The addresses range from to

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 10 Given the network address , find the class, the block, and the range of the addresses. Solution The class is B because the first byte is between 128 and 191. The block has a netid of The addresses range from to

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 11 Given the network address , find the class, the block, and the range of the addresses. Solution The class is C because the first byte is between 192 and 223. The block has a netid of The addresses range from to

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Mask A mask is a 32-bit binary number that gives the first address in the block (the network address) when bitwise ANDed with an address in the block.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Masking concept

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 AND operation

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 The network address is the beginning address of each block. It can be found by applying the default mask to any of the addresses in the block (including itself). It retains the netid of the block and sets the hostid to zero.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 12 Given the address and the default class A mask, find the beginning address (network address). Solution The default mask is , which means that only the first byte is preserved and the other 3 bytes are set to 0s. The network address is

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 13 Given the address and the default class B mask, find the beginning address (network address). Solution The default mask is , which means that the first 2 bytes are preserved and the other 2 bytes are set to 0s. The network address is

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 14 Given the address and the class C default mask, find the beginning address (network address). Solution The default mask is , which means that the first 3 bytes are preserved and the last byte is set to 0. The network address is

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 We must not apply the default mask of one class to an address belonging to another class.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 OTHER ISSUES

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Multihomed devices

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network addresses

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example of direct broadcast address

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example of limited broadcast address

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example of this host on this address

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example of specific host on this network

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example of loopback address

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Private Addresses A number of blocks in each class are assigned for private use. They are not recognized globally.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Unicast, Multicast, and Broadcast Addresses Unicast communication is one-to-one. Multicast communication is one-to-many. Broadcast communication is one-to-all.