Network Layer Logical Addressing IPv 4 ADDRESSES An

  • Slides: 36
Download presentation
Network Layer: Logical Addressing

Network Layer: Logical Addressing

IPv 4 ADDRESSES An IPv 4 address is a 32 -bit address that uniquely

IPv 4 ADDRESSES An IPv 4 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.

Dotted-decimal notation and binary notation for an IPv 4 address

Dotted-decimal notation and binary notation for an IPv 4 address

Example Find the error, if any, in the following IPv 4 addresses.

Example Find the error, if any, in the following IPv 4 addresses.

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

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

Finding the classes in binary and dotted-decimal notation

Finding the classes in binary and dotted-decimal notation

Table 1 Number of blocks and block size in classful IPv 4 addressing

Table 1 Number of blocks and block size in classful IPv 4 addressing

Table 2 Default masks for classful addressing

Table 2 Default masks for classful addressing

Classful addressing, which is almost obsolete, is replaced with classless addressing.

Classful addressing, which is almost obsolete, is replaced with classless addressing.

A block of 16 addresses granted to a small organization

A block of 16 addresses granted to a small organization

A network configuration for the block 205. 16. 37. 32/28

A network configuration for the block 205. 16. 37. 32/28

The first address in a block is normally not assigned to any device; it

The first address in a block is normally not assigned to any device; it is used as the network address that represents the organization to the rest of the world.

Each address in the block can be considered as a two-level hierarchical structure: the

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.

Host and Net division n n n 19. 14 Mask Address: 11001101 00010000 00100101

Host and Net division n n n 19. 14 Mask Address: 11001101 00010000 00100101 00100111 Mask: 11111111 11110000 Net id 11001101 00010000 00100101 00100000 Classless Interdomain Routing (CIDR) Subnetting Supernetting

Test your Understanding n n 19. 15 A block of addresses is granted to

Test your Understanding n n 19. 15 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? Also Find the last address in the block.

small business that needs 16 addresses 205. 16. 37. x 19. 16

small business that needs 16 addresses 205. 16. 37. x 19. 16

An organization is given the block 17. 12. 14. 0/26, which contains 64 addresses.

An organization is given the block 17. 12. 14. 0/26, which contains 64 addresses. The organization has three offices and needs to divide the addresses into three subblocks of 32, 16, and 16 addresses. We can find the new masks by using the following arguments: n n 19. 17 Suppose the mask for the must be 32, which means Suppose the mask for the must be 16, which means first subnet is n 1, then 232 - n 1 that n 1 =27. second subnet is n 2, then 232 - n 2 that n 2 = 28. third subnet is n 3, then 232 - n 3 that n 3 =28. This means that we have the masks 27, 28 with the organization mask being 26.

Configuration and addresses in a subnetted network

Configuration and addresses in a subnetted network

Three-level hierarchy in an IPv 4 address

Three-level hierarchy in an IPv 4 address

Table 3 Addresses for private networks

Table 3 Addresses for private networks

A NAT implementation

A NAT implementation

Addresses in a NAT

Addresses in a NAT

NAT address translation

NAT address translation

Table 4 Five-column translation table

Table 4 Five-column translation table

IPv 6 ADDRESSES Despite all short-term solutions, address depletion is still a long-term problem

IPv 6 ADDRESSES Despite all short-term solutions, address depletion is still a long-term problem for the Internet. This and other problems in the IP protocol itself have been the motivation for IPv 6.

An IPv 6 address is 128 bits long.

An IPv 6 address is 128 bits long.

IPv 6 address in binary and hexadecimal colon notation

IPv 6 address in binary and hexadecimal colon notation

Abbreviated IPv 6 addresses

Abbreviated IPv 6 addresses

Prefixes for provider-based unicast address

Prefixes for provider-based unicast address

Multicast address in IPv 6

Multicast address in IPv 6

Reserved addresses in IPv 6

Reserved addresses in IPv 6

Local addresses in IPv 6

Local addresses in IPv 6

Three transition strategies

Three transition strategies

Three transition strategies

Three transition strategies

Tunneling

Tunneling

Header translation

Header translation