Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

Similar documents
OSI Data Link & Network Layer

OSI Data Link & Network Layer

OSI Data Link & Network Layer

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT

IPv6 Protocol Architecture

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

IPv6 Feature Facts

Introduction to IPv6

Internet Network Protocols IPv4/ IPv6

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

Setup. Grab a vncviewer like: Or

Rocky Mountain IPv6 Summit April 9, 2008

Planning for Information Network

12.1. IPv6 Feature. The Internet Corporation for Assigned Names and Numbers (ICANN) assigns IPv6 addresses based on the following strategy:

TCP/IP Protocol Suite

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Configuring IPv6 for Gigabit Ethernet Interfaces

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Operation Manual IPv6 H3C S3610&S5510 Series Ethernet Switches Table of Contents. Table of Contents

Configuring IPv6. Information About IPv6. Send document comments to CHAPTER

IPv6 Addressing. The IPv6 Address Space. Chapter 3. At the end of this chapter, you should be able to do the following:

Transitioning to IPv6

Workshop on Scientific Applications for the Internet of Things (IoT) March

RSC Part II: Network Layer 3. IP addressing (2nd part)

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Internet Protocol v6.

Module 13. IPv6 Addressing

IPv6 Addressing. There are three types of IPV6 Addresses. Unicast:Multicast:Anycast

IPv6 Neighbor Discovery

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office

An IPv6 unicast address is an identifier for a single interface, on a single node. A packet that is sent to a unicast

CCENT Study Guide. Chapter 14 Internet Protocol Version 6 (IPv6)

Configuring IPv6 basics

Binary Octet to Decimal Format Conversion

Contents. 1. Introduction to IPv6 2. Basic concepts of IPv6 3. The Need for IPv6 4. Where we are with IPv6 5. Summary & Discussion. Asela Galappattige

Internet Addresses (You should read Chapter 4 in Forouzan)

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

Athanassios Liakopoulos

Lab Configuring IPv6 Static and Default Routes (Solution)

Ch.5 Internet Addressing 吳俊興 國立高雄大學資訊工程學系

Lab - Configuring IPv6 Addresses on Network Devices

IPv6. (Internet Protocol version 6)

IPv6 Neighbor Discovery

Advanced Computer Networking (ACN)

Networking and IP Addressing TELECOMMUNICATIONS AND NETWORKING

DNS, DHCP and Auto- Configuration. IPv6 Training Day 18 th September 2012 Philip Smith APNIC

Performance Comparison of Internet Protocol v4 with Internet Protocol v6

IPv6 migration challenges and Security

IPv6 Addressing. Design: Amir Mohammad Mohabbat

IPv4 32 bits, 4 octets separated by. (period) IPv6 128 bits, 8 groupings of 16 bits separated by : (colon)

TSIN02 - Internetworking

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

Step 2. Manual configuration of global unicast and link-local addresses

Chapter 4 Network Layer

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

MIGRATION OF INTERNET PROTOCOL V4 TO INTERNET PROTOCOL V6 USING DUAL-STACK TECHNIQUE

IPv6 Neighbor Discovery

Internet Routing Protocols, DHCP, and NAT

Table of Contents 1 IPv6 Basics Configuration 1-1

Guide to TCP/IP Fourth Edition. Chapter 6: Neighbor Discovery in IPv6

Top-Down Network Design

Introduc)on to IPv6. Administra)on de Réseaux Dino Lopez h<p://

Network Management. IPv6 Bootcamp. Zhiyi Huang University of Otago

Chapter 6 Addressing the Network- IPv4

IPv6 Neighbor Discovery

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

IPv6 Client IP Address Learning

Introduction to IPv6 - II

IPv6 Associated Protocols. Athanassios Liakopoulos 6DEPLOY IPv6 Training, Skopje, June 2011

IPv6 Protocols & Standards

IPv6 ND Configuration Example

New IP Header. Why change IP. Address Notation. Changes. Information Sources. IP Version 6 ITL

Information Sources Hans Kruse & Shawn Ostermann, Ohio University

Subnet Masks. Address Boundaries. Address Assignment. Host. Net. Host. Subnet Mask. Non-contiguous masks. To Administrator. Outside the network

