Chapter 7: Explore the Network

99
Introduction to Networks v5.1 Chapter 7: Explore the Network

Transcript of Chapter 7: Explore the Network

Introduction to Networks v5.1

Chapter 7:

Explore the Network

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 2

7.0 Introduction

7.1 IPv4 Network Addresses

7.2 IPv6 Network Addresses

7.3 Connectivity Verification

7.4 Summary

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3

Upon completion of this section, you should be able to:

• Convert between binary and decimal numbering systems.

• Describe the structure of an IPv4 address including the network portion, the host portion, and the subnet mask.

• Compare the characteristics and uses of the unicast, broadcast, and multicast IPv4 addresses.

• Explain public, private, and reserved IPv4 addresses.

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 4

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7

Dotted Decimal Address

Octets

32-Bit Address

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 8

Decimal Positional Notation

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9

Applying Decimal Positional Notation

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10

Binary Positional Notation

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11

Applying Binary Positional Notation

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12

To convert a binary IPv4 address to its dotted decimal equivalent:

• Divide the IPv4 address into four 8-bit octets. Apply the binary positional value to the first octet binary number and calculate accordingly.

• Repeat for each octet.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 15

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16

The following illustrates how to use the binary positional value table to convert decimal to binary.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18

Continue to evaluate the decimal until all positional values have been entered, which results in the equivalent binary value.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 21

See VIDEO DEMONSTRATION

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 22

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23

One portion of the 32 bit IPv4 address identifies the network, and another

portion identifies the host.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 25

• Comparing the IP Address and the Subnet Mask

• The 1s in the subnet mask identify the network portion while the 0s identify the host portion.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26

• Logical AND is the comparison of two bits.

• ANDing between the IP address and thesubnet mask yields the network address.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27

• Shorthand method of identifying a subnet mask.

• It is the number of bits set to 1 in the subnet mask.

• Written in “slash notation”, a “/” followed by the number of bits set to 1.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 30

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 32

See VIDEO DEMONSTRATION

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 33

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36

UnicastBroadcast

Multicast

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37

• Unicast communication is used for normal host-to-host communication.

• The unicast address applied to anend device is referred to as the hostaddress.

• The source address of any packet isalways the unicast address of theoriginating host.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 39

• A host sends a single packet to a selected set of hosts that subscribe to a multicast group.

• The 224.0.0.0 to 239.255.255.255 range of addresses are reserved for multicast.

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 40

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 41

Private Addresses:

• 10.0.0.0/8 or 10.0.0.0 to10.255.255.255

• 172.16.0.0 /12 or 172.16.0.0 to 172.31.255.255

• 192.168.0.0 /16 or 192.168.0.0 to 192.168.255.255

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42

• Loopback addresses127.0.0.0 /8 or 127.0.0.1 to 127.255.255.254

• Link-Local addresses or Automatic Private IP Addressing (APIPA) addresses169.254.0.0 /16 or169.254.0.1 to 169.254.255.254

• TEST-NET addresses192.0.2.0/24 or 192.0.2.0to 192.0.2.255

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44

• Formal name is Classless Inter-Domain Routing (CIDR, pronounced “cider”).

• Created a new set of standards that allowed service providers to allocate IPv4 addresses on any address bit boundary (prefix length) instead of only by a class A, B, or C address.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 45

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 46

Upon completion of this section, you should be able to:

• Explain the need for IPv6 addressing.

• Describe the representation of an IPv6 address.

• Describe types of IPv6 network addresses.

• Configure global unicast addresses.

• Describe multicast addresses.

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 47

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 48

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 49

• The migration techniques can be divided into three categories: Dual Tack, Tunneling, and Translation.

• Dual-stack allows IPv4 and IPv6 to coexist on the same network. Devices run both IPv4 and IPv6 protocol stacks simultaneously.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 50

• Tunneling is a method of transporting an IPv6 packet over an IPv4 network. The IPv6 packet is encapsulated inside an IPv4 packet.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 51

• Translation: Network Address Translation 64 (NAT64) allows IPv6-enabled devices to communicate with IPv4-enabled devices using a translation technique similar to NAT for IPv4. An IPv6 packet is translated to an IPv4 packet, and vice versa.

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 52

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 53

Hextets – 4 Hexadecimal digits = 16 binary digits

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 54

(cont.)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 55

(cont.)

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 56

Example 1

Example 2

Example 3

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 57

Example 1

Example 2

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 58

Example 3

Example 4

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 59

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 60

There are three types of IPv6 addresses:

• Unicast

• Multicast

• Anycast

Note: IPv6 does not have broadcast addresses.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 61

• IPv6 does not use the dotted-decimal subnet mask notation.

• Prefix length indicates the network portion of an IPv6 address using the following format:

o IPv6 address /prefix length

o Prefix length can range from 0 to 128

o Typical prefix length is /64

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 62

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 63

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 64

Uses of an IPv6 Link-local address

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 65

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 66

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 67

Reading a Global Unicast Address

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 68

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 69

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 70

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 71

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 72

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 73

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 74

EUI-64 Process

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 75

EUI-64 Process

Randomly Generated Interface ID

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 76

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 77

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 78

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 79

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 80

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 81

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 82

• IPv6 multicast addresses have the prefix FF00::/8.

• There are two types of IPv6 multicast addresses:

o Assigned multicast

o Solicited node multicast

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 83

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 84

Upon completion of this section, you should be able to:

• Explain how ICMP is used to test network connectivity.

• Use ping and traceroute utilities to test network connectivity.

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 85

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 86

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 87

• ICMP messages common to both ICMPv4 and ICMPv6 include:

o Host confirmation

o Destination or service unreachable

o Time exceeded

o Route redirection

• Although IP is not a reliable protocol, the TCP/IP suite provides for messages to be sent in the event of certain errors. They are sent using the services of ICMP.

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 88

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 89

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 90

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 91

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 92

Cisco Public© 2013 Cisco and/or its affiliates. All rights reserved. 93

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 94

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 95

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 96

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 97

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 98

Chapter Objectives:

• Explain the use of IPv4 addresses to provide connectivity in a small to medium-sized business network.

• Configure IPv6 addresses to provide connectivity in small to medium-sized business networks.

• Use common testing utilities to verify network connectivity.

Thank you.