addressing the network – ipv4 by dodi heriadi. ip addressing structure describe the dotted decimal...

61
Addressing the Addressing the Network – IPv4 Network – IPv4 by Dodi Heriadi by Dodi Heriadi

Upload: hayden-mattick

Post on 14-Dec-2015

235 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Addressing the Addressing the Network – IPv4Network – IPv4Addressing the Addressing the Network – IPv4Network – IPv4

by Dodi Heriadiby Dodi Heriadi

Page 2: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Describe the dotted decimal structure of a binary IP address and label its parts

Page 3: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Describe the general role of 8-bit binary in network addressing and convert 8-bit binary to decimal

Page 4: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting 8-bit binary to decimal

Page 5: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting 8-bit binary to decimal

Page 6: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting 8-bit binary to decimal

Page 7: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting an IPv4 from Binary to Dotted decimal Notation

Page 8: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Convert decimal to 8-bit binary

Page 9: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

Page 10: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting decimal to 8-bit binary

Page 11: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

IP Addressing Structure

• Practice converting decimal to 8-bit binary

Page 12: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Name the three types of addresses in the network and describe the purpose of each type

The address by which we refer to the network

A special address used to senddata to all hosts in the network

The addresses assigned tothe end devices in the network

Page 13: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Network Prefixes

Classify and Define IPv4 Addresses

Page 14: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Calculating Network, Hosts and Broadcast Addresses• An example 172.16.20.0 /25172.16.20.0 /25 network

Page 15: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Determine the network, broadcast and host addresses for a given address and prefix combination

Type of Address Enter Full Address in BinaryEnter Full

Address in Decimal

IP Address

Network

Broadcast

First Usable Host

Address

Last Usable HostAddress

Page 16: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

Type of Address Enter Full Address in BinaryEnter Full

Address in Decimal

IP Address 11000000 11111100 00111101 01010000 192.252.61.80

Network 11000000 11111100 00111101 01000000 192.252.61.64

Broadcast 11000000 11111100 00111101 01111111 192.252.61.127

First Usable Host

Address11000000 11111100 00111101 01000001 192.252.61.65

Last Usable HostAddress 11000000 11111100 00111101 01111110 192.252.61.126

Page 17: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Determine the network, broadcast and host addresses for a given address and prefix combination

Type of Address Enter Full Address in BinaryEnter Full

Address in Decimal

IP Address

Network

Broadcast

First Usable Host

Address

Last Usable HostAddress

Page 18: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

Page 19: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Name the three types of communication in the Network Layer and describe the characteristics of each type

Page 20: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Identify the address ranges reserved for these special purposes in the IPv4 protocol

Classify and Define IPv4 Addresses

Page 21: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Define public address and private addressPrivate address

Classify and Define IPv4 Addresses

Network Address Translation (NAT)With services to translate private addresses to publicaddresses, hosts on a privately addressed network can haveaccess to resources across the Internet

Public Addresses These addresses are designed to be used in the hosts that

are publicly accessible from the Internet

Page 22: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Define public address and private address

Classify and Define IPv4 Addresses

Page 23: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Define public address and private address

Classify and Define IPv4 Addresses

Page 24: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Describe the purpose of several special addresses

Classify and Define IPv4 Addresses

Page 25: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses• Identify the historic method for assigning addresses and the issues associated with the method

Page 26: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Explain the importance of using a structured process to assign IP addresses to hosts and the implications for choosing private vs. public addresses

Classify and Define IPv4 Addresses

Page 27: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Classify and Define IPv4 Addresses

• Explain the importance of using a structured process to assign IP addresses to hosts and the implications for choosing private vs. public addresses

Page 28: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Explain how end user devices can obtain addresses either statically through an administrator or dynamically through DHCP

Assigning Addresses

Page 29: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Explain how end user devices can obtain addresses either statically through an administrator or dynamically through DHCP

Assigning Addresses