Necessity to Migrate to IPv6

The OSI model of network communications

Integrated Security 22

Lecture 8 Network Layer: Logical addressing

Advanced Computer Networking. CYBR 230 Jeff Shafer University of the Pacific. IPv6

Internet Technology 3/23/2016

setting IP addresses copyright 2015 Robert Montante

Network Layer: Logical Addressing

Guide to TCP/IP Fourth Edition. Chapter 2: IP Addressing and Related Topics

Network Layer: Logical Addressing

Using IPv6. Daniel Hagerty

Networking Potpourri: Plug-n-Play, Next Gen

7th Slide Set Computer Networks

Lecture 7 Overview. IPv6 Source: Chapter 12 of Stevens book Chapter 31 of Comer s book

ODL Summit Bangalore - Nov 2016 IPv6 Design in OpenDaylight

IPv6 Next generation IP

Vendor: Cisco. Exam Code: Exam Name: Cisco Interconnecting Cisco Networking Devices Part 1 (ICND1 v3.0) Version: Demo

Information Sources Hans Kruse & Shawn Ostermann, Ohio University

Chapter 19 Network Layer: Logical Addressing 19.1

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

TCP/IP Protocol Suite and IP Addressing

Lecture Computer Networks

Transcription:

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 13

Chapter 7 - Sections & Objectives 7.1 IPv4 Network Addresses 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. 7.2 IPv6 Network Addresses 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. 7.3 Connectivity Verification Explain how ICMP is used to test network connectivity. Use ping and traceroute utilities to test network connectivity. CCENT v6 14

7.1 IPV4 NETWORK ADDRESSES CCENT v6 15

Binary Notation Binary notation refers to the fact that computers communicate in 1s and 0s Converting binary to decimal requires an understanding of the mathematical basis of a numbering system positional notation 1. 150 2. 227 3. 85 4. 193 5. 11001100 6. 01100110 7. 00010001 8. 10101100 10010110 11100011 01010101 11000001 204 102 17 172 CCENT v6 16

Converting from Decimal to Binary Conversions IPv4 has 32 bits, divided into 4 octets of 8 bits each (1 byte) separated with a dot CCENT v6 17

Network Portion and Host Portion of an IPv4 Address 1 Byte 8 Bits 1 Byte 8 Bits 1 Byte 8 Bits 1 Byte 8 Bits Class A N H H H Class B N N H H Class C N N N H The formulas are the default configuration for each class: N = Network Number - Assigned by the American Registry for Internet Numbers (ARIN) - Administrator has no control over this part of the address H = Host Number - Assigned and controlled by the network administrator CCENT v6 18

Network Portion and Host Portion of an IPv4 Address To define the network and host portions of an address, a devices use a separate 32-bit pattern called a subnet mask The subnet mask does not actually contain the network or host portion of an IPv4 address, it just says where to look for these portions in a given IPv4 address What is the prefix length? What is the network address? Broadcast Address? /24 192.168.10.0 192.168.10.255 Range of Valid Hosts? 192.168.10.1 192.168.10.254 CCENT v6 19

Network Portion and Host Portion of an IPv4 Address Valid Subnet Masks CCENT v6 20

Examining the Prefix Length Shorthand method of expressing the subnet mask Equals the number of bits in the subnet mask set to 1 Written in slash notation, / followed by the number of network bits Know how to convert the Prefix Length into the Subnet Mask CCENT v6 21

IPv4 Network, Host, and Broadcast Address Types of Addresses in Network 10.1.1.0/24 Network Address - host portion is all 0s (.00000000) First Host address - host portion is all 0s and ends with a 1 (.00000001) Last Host address - host portion is all 1s and ends with a 0 (.11111110) Broadcast Address - host portion is all 1s (.11111111) CCENT v6 22

Logical AND Operation 1 AND 1 = 1 1 AND 0 = 0 0 AND 1 = 0 0 AND 0 = 0 CCENT v6 23

Assigning a Static IPv4 Address to a Host Some devices like printers, servers and network devices require a fixed IP address Hosts in a small network can also be configured with static addresses LAN Interface Properties Configuring a Static IPv4 Address CCENT v6 24

