I pv4 addressing

Post on 17-Dec-2014

57 views 0 download

Tags:

description

 

Transcript of I pv4 addressing

Chapter 19. Network Layer: Logical Addressing

IPv4 Addresses

IPv4 Addresses

Example

• Change the following IP addresses from binary notation to dotted-decimal notation.

a. 10000001 00001011 00001011 11101111

b. 11111001 10011011 11111011 00001111

• We replace each group of 8 bits with its equivalent decimal number and add dots for separation:

a. 129.11.11.239

b. 249.155.251.15

Classful addressing

In classful addressing, the address space is divided into five classes: A, B, C, D, E

Network Address

Address Allocation and Distribution: Example

• The first group has 64 customers; each needs 256 addresses.

• The second group has 128 customers; each needs 128 addresses.

• The third group has 128 customers; each needs 64 addresses.

0, 12864-127= 64, 64*2=128 addresses

0, 64, 128, 192128-159= 32 , 32*4 = 128 addresses

Network Address Translation: NAT

• NAT enables a user to have a large set of addresses internally and one address, or a small set of addresses, externally.

Addresses for private networks

Range Total

10.0.0.0 to 10.255.255.255 224

172.16.0.0 to 172.31.255.255 220

192.168.0.0 to 192.168.255.255 216

Addresses Translation

Translation Table

Five-Column Translation Table