Page 30: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Explain which types of addresses should be assigned to devices other than end user devices

Assigning Addresses

Page 31: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Assigning Addresses• Describe the process for requesting IPv4 public

addresses, the role ISPs play in the process, and the role of the regional agencies that manage IP address registries.

Page 32: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Identify different types of ISPs and their roles in providing Internet connectivity

Assigning Addresses

Page 33: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Identify several changes made to the IP protocol in IPv6 and describe the motivation for migrating from IPv4 to IPv6.

Assigning Addresses

Page 34: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Use the subnet mask and ANDing process to extract the network address from the IP address.

The AND Operation:The AND Operation:1 AND 1 = 11 AND 1 = 11 AND 0 = 01 AND 0 = 00 AND 1 = 00 AND 1 = 00 AND 0 = 00 AND 0 = 0

Determine the network portion of the host address and the role of the

subnet mask

Page 35: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Observe the steps in the ANDing of an IPv4 host address and subnet mask

Determine the network portion of the host address and the role of the

subnet mask

Page 36: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

• Given a host IP address and subnet mask, calculate the network address

Page 37: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 38: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

• Given a host IP address and subnet mask, calculate the network address

Page 39: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 40: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Calculating the Number of Hosts

Calculating Addresses

Page 41: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Calculating the Number of Hosts

Calculating Addresses

Page 42: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 43: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 44: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 45: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Calculating Addresses

Page 46: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Basic Subnetting• Use the subnet mask to divide a network into smaller networks and describe the implications of dividing networks for network planners

Page 47: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Calculate the number of hosts in a network range given an address and subnet mask

Basic Subnetting

Page 48: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Calculate the number of hosts in a network range given an address and subnet mask

Basic Subnetting

Page 49: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Calculate the number of hosts in a network range given an address and subnet mask

Basic Subnetting

Page 50: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Basic SubnettingThis scenario has the following This scenario has the following requirements:requirements:AtlantaHQ 58 host addressesAtlantaHQ 58 host addressesPerthHQ 26 host addressesPerthHQ 26 host addressesSydneyHQ 10 host addressesSydneyHQ 10 host addressesCorpusHQ 10 host addressesCorpusHQ 10 host addressesWAN links 2 host addresses (each)WAN links 2 host addresses (each)

Page 51: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Basic Subnetting

Page 52: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Subnetting a subnet, or using Variable Length Subnet Mask (VLSM) was designed to maximize addressing efficiency.Given address/prefix of 192.168.15.0 /24Given address/prefix of 192.168.15.0 /24

Subnetting a Subnetting a subnet subnet

(using VLSM)(using VLSM)

Page 53: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Subnetting a Subnetting a subnet subnet

(using VLSM)(using VLSM)

Page 54: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Subnetting a subnet (using Subnetting a subnet (using VLSM)VLSM)

Page 55: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Given address/prefix of 172.16.0.0 /22

500 host

50 host50 host200 host200 host

20 host20 host

WAN3 = 2 hostWA

N1 = 2 host

WAN2 = 2 host

Subnetting a subnet (using Subnetting a subnet (using VLSM)VLSM)

Page 56: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Subnetting a subnet (using Subnetting a subnet (using VLSM)VLSM)

• Given address/prefix of 172.16.0.0 /22

Page 57: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

Testing the Network Layer

• Describe the general purpose of the ping command, trace the steps of its operation in a network, and use the ping command to determine if the IP protocol is operational on a local host

Page 58: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Use ping to verify that a local host can communicate with a gateway across a local area network

Testing the Network Layer

Page 59: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Use ping to verify that a local host can communicate via a gateway to a device in remote network

Testing the Network Layer

Page 60: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Use tracert/traceroute to observe the path between two devices as they communicate and trace the steps of tracert/traceroute's operation

Testing the Network Layer

Page 61: Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts

• Describe the role of ICMP in the TCP/IP suite and its impact on the IP protocol

Testing the Network Layer