Assigning a Dynamic IPv4 Address to a Host Dynamic Host Configuration Protocol DHCP - preferred method of leasing IPv4 addresses to hosts on large networks, reduces the burden on network support staff and virtually eliminates entry errors. Verification Question: The DHCP address pool is configured with 172.16.10.0/26. There are 4 servers on this network that need to use reserved static IP addresses from the pool. How many IP addresses in the pool are left to be assigned to other hosts? 58 CCENT v6 25

Types of IPv4 Address In an IPv4 network, the hosts can communicate one of three different ways: 1. Unicast - the process of sending a packet from one host to an individual host CCENT v6 26

Types of IPv4 Address 2. Broadcast - the process of sending a packet from one host to all hosts in the network A limited broadcast packet has a destination IP address of 255.255.255.255 A Directed broadcast sends a message to all hosts on its network All hosts within the 172.16.4.0/24 network Destination 172.16.4.255 Routers do not forward broadcasts Routers create broadcast domains CCENT v6 27

Types of IPv4 Address 3. Multicast - the process of sending a packet from one host to a selected group of hosts, possibly in different networks - Can be used by routers to exchange routing information - Reserved for addressing multicast groups on a local network 224.0.0.0 to 224.0.0.255 - Link local - 224.0.0.0 to 224.0.0.255 (Example: routing information exchanged by routing protocols) - Globally scoped addresses - 224.0.1.0 to 239.255.255.255 (Example: 224.0.1.1 has been reserved for Network Time Protocol) - Reduces traffic Which types of communication are the graphics on the right? Multicast CCENT v6 28

Private IPv4 Addresses Shared address space multiple networks may use the same IP addresses Intended only for use in service provider networks Private addresses are not routed over the Internet hosts that do not require access to the Internet Private address blocks: 10.0.0.0 to 10.255.255.255 (10.0.0.0/8) 172.16.0.0 to 172.31.255.255 (172.16.0.0/12) 192.168.0.0 to 192.168.255.255 (192.168.0.0/16) CCENT v6 29

Special Use IPv4 Addresses Network and Broadcast addresses - within each network the first and last addresses cannot be assigned to hosts Loopback address - 127.0.0.1 a special address that hosts use to direct traffic to themselves (addresses 127.0.0.0 to 127.255.255.254 are reserved) Link-Local address - 169.254.0.0 to 169.254.255.254 (169.254.0.0/16) addresses can be automatically assigned to the local host by Automatic Private IP Addressing (APIPA) TEST-NET addresses - 192.0.2.0 to 192.0.2.255 (192.0.2.0/24) set aside for teaching and learning purposes, used in documentation and network examples Experimental addresses - 240.0.0.0 to 255.255.255.254 are listed as reserved CCENT v6 30

Legacy Classful Addressing In 1981, Internet IPv4 addresses were assigned using classful addressing (RFC 790) Network addresses were based on 3 classes: Class A (0.0.0.0/8 to 127.0.0.0/8) Designed to support extremely large networks with more than 16 million host addresses Class B (128.0.0.0 /16 191.255.0.0 /16) Designed to support the needs of moderate to large size networks up to approximately 65,000 host addresses Class C (192.0.0.0 /24 223.255.255.0 /24) Designed to support small networks with a maximum of 254 hosts Subnets are all the same size Subnet mask is the same for all subnetworks Subnet mask is NOT sent as part of routing updates CCENT v6 31

Classless Addressing Classful Addressing wasted addresses and exhausted the availability of IPv4 addresses Classless Addressing Introduced in the 1990s 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 Subnets can be different sizes Subnet masks can be different for each subnetwork Subnet mask is sent as part of routing updates CCENT v6 32

Assignment of IP Addresses Regional Internet Registries (RIRs) The major registries are: American Registry for Internet Numbers (ARIN) North America. Réseaux IP Europeans (RIPE) Europe, the Middle East, and Central Asia Asia Pacific Network Information Centre (APNIC) - Asia and Pacific regions African Network Information Centre (AfriNIC) Africa Regional Latin-American and Caribbean IP Address Registry (LACNIC) Latin America and some Caribbean islands CCENT v6 33

