IPv4 Addresses-Basic Data Communication Systems-Lecture Slides, Slides of Digital Systems Design

This lecture is part of lecture series on Data Communication Systems. It was delivered by Prof. Prajin Ahuja at Birla Institute of Technology and Science. Its main points are: IPV4, Device, Address, Notaion, Classful, Classles, Translation, Binary, Notation, Block

Typology: Slides

2011/2012

Uploaded on 07/26/2012

shakti
shakti 🇮🇳

4.4

(19)

99 documents

1 / 57

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
19.2
19-1 IPv4 ADDRESSES
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.
Address Space
Notations
Classful Addressing
Classless Addressing
Network Address Translation (NAT)
Topics discussed in this section:
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39

Partial preview of the text

Download IPv4 Addresses-Basic Data Communication Systems-Lecture Slides and more Slides Digital Systems Design in PDF only on Docsity!

Example 19.2 Change the following IPv4 addresses from dotted-decimalnotation to binary notation. SolutionWe replace^ each^ decimal 19.

number^ with^ its^ binary equivalent (see Appendix B).

Figure 19.3 shows a block of addresses, in both binaryand dotted-decimal notation, granted to a small businessthat needs 16 addresses.We can see that the restrictions are applied to this block.The addresses are contiguous. The number of addresses^4 is a power of 2 (16 = 2 19.

Example 19.5 ), and the first address is divisibleby 16.

  • 19-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely anduniversally defines the connection of a device (forexample, a computer or a router) to the Internet. Topics discussed in this section: Address SpaceNotationsClassful AddressingClassless AddressingNetwork Address Translation (NAT)19.
  • Note An IPv4 address is 32 bits long.19.
  • Note The IPv4 addresses are uniqueand universal. 19.
  • Note The address space of IPv4 is^32 2 or 4,294,967,296.19.
  • Figure 19.1 Dotted-decimal notation and binary notation for an IPv4 address 19.
  • Example 19.3 Find the error, if any, in the following IPv4 addresses. 19.
  • Note In classful addressing, the addressspace is divided into five classes:A, B, C, D, and E.19.
  • Figure 19.2 Finding the classes in binary and dotted-decimal notation 19.
  • Example 19.4 Find the class of each address.a. 0 0000001 00001011 00001011 11101111 b. 110 00001 10000011 00011011 11111111 c. 14 .23.120.8 d. 252 .5.15.111Solutiona. The first bit is 0. This is a class A address.b. The first 2 bits are 1; the third bit is 0. This is a class Caddress.c. The first byte is 14; the class is A.d. The first byte is 252; the class is E. 19.
  • Table 19.1 Number of blocks and block size in classful IPv4 addressing 19.
  • Note In classful addressing, a large part of theavailable addresses were wasted.19.
  • Table 19.2 Default masks for classful addressing 19.
  • Note Classful addressing, which is almostobsolete, is replaced with classlessaddressing. 19.
  • Figure 19.3 A block of 16 addresses granted to a small organization 19.

The first address in the block can befound by setting the rightmost^32 −^ 19.

Note n^ bits to 0s.

A block of addresses is granted to a small organization.We know that one of the addresses is 205.16.37.39/28.What is the first address in the block?SolutionThe binary representation of the given address is^11001101 00010000 19.

If we set 32 28 rightmost bits to 0, we get^11001101

(^00100101 0010000) or 205.16.37.32.

Example 19.6 This is actually the block shown in Figure 19.3.