Docsity

NETWORK LAYER ( IP ADDRESS LAYER ) COMPUTER NETWORKS, Slides of Computer Networks

Partial preview of the text

Download NETWORK LAYER ( IP ADDRESS LAYER ) COMPUTER NETWORKS and more Slides Computer Networks in PDF only on Docsity!

IP Address

Class A, B, C etc Dr Yawar

INTRODUCTION

The identifier used in the IP layer of the TCP/IP protocol suite to identify each device connected to the Internet is called the Internet address or IP address. An IPv 4 address is a 32 - bit address that uniquely and universally defines the connection of a host or a router to the Internet.

An IPv4 address is 32 bits long.

The IPv4 addresses are unique

and universal.

The address space of IPv4 is

32

or 4,294,967,296.

How many

  • For IPv4, this pool is 32-bits ( 32 ) in size and contains 4,294,967,296 IPv4 addresses.
  • The IPv6 address space is 128-bits ( 128 ) in size, containing 340,282,366,920,938,463,463,374,607,431, 768,211,456 IPv6 addresses.

Binary Notation: Base 2

▪an IPv4 address is displayed as 32 bits 01110101 10010101 00011101 11101010

Dotted-Decimal Notation: Base 256

▪To make the IPv4 address more compact and easier to read, an IPv4 address is usually written in decimal form with a decimal point (dot) separating the bytes

Change the following IP addresses from binary notation to dotted-decimal notation. a. 10000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111 c. 11100111 11011011 10001011 01101111 d. 11111001 10011011 11111011 00001111 Example 1