Assignment of IP Addresses ISPs are large national or international ISPs that are directly connected to the Internet backbone. Tier 2 ISPs generally focus on business customers. Tier 3 ISPs often bundle Internet connectivity as a part of network and computer service contracts for their customers. Tier 3 ISPs purchase their Internet service from Tier 2 ISPs. CCENT v6 34

Know Your Address Match each description with an appropriate IP address: E H A I C G B F J D 1.A legacy Class A address 2.A legacy Class B address 3.A legacy Class C address 4.A legacy Class D address 5.An invalid IPv4 address 6.A Private address 7.A Loopback address 8.An experimental address 9.A TEST-NET address 10.A Link-Local address or APIPA A. 192.31.18.123 B. 127.0.0.1 C. 198.256.2.3 D. 169.254.1.5 E. 64.100.3.5 F. 242.56.6.1 G. 172.19.20.5 H. 128.107.5.1 I. 224.2.6.255 J. 192.0.2.123 CCENT v6 35

IPV6 NETWORK ADDRESSES CCENT v6 36

The Need for IPv6 IPv6 is designed to be the successor to IPv4 Internet of Everything Depletion of IPv4 address space has been the motivating factor for moving to IPv6 Projections show that all five RIRs will run out of IPv4 addresses soon With an increasing Internet population, a limited IPv4 address space, issues with NAT and an Internet of things, the time has come to begin the transition to IPv6! IPv4 has theoretical maximum of 4.3 billion addresses plus private addresses in combination with NAT IPv6 larger 128-bit address space providing for 340 undecillion addresses IPv6 fixes the limitations of IPv4 and include additional enhancements such as ICMPv6 Adds enhancement like address auto-configuration CCENT v6 37

IPv4 and IPv6 Coexistence The migration techniques can be divided into three categories: 1. Dual-stack: Allows IPv4 and IPv6 to coexist on the same network. Devices run both IPv4 and IPv6 protocol stacks simultaneously. CCENT v6 38

IPv4 and IPv6 Coexistence The migration techniques can be divided into three categories: 2. Tunneling: A method of transporting an IPv6 packet over an IPv4 network. The IPv6 packet is encapsulated inside an IPv4 packet. CCENT v6 39

IPv4 and IPv6 Coexistence The migration techniques can be divided into three categories: 3. 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. CCENT v6 40

Hexadecimal Number System IPv6 Address Representation x:x:x:x:x:x:x:x, where x represents 4 hexadecimal values Hexadecimal is a base sixteen system Base 16 numbering system uses the numbers 0 to 9 and the letters A to F Four bits (half of a byte or a nibble/nibble/nyble) can be represented with a single hexadecimal value Hextet - Term referring to a segment of 16 bits or four hexadecimal values CCENT v6 41

IPv6 Address Representation Look at the binary bit patterns that match the decimal and hexadecimal values CCENT v6 42

IPv6 Address Representation 128 bits in length and written as a string of hexadecimal values In IPv6, 4 bits represents a single hexadecimal digit, 32 hexadecimal values = IPv6 address 2001:0DB8:0000:1111:0000:0000:0000:0200 FE80:0000:0000:0000:0123:4567:89AB:CDEF Hextet used to refer to a segment of 16 bits or four hexadecimals Can be written in either lowercase or uppercase (depending on the system) Preferred format for IPv6 representation: CCENT v6 43

Rule 1- Omitting Leading 0s The first rule to help reduce the notation of IPv6 addresses is any leading 0s (zeros) in any 16-bit section or hextet can be omitted: 01AB can be represented as 1AB 09F0 can be represented as 9F0 0A00 can be represented as A00 00AB can be represented as AB CCENT v6 44

Rule 2- Omitting All 0 Segments A double colon (::) can replace any single, contiguous string of one or more 16-bit segments (hextets) consisting of all 0 s Double colon (::) can only be used once within an address otherwise the address will be ambiguous Known as the compressed format 2001:DB8:0:ACAD:0:0:0:1 can be represented as 2001:DB8:0:ACAD::1 FE80:0:0:0:0:0:0:0 can be represented as FE80:: 0:0:0:0:0:0:0:0 can be represented as :: Incorrect address - 2001:DB8::ACAD::1234 CCENT v6 45

IPv6 Prefix Length IPv6 does not use the dotted-decimal subnet mask notation Prefix length indicates the network portion of an IPv6 address using the following format: IPv6 address/prefix length Prefix length can range from 0 to 128 Typical prefix length is /64 CCENT v6 46

IPv6 Address Types There are three types of IPv6 addresses: Unicast- Single source IPv6 address Multicast - An IPv6 multicast address is used to send a single IPv6 packet to multiple destinations Anycast - An IPv6 anycast address is any IPv6 unicast address that can be assigned to multiple devices Note: IPv6 does not have broadcast addresses CCENT v6 47

IPv6 Unicast Addresses Uniquely identifies an interface on an IPv6-enabled device A packet sent to a unicast address is received by the interface that is assigned that address. Configured statically or assigned dynamically CCENT v6 48

Types of IPv6 Unicast Addresses Global unicast Similar to a public IPv4 address Globally unique Internet routable addresses Can be configured statically or assigned dynamically Link-local Used to communicate with other devices on the same local link only Confined to a single link - not routable beyond the link Device creates its own link local address without DHCP server Automatically assigned when IPv6 is enabled on an interface Are in the FE80::/10 range CCENT v6 49

Types of IPv6 Unicast Addresses Loopback Used by a host to send a packet to itself and cannot be assigned to a physical interface Ping an IPv6 loopback address to test the configuration of TCP/IP on the local host All-0s except for the last bit, represented as ::1/128 or just ::1 Unspecified address All-0 s address represented as ::/128 or just :: Cannot be assigned to an interface and is only used as a source address An unspecified address is used as a source address when the device does not yet have a permanent IPv6 address or when the source of the packet is irrelevant to the destination CCENT v6 50

Types of IPv6 Unicast Addresses Unique local Similar to private addresses for IPv4 Used for local addressing within a site or between a limited number of sites In the range of FC00::/7 to FDFF::/7 IPv4 embedded (not covered in this course) Used to help transition from IPv4 to IPv6 CCENT v6 51

IPv6 Link-Local Unicast Addresses Every IPv6-enabled network interface is REQUIRED to have a link-local address Enables a device to communicate with other IPv6-enabled devices on the same link and only on that link (subnet) FE80::/10 range, first 10 bits are 1111 1110 10xx xxxx 1111 1110 1000 0000 (FE80) - 1111 1110 1011 1111 (FEBF) CCENT v6 52

IPv6 Link-Local Unicast Addresses Packets with a source or destination link-local address cannot be routed beyond the link from where the packet originated CCENT v6 53

Structure of an IPv6 Global Unicast Address IPv6 global unicast addresses are globally unique and routable on the IPv6 Internet Equivalent to public IPv4 addresses ICANN allocates IPv6 address blocks to the five RIRs Currently, only global unicast addresses with the first three bits of 001 or 2000::/3 are being assigned Commonly see 2001::/3 CCENT v6 54

Structure of an IPv6 Global Unicast Address Currently, only global unicast addresses with the first three bits of 001 or 2000::/3 are being assigned Has three parts: Global Routing Prefix used to identify the network portion of the address that has been provided by an ISP and is typically /48 Subnet ID used to identify networks inside of the local enterprise or orgainzation Interface ID used to identify the local host on the network CCENT v6 55

Structure of an IPv6 Global Unicast Address Global Routing Prefix prefix or network portion of the address assigned by the provider, such as an ISP, to a customer or site, currently, RIR s assign a /48 global routing prefix to customers 2001:0DB8:ACAD::/48 has a prefix that indicates that the first 48 bits (2001:0DB8:ACAD) is the prefix or network portion CCENT v6 56

Structure of an IPv6 Global Unicast Address Subnet ID Used by an organization to identify subnets within its site Interface ID Equivalent to the host portion of an IPv4 address Used because a single host may have multiple interfaces, each having one or more IPv6 addresses Global Routing Prefix = 2001:0DB8:ACAD Subnet ID = 0001 Interface ID = 0000:0000:0000:0010 CCENT v6 57

Static Configuration of a Global Unicast Address Similar commands to IPv4, replace IPv4 with IPv6 Command to configure andipv6 global unicast on an interface is ipv6 address ipv6-address/prefix-length CCENT v6 58

Static Configuration of an IPv6 Global Unicast Address Host Configuration: Manually configuring the IPv6 address on a host is similar to configuring an IPv4 address - Default gateway address can be configured to match the link-local or global unicast address of the Gigabit Ethernet interface Dynamic assignment of IPv6 addresses: - Stateless Address Autoconfiguration (SLAAC) - Stateful DHCPv6 CCENT v6 59

Dynamic Configuration of a Global Unicast Address using SLAAC Stateless Address Autoconfiguraton (SLAAC) A method that allows a device to obtain its prefix, prefix length and default gateway from an IPv6 router No DHCPv6 server needed Rely on ICMPv6 Router Advertisement (RA) messages ICMPv6 RA messages sent every 200 seconds to all IPv6-enabled devices on the network ICMPv6 supports Stateless Address Autoconfiguration (SLAAC) for dynamic assignment of IPv6 addresses to a host IPv6 routers Forwards IPv6 packets between networks Can be configured with static routes or a dynamic IPv6 routing protocol Sends ICMPv6 RA messages Option 1: (SLAAC Only) "I'm everything you need (Prefix, Prefix-length, Default Gateway)" Option 2: (SLAAC and DHCPv6) "Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server." Option 3: (DHCPv6 Only) "I can t help you. Ask a DHCPv6 server for all your information." CCENT v6 60

Dynamic Configuration of a Global Unicast Address using SLAAC Command IPv6 unicast-routing enables IPv6 routing RA message can contain one of the following three options: SLAAC Only use the information contained in the RA message (default) SLAAC and DHCPv6 use the information contained in the RA message and get other information from the DHCPv6 server, stateless DHCPv6 (example: DNS) DHCPv6 only device should not use the information in the RA, stateful DHCPv6 Routers send ICMPv6 RA messages using the link-local address as the source IPv6 address CCENT v6 61

Commands to enable IPv6 forwarding and interface addressing Router> enable Router# configure terminal Router(config)# ipv6 unicast-routing Router(config)# interface fastethernet 0/0 Router(config-if)# ipv6 address 2001:db8:bced:1::9/64 Router(config-if)# no shutdown Router(config-if)# exit CCENT v6 62

Dynamic Configuration of a Global Unicast Address using SLAAC CCENT v6 63

Dynamic Configuration of a Global Unicast Address using DHCPv6 Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Similar to IPv4 Automatically receive addressing information including a global unicast address, prefix length, default gateway address and the addresses of DNS servers using the services of a DHCPv6 server Device may receive all or some of its IPv6 addressing information from a DHCPv6 server depending upon whether option 2 (SLAAC and DHCPv6) or option 3 (DHCPv6 only) is specified in the ICMPv6 RA message Host may choose to ignore whatever is in the router s RA message and obtain its IPv6 address and other information directly from a DHCPv6 server. CCENT v6 64

Dynamic Configuration of a Global Unicast Address using DHCPv6 CCENT v6 65

EUI-64 Process or Randomly Generated When the RA message is SLAAC or SLAAC with stateless DHCPv6, the client must generate its own Interface ID The Interface ID can be created using the EUI-64 process or a randomly generated 64-bit number EUI-64 Process Process uses a client s 48-bit Ethernet MAC address, and inserts another 16 bits in the middle of the 46-bit MAC address to create a 64-bit Interface ID Advantage is Ethernet MAC address can be used to determine the Interface easily tracked EUI-64 Interface ID is represented in binary and is made up of three parts: 24-bit OUI from the client MAC address, but the 7th bit (the Universally/Locally bit) is reversed (0 becomes a 1) Inserted 16-bit value FFFE 24-bit device identifier from the client MAC address Command: Router(config-if)# ipv6 address 2001:DB8:ACAD:1::/64 eui-64 CCENT v6 66

EUI-64 Process or Randomly Generated CCENT v6 67

EUI-64 Process or Randomly Generated Randomly Generated Interface IDs Depending upon the operating system, a device may use a randomly generated Interface ID instead of using the MAC address and the EUI-64 process Beginning with Windows Vista, Windows uses a randomly generated Interface ID instead of one created with EUI-64 Windows XP and previous Windows operating systems used EUI-64 CCENT v6 68

Dynamic Link-local Addresses Link-local address can be established dynamically or configured manually Cisco IOS routers use EUI-64 to generate the Interface ID for all link-local address on IPv6 interfaces Drawback to using the dynamically assigned link-local address is the long interface ID, therefore they are often configured statically After a global unicast address is assigned to an interface, IPv6-enabled device automatically generates its link-local address Must have a link-local address which enables a device to communicate with other IPv6- enabled devices on the same subnet Uses the link-local address of the local router for its default gateway IPv6 address Routers exchange dynamic routing protocol messages using link-local addresses Routers routing tables use the link-local address to identify the next-hop router when forwarding IPv6 packets CCENT v6 69

Dynamic Link-local Addresses Dynamically Assigned Link-local address is dynamically created using the FE80::/10 prefix and the Interface ID CCENT v6 70

Static Link-local Addresses Manual configuration of the link-local address allows the creation of a simple, easy to remember address CCENT v6 71

Verifying IPv6 Address Configuration Each interface has as least two IPv6 addresses: 1.Global unicast address that was configured 2.Link-local One that begins with FE80 is automatically added link-local unicast address The commands to verify IPv6 configuration are similar to IPv4: show ipv6 interface brief show ipv6 route The ping command for IPv6 is identical to the command used with IPv4, except that an IPv6 address is used CCENT v6 72

Assigned IPv6 Multicast Addresses IPv6 multicast addresses have the prefix FFxx::/8 There are two types of IPv6 multicast addresses: Assigned multicast - reserved multicast addresses for predefined groups of devices Solicited node multicast CCENT v6 73

Assigned IPv6 Multicast Addresses Two common IPv6 assigned multicast groups include: FF02::1 All-nodes multicast group - all IPv6-enabled devices (nodes) on the local link - same effect as an IPv4 broadcast address FF02::2 All-routers multicast group - all IPv6 routers join - a router becomes a member of this group when it is enabled as an IPv6 router with the ipv6 unicast-routing global configuration command - a packet sent to this group is received and processed by all IPv6 routers on the link or network. CCENT v6 74

Solicited Node IPv6 Multicast Addresses Mapped to a special Ethernet multicast address Similar to the all-nodes multicast address, matches only the last 24 bits of the IPv6 global unicast address of a device Used by the source host in the Neighbor Solicitation (NS) message to discover the MAC address of an intended IPv6 destination Automatically created when the global unicast or link-local unicast addresses are assigned Created by combining a special FF02:0:0:0:0:FF00::/104 prefix with the right-most 24 bits of its unicast address Allows Ethernet NIC to filter frame on destination MAC CCENT v6 75

Solicited Node IPv6 Multicast Addresses The solicited node multicast address consists of two parts: FF02:0:0:0:0:FF00::/104 multicast prefix - first 104 bits of the all solicited node multicast address Least significant 24-bits copied from the right-most 24 bits of the global unicast or linklocal unicast address of the device CCENT v6 76

CONNECTIVITY VERIFICATION CCENT v6 77

ICMPv4 and ICMPv6 Messages Used to provide feedback of IP packet transmissions ICMP messages common to both ICMPv4 and ICMPv6 include: Host confirmation Destination or Service Unreachable Time exceeded Route redirection Although IP is not a reliable protocol, the TCP/IP suite does provide for messages to be sent in the event of certain errors, sent using the services of ICMP The Hop Limit field is used to determine that a packet has expired CCENT v6 78

ICMPv6 Router Solicitation and Router Advertisement Messages ICMPv6 includes four new protocols as part of the Neighbor Discovery Protocol (ND or NDP): Router Solicitation and Router Advertisement Message: Sent between hosts and routers. - Router Solicitation (RS) message: RS message is sent as an IPv6 all-routers multicast message - Router Advertisement (RA) message: RA messages are sent by routers to provide addressing information CCENT v6 79

ICMPv6 Router Solicitation and Router Advertisement Messages CCENT v6 80

ICMPv6 Neighbor Solicitation and Neighbor Advertisement Messages ICMPv6 includes four new protocols as part of the Neighbor Discovery Protocol (ND or NDP): Neighbor Solicitation (NS) Neighbor Advertisement (NA) messages Used for: - Address resolution o Used when a device on the LAN knows the IPv6 unicast address of a destination but does not know its Ethernet MAC address - Duplicate Address Detection (DAD) o Performed on the address to ensure that it is unique o The device will send a NS message with its own IPv6 address as the targeted IPv6 address CCENT v6 81

ICMPv6 Neighbor Solicitation and Neighbor Advertisement Messages CCENT v6 82

Ping Testing Connectivity to the Local LAN Testing Connectivity to Remote The average time it takes a packet to reach the destination and for the response to return to the source Whether or not the destination device is reachable through the network Will receive an Unreachable message when the value in the TTL field is achieved Ping -4 force IPv4 ping Ping -6 force IPv6 ping CCENT v6 83

Ping - Testing the Local Stack A successful ping to the 127.0.0.1 (IPv4) or ::1 (IPv6) address indicates that the IP is properly installed on the host ping 127.0.0.1 #1 ping 192.168.1.2 #2 CCENT v6 84

Ping Testing Connectivity to the Local LAN (Default Gateway) Use ping to test the ability of a host to communicate on the local network #3 CCENT v6 85

Ping Testing Connectivity to Remote #4 CCENT v6 86

Traceroute Testing the Path Traceroute (tracert) Generates a list of hops that were successfully reached along the path Shows the Round Trip Time (RTT) a packet took to reach the device and return Provides important verification and troubleshooting information If the data reaches the destination, then the trace lists the interface of every router in the path between the hosts If the data fails at some hop along the way, the address of the last router that responded to the trace can provide an indication of where the problem or security restrictions are found Provides round trip time for each hop along the path and indicates if a hop fails to respond A router will drop a traceroute packet when the value in the Time To Live (TTL) field reaches zero Asterisk (*) is used to indicate a lost packet CCENT v6 87

CHAPTER TERMS CCENT v6 88

Section 7.1 Terms and Commands ANDing Binary Numbering System Broadcast Broadcast Address Broadcast Domain Class A Class B Class C Class D Class E Classless Inter-domain Routing (CIDR) DHCP Server DHCP Client Dynamic Assignment Directed Broadcast Dotted Decimal Format Dynamic Host Configuration Protocol (DHCP) Host Address Internet Assigned Numbers Authority (IANA) Internet Service Providers (ISPs) IPv4 Loopback Address Limited Broadcast Link-local Addresses Multicast Transmission Multicast Multicast Addresses Network Address Octet Positional Notation Prefix Length Private Address Public Address radix Regional Internet Registries (RIRs) RFC 1918 Slash Notation Static IP Addressing Subnet Mask TEST-NET Addresses Unicast CCENT v6 89

Section 7.2 Terms and Commands Address Resolution Assigned multicast Destination or Service Unreachable Dual-stack Duplicate Address Detection EUI-64 Process FF02::1 All-nodes multicast group FF02::2 All-routers multicast group Global Unicast Address Hextet Host confirmation ICMPv6 IPv4 Time-to-Live (TTL) IPv6 IPv6 Anycast IPv6 Hop Limit IPv6 link-local address IPv6 Loopback Address IPv6 Multicast IPv6 Prefix Length IPv6 Unicast Leading Zeros Link-local Address Network Address Translation (NAT64) Round Trip Time (RTT) Route redirection Router Advertisement Router Solicitation show ipv6 interface brief show ipv6 route Solicited node multicast Stateless Address Autoconfiguration (SLAAC) Time exceeded Tunneling Unique Local Address Unspecified Address CCENT v6 90

CCENT v6 91