Introduction to Network

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.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
Chapter 18 Introduction to Network Layer 18.# 1
Logical addressing Engr.Jawad Ali.
Network Layer: Logical Addressing. 4-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device.
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
A supernetwork.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
1 IP Addressing (IPv4 ADDRESSES). 2 Universal Service Concept Any computer can communicate with any other computer in the world. Multiple independently.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
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.
Chapter 19 Network Layer: Logical Addressing
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 5 Subnetting/Supernetting and Classless Addressing.
1 1- What is the fundamental difference between network layer and data-link layer? Data-link layer only deals with efficient transmission of information.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Planning the Addressing Structure Working at a Small-to-Medium Business or ISP – Chapter.
Chapter 5 IP addresses Classless 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.
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
1 Exercise: IPv4 subnetting. 2 Task 1 Given is an IP network with address : Divide this network into 8 subnets.
Copyright © Lopamudra Roychoudhuri
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 VLSM and CIDR.
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 Computer Communication & Networks.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
HANNAM UNIVERSITY TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing.
1 Kyung Hee University Prof. Choong Seon HONG Subnetting/ Supernetting and Classless Addressing.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 5 IPv4 Address.
NETWORK LAYER.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Subnetting.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
IP Logical Networks COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
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.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3 rd Ed. IP Addressing.
Chapters 4 & 5 Addressing Part 2 of 2
4.3 Network Layer Logical Addressing
Chapter 18 Introduction to Network Layer
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Chapter 22 Next Generation IP
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Chapter-5 TCP/IP Suite.
4 Network Layer Part I Computer Networks Tutun Juhana
IPV4.
Subnetting.
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.
Lec 9 Subnet 3.1 Computer Networks Al-Mustansiryah University
Chapter 5 Addressing Dr. Clincy Lecture.
Chapter 19 Network Layer: Logical Addressing
Subnetting/Supernetting and Classless Addressing
Network Layer: Logical Addressing
Chapter 3 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Delivery and Forwarding of
Chapter 19 Network Layer: Logical Addressing
Chapter 5 IP addresses Classless Addressing
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Network
Presentation transcript:

Introduction to Network Chapter 18 Introduction to Network Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

18.4.3 Classless Addressing With the growth of the Internet, it was clear that a larger address space was needed as a long-term solution. The larger address space, however, requires that the length of IP addresses also be increased, which means the format of the IP packets needs to be changed. Although the long-range solution has already been devised and is called IPv6, a short-term solution was also devised to use the same address space but to change the distribution of addresses to provide a fair share to each organization. The short-term solution still uses IPv4 addresses, but it is called classless addressing. 18.#

18.4.3 Classless Addressing To overcome address depletion. no classes, but the address are still granted in blocks. The size of the block( the number of addresses) varies based on the nature and size of the entity. Household: 2 addresses Large organization: thousands of addresses. ISP: thousands or hundreds of thousands based on the number of customers it may serve. 18.#

18.4.3 Classless Addressing Restriction The Internet Authorities impose three restrictions: The address in a block must be contiguous, one after another. The number of addresses in a block must be a power of 2 ( 1,2,4,8,…) The first address must be evenly divisible by the number of addresses.. 18.#

The Figure in the next slide shows a block of Example : The Figure in the next slide shows a block of addresses, in both binary and dotted-decimal notation, granted to a small business that needs 16 addresses. Layla Hajr

We can see that the restrictions are applied to this block.: • The addresses are contiguous. • The number of addresses is a power of 2 (16 = 24) • the first address is divisible by 16. The first address, when converted to a decimal number( use base 256), is 3,440,387,360, which when divided by 16 results in 215,024,210. Layla Hajr

can take any value from 0 to 32, for ex /24 The n leftmost bits are 1s Classless Addressing Mask Mask: /n 32- bit can take any value from 0 to 32, for ex /24 The n leftmost bits are 1s 32-n rightmost bits are 0s In IPv4 addressing, a block of addresses can be defined as x.y.z.t /n in which x.y.z.t defines one of the addresses and the /n defines the mask. Example: 172.31.16.42/26 Layla Hajr

Figure 18.21: Information extraction in classless addressing Set all suffix bits to 0s Set all suffix bits to 1s 18.#

Example 18.1 A classless address is given as 167.199.170.82/27. We can find the above three pieces of information as follows. The number of addresses in the network is 232− n = 25 = 32 addresses. The first address can be found by keeping the first 27 bits and changing the rest of the bits to 0s. The last address can be found by keeping the first 27 bits and changing the rest of the bits to 1s. 18.9

the leftmost n bits (prefix) define the network; Classless Addressing Each address in the block can be considered as a two-level hierarchical structure: the leftmost n bits (prefix) define the network; the rightmost 32 − n bits define the host (suffix). Layla Hajr

The organization has its own mask : network mask Each subnet must also have its own mask: subnet mask Layla Hajr

Example An organization is granted a block of addresses 17.12.40.0/26, which contains 64: (2(32-26)=24 =64) addresses. The organization has three offices and needs to divide the addresses into three subblocks (subnets) of 32, 16 and 16 Addresses. Design the subblocks and find the new masks. Solution Subnet1: Mask n1: 2 32-n1 = 32; n1=27 Subnet2 Mask n2: 2 32-n2 =16; n2=28 Subnet3 Mask n3: 2 32-n2= 16; n3= 28 Layla Hajr

Configuration and addresses in a subnetted network Layla Hajr

a. In subnet 1, the address 17.12.14.29/27 can give us the subnet address if we use mask/27: Host : 17. 12 .14 .00011101 Mask: /27 Subnet: 17.12.14.00000000 17.12.14.0 b. In subnet 2, the address 17.12.14.45/28 can give us the subnet address if we use mask/28: Host : 17. 12. 14. 00101101 Mask: /28 Subnet: 17.12.14. 00100000 17.12.14.32 Layla Hajr

c. In subnet 3, the address 17.12.14.50/28 can give us the subnet address if we use mask/28: Host : 17. 12. 14. 00110010 Mask: /28 Subnet: 17. 12. 14. 00110000 17.12.14.48 Layla Hajr

Layla Hajr