ca ex s4 c7 ip addressing services
DESCRIPTION
TRANSCRIPT
![Page 1: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/1.jpg)
CCNA – Semester 4
Chapter 7: IP Addressing Services
CCNA Exploration 4.0
![Page 2: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/2.jpg)
2
Objectives
![Page 3: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/3.jpg)
3
DHCP
![Page 4: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/4.jpg)
4
Introducing DHCP
• Every device that connects to a network needs an IP
address.
• Network administrators assign static IP addresses to routers,
servers, and other network devices whose locations
(physical and logical) are not likely to change.
• Network devices that are added, moved or changed
(physical and logical) need new addresses. Manual
configuration is unwieldy dynamic configuration.
• DHCP assigns IP addresses and other important network
configuration information dynamically.
• DHCP is an extremely useful and timesaving tool for network
administrators.
• Cisco router can be configured to provide DHCP services,
called Easy IP.
![Page 5: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/5.jpg)
5
DHCP Operation
• DHCP automatically dynamically assigns, or leases, an IP
address from a pool of addresses for a limited period of time
chosen by the server, or until the client tells the DHCP server
that it no longer needs the address.
• DHCP works in a client/server mode.
![Page 6: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/6.jpg)
6
BOOTP and DHCP
• The Bootstrap Protocol (BOOTP), defined in RFC 951, is the
predecessor of DHCP and shares some operational
characteristics.
• Both DHCP and BOOTP are client/server based and use
UDP ports 67 and 68.
![Page 7: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/7.jpg)
7
DHCP Message Format
![Page 8: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/8.jpg)
8
DHCP Discovery and Offer Methods
![Page 9: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/9.jpg)
9
DHCP Discovery and Offer Methods
![Page 10: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/10.jpg)
10
Configuring a DHCP Server
• Step 1. Define a range of addresses that DHCP is not to
allocate.
• Step 2. Create the DHCP pool
![Page 11: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/11.jpg)
11
Configuring a DHCP Server
• Step 3. Configure the specifics of the pool.
![Page 12: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/12.jpg)
12
Configuring a DHCP Server
• Example:
• Disabling DHCP:
– use the no service dhcp command.
![Page 13: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/13.jpg)
13
Verifying DHCP
![Page 14: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/14.jpg)
14
Verifying DHCP
![Page 15: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/15.jpg)
15
Verifying DHCP
![Page 16: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/16.jpg)
16
Configuring a DHCP Client
![Page 17: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/17.jpg)
17
Configuring a DHCP Client
![Page 18: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/18.jpg)
18
DHCP Relay
• DHCP Problem
![Page 19: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/19.jpg)
19
DHCP Relay
![Page 20: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/20.jpg)
20
Helper address configuration that relays broadcasts to all servers on the
segment.
RTA(config)#interface e0
RTA(config-if)#ip helper-address 172.24.1.255
But will RTA forward the broadcast?
Broadcast Broadcast
DHCP Relay
![Page 21: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/21.jpg)
21
Directed Broadcast
• Notice that the RTA interface e3, which connects to the server farm, is not
configured with helper addresses.
• However, the output shows that for this interface, directed broadcast
forwarding is disabled.
• This means that the router will not convert the logical broadcast 172.24.1.255
into a physical broadcast with a Layer 2 address of FF-FF-FF-FF-FF-FF.
• To allow all the nodes in the server farm to receive the broadcasts at Layer 2,
e3 will need to be configured to forward directed broadcasts with the following
command:
RTA(config)#interface e3
RTA(config-if)#ip directed-broadcast
![Page 22: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/22.jpg)
22
Helper address configuration that relays broadcasts to all servers on the segment.
RTA(config)#interface e0
RTA(config-if)#ip helper-address 172.24.1.255
RTA(config)#interface e3
RTA(config-if)#ip directed-broadcast
L3 Broadcast L2 Broadcast
DHCP Relay
![Page 23: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/23.jpg)
23
• By default, the ip helper-address command forwards the
following eight UDP services:
– Port 37: Time
– Port 49: TACACS
– Port 53: DNS
– Port 67: DHCP/BOOTP client
– Port 68: DHCP/BOOTP server
– Port 69: TFTP
– Port 137: NetBIOS name service
– Port 138: NetBIOS datagram service
• To specify additional ports, use the ip forward-protocol
command to specify exactly which types of broadcast
packets to forward.
DHCP Relay
![Page 24: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/24.jpg)
24
Configuring a DHCP Server Using SDM
![Page 25: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/25.jpg)
25
Configuring a DHCP Server Using SDM
• Add a DHCP
Pool
![Page 26: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/26.jpg)
26
Configuring a DHCP Server Using SDM
![Page 27: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/27.jpg)
27
Troubleshooting DHCP
• The show ip dhcp conflict command displays all address
conflicts recorded by the DHCP server.
• Use the show interface interface_name command
![Page 28: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/28.jpg)
28
Troubleshooting DHCP
• Step 1. Verify that the ip helper-address command is
configured on the correct interface.
• Step 2. Verify that the global configuration command no
service dhcp has not been configured.
![Page 29: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/29.jpg)
29
Troubleshooting DHCP
• Uses debug command:
– debug ip packet detail 100
– debug ip dhcp server packet
– debug ip dhcp server events
Activity 7.1.8.4
![Page 30: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/30.jpg)
30
Scaling Networks with NAT
![Page 31: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/31.jpg)
31
Private and Public Addressing
![Page 32: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/32.jpg)
32
What is NAT?
![Page 33: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/33.jpg)
33
What is NAT?
• Inside local address - Usually not an IP address assigned by a RIR or service provider and is most likely an RFC 1918 private address.
• Inside global address - Valid public address that the inside host is given when it exits the NAT router.
• Outside global address - Reachable IP address assigned to a host on the Internet.
• Outside local address - The local IP address assigned to a host on the outside network. In most situations, this address will be identical to the outside global address of that outside device.
![Page 34: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/34.jpg)
34
How Does NAT Work?
![Page 35: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/35.jpg)
35
How Does NAT Work?
• There are two types of NAT translation: dynamic and static.
• Dynamic NAT uses a pool of public addresses and assigns them on a first-come, first-served basis. When a host with a private IP address requests access to the Internet, dynamic NAT chooses an IP address from the pool that is not already in use by another host.
• Static NAT uses a one-to-one mapping of local and global addresses, and these mappings remain constant. Static NAT is particularly useful for web servers or hosts that must have a consistent address that is accessible from the Internet. These internal hosts may be enterprise servers or networking devices.
• Both static and dynamic NAT require that enough public addresses are available to satisfy the total number of simultaneous user sessions.
![Page 36: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/36.jpg)
36
NAT Overload or PAT
![Page 37: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/37.jpg)
37
Differences Between NAT and NAT Overload
• NAT generally only translates IP addresses on a 1:1
correspondence between publicly exposed IP addresses and
privately held IP addresses. NAT overload modifies both the
private IP address and port number of the sender. NAT
overload chooses the port numbers seen by hosts on the
public network.
• NAT routes incoming packets to their inside destination by
referring to the incoming source IP address given by the host
on the public network. With NAT overload, there is generally
only one or a very few publicly exposed IP addresses.
Incoming packets from the public network are routed to their
destinations on the private network by referring to a table in
the NAT overload device that tracks public and private port
pairs. This is called connection tracking.
![Page 38: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/38.jpg)
38
Benefits and Drawbacks of Using NAT
![Page 39: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/39.jpg)
39
Configuring Static NAT
![Page 40: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/40.jpg)
40
Configuring Static NAT: Example
![Page 41: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/41.jpg)
41
Configuring Dynamic NAT
![Page 42: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/42.jpg)
42
Configuring Dynamic NAT: Example
![Page 43: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/43.jpg)
43
Configuring NAT Overload
• Configuring NAT Overload for a Single Public IP Address
![Page 44: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/44.jpg)
44
Configuring NAT Overload: Example
![Page 45: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/45.jpg)
45
Configuring NAT Overload
• Configuring NAT Overload for a Pool of Public IP Addresses
![Page 46: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/46.jpg)
46
Configuring NAT Overload: Example
![Page 47: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/47.jpg)
47
Port Forwarding
• Port forwarding (sometimes referred to as tunneling) is the
act of forwarding a network port from one network node to
another. This technique can allow an external user to reach
a port on a private IP address (inside a LAN) from the
outside through a NAT-enabled router.
![Page 48: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/48.jpg)
48
Port Forwarding: Example
![Page 49: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/49.jpg)
49
Verifying NAT and NAT Overload
![Page 50: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/50.jpg)
50
Verifying NAT and NAT Overload
![Page 51: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/51.jpg)
51
Troubleshooting NAT and NAT Overload
Configuration
• Steps to verify that NAT is operating as expected:
• Step 1. Based on the configuration, clearly define what NAT
is supposed to achieve. This may reveal a problem with the
configuration.
• Step 2. Verify that correct translations exist in the translation
table using the show ip nat translations command.
• Step 3. Use the clear and debug commands to verify that
NAT is operating as expected. Check to see if dynamic
entries are recreated after they are cleared.
• Step 4. Review in detail what is happening to the packet,
and verify that routers have the correct routing information to
move the packet.
![Page 52: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/52.jpg)
52
Troubleshooting NAT and NAT Overload
Configuration
Activity 7.2.8.3
![Page 53: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/53.jpg)
53
IPv6
![Page 54: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/54.jpg)
54
Reasons for Using IPv6
• Assigned IPv4 Address Blocks
![Page 55: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/55.jpg)
55
Reasons for Using IPv6
• Assigned IPv4 Address Blocks
![Page 56: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/56.jpg)
56
Reasons for Using IPv6
• Assigned IPv4 Address Blocks
![Page 57: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/57.jpg)
57
Reasons for Using IPv6
• Shrinking IPv4 Address Space
![Page 58: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/58.jpg)
5858
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
1980 1985 1990 1995 2000 2005 2010
IP Address Allocation History
In 1981, IPv4 Protocol was published. In 1985, about 1/16 of the total IPv4 address space was in use. By mid-2001, about 2/3 of the total IPv4 address space was in use.
![Page 59: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/59.jpg)
59
Why Do We Need a Larger Address Space?
• Population growth
– Approximately 973 million users in November 2005
– Emerging population and geopolitical and address space
• Mobile users
– PDA, pen-tablet, notepad, and so on
– Approximately 20 million in 2004
• Transportation
– 1 billion automobiles forecast for 2008
– Internet access in planes – Example: Lufthansa
• Consumer electronics
– The newest home appliances allow remote monitoring
using IP technology.
![Page 60: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/60.jpg)
60
Reasons for Using IPv6
• Movement to change from IPv4 to IPv6 has already begun,
particularly in Europe, Japan, and the Asia-Pacific region.
![Page 61: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/61.jpg)
61
IPv6 Enhancements
• Enhanced IP addressing:
– Global reachability and flexibility
– Aggregation
– Multihoming
– Autoconfiguration
– Plug-and-play
– End-to-end without NAT
– Renumbering
• Mobility and security:
– Mobile IP RFC-compliant
– IPsec mandatory (or native) for IPv6
![Page 62: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/62.jpg)
62
IPv6 Enhancements
• Simple header:
– Routing efficiency
– Performance and forwarding rate scalability
– No broadcasts
– No checksums
– Extension headers
– Flow labels
• Transition richness:
– Dual-stack
– 6to4 and manual tunnels
– Translation
![Page 63: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/63.jpg)
6363
IPv4 and IPv6 Header Comparison
![Page 64: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/64.jpg)
64
IPv6 Address Representation
• x:x:x:x:x:x:x:x, where x is a 16-bit hexadecimal field
• Case-insensitive for hexadecimal A, B, C, D, E, and F
• Leading zeros in a field are optional
• Successive fields of zeros can be represented as :: only
once per address
• Examples:
• 2031:0000:130F:0000:0000:09C0:876A:130B
– Can be represented as 2031:0:130f::9c0:876a:130b
– Cannot be represented as 2031::130f::9c0:876a:130b
• FF01:0:0:0:0:0:0:1 FF01::1
• 0:0:0:0:0:0:0:1 ::1
• 0:0:0:0:0:0:0:0 ::
![Page 65: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/65.jpg)
65
IPv6 Addressing
• IPv6 Global Unicast Address
• Reserved Addresses
• Private Addresses
• Loopback Address
• Unspecified Address
![Page 66: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/66.jpg)
66
IPv6 Addressing
• IPv6 Global Unicast Address
– Enables aggregation upward eventually to the ISP
– Consists of a 48-bit global routing prefix and a 16-bit
subnet ID.
– Assigned by the IANA uses the range of addresses that
start with binary value 001 (2000::/3), which is 1/8 of the
total IPv6 address space and is the largest block of
assigned addresses.
– The IANA is allocating the IPv6 address space in the
ranges of 2001::/16 to the five RIR registries (ARIN,
RIPE, APNIC, LACNIC, and AfriNIC).
![Page 67: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/67.jpg)
67
IPv6 Addressing
• Reserved Addresses
– The IETF reserves a portion of the IPv6 address space
for various uses, both present and future. Reserved
addresses represent 1/256th of the total IPv6 address
space. Some of the other types of IPv6 addresses come
from this block.
• Private Addresses
– Local only to a particular link or site, and never routed
outside of a particular company network.
– Have a first octet value of "FE" in hexadecimal notation,
with the next hexadecimal digit being a value from 8 to F.
![Page 68: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/68.jpg)
68
IPv6 Addressing: Private Addresses
Two types:
• Site-local addresses:
– Similar to the RFC 1918 in IPv4.
– The scope is an entire site or organization. However, the
use of site-local addresses is problematic and is being
deprecated as of 2003 by RFC 3879.
– In hexadecimal, site-local addresses begin with "FEC",
"FED", "FEE", or "FEF".
• Link-local addresses
– Have a smaller scope than site-local addresses; they
refer only to a particular physical link (physical network).
– Link-local addresses begin with "FE8", "FE9", "FEA", or
"FEB"
![Page 69: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/69.jpg)
69
IPv6 Addressing
• Loopback Address:
– Address for testing; datagrams sent to this address "loop
back" to the sending device.
– Is 0:0:0:0:0:0:0:1 ::1
• Unspecified Address:
– The all-zeroes address is named the "unspecified"
address.
– It is typically used in the source field of a datagram that is
sent by a device that seeks to have its IP address
configured.
– Is 0:0:0:0:0:0:0:0 ::
![Page 70: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/70.jpg)
70
IPv6 Address Management
• IPv6 addresses use interface identifiers to identify interfaces
on a link. Think of them as the host portion of an IPv6
address.
• Interface identifiers are required to be unique on a specific
link.
• Interface identifiers are always 64 bits and can be
dynamically derived from a Layer 2 address (MAC).
• You can assign an IPv6 address ID statically or dynamically:
– Static assignment using a manual interface ID
– Static assignment using an EUI-64 interface ID
– Stateless autoconfiguration
– DHCP for IPv6 (DHCPv6)
![Page 71: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/71.jpg)
71
IPv6 Address Management
• Manual Interface ID Assignment
– Use the ipv6 address ipv6-address/prefix-length
command in interface configuration mode.
RouterX(config-if)#ipv6 address 2001:DB8:2222:7272::72/64
• EUI-64 Interface ID Assignment
– Use the ipv6 address ipv6-prefix/prefix-length eui-64
command
RouterX(config-if)#ipv6 address 2001:DB8:2222:7272::/64 eui-64
![Page 72: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/72.jpg)
72
IPv6 Address Management
• Stateless Autoconfiguration
– Autoconfiguration automatically configures the IPv6 address. In
IPv6, it is assumed that non-PC devices, as well as computer
terminals, will be connected to the network. The
autoconfiguration mechanism was introduced to enable plug-
and-play networking of these devices to help reduce
administration overhead.
• DHCPv6 (Stateful)
– DHCPv6 enables DHCP servers to pass configuration
parameters, such as IPv6 network addresses, to IPv6 nodes. It
offers the capability of automatic allocation of reusable network
addresses and additional configuration flexibility. This protocol
is a stateful counterpart to IPv6 stateless address
autoconfiguration (RFC 2462), and can be used separately or
concurrently with IPv6 stateless address autoconfiguration to
obtain configuration parameters.
![Page 73: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/73.jpg)
73
IPv6 Transition Strategies
![Page 74: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/74.jpg)
74
Cisco IOS Dual Stack
• An integration method that allows a node to have
connectivity to an IPv4 and IPv6 network simultaneously.
• Each node has two protocol stacks with the configuration on
the same interface or on multiple interfaces.
![Page 75: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/75.jpg)
75
Cisco IOS Dual Stack
• A dual-stack node chooses which stack to use based on the
destination address of the packet.
• New and modified applications take advantage of both IP
layers.
• A new application programming interface (API) has been
defined to support IPv4 and IPv6 addresses and DNS
requests.
• Cisco IOS Release 12.2(2)T and later (with the appropriate
feature set) are IPv6-ready.
![Page 76: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/76.jpg)
76
IPv6 Tunneling
• Tunneling is an integration method in which an IPv6 packet
is encapsulated within another protocol, such as IPv4. This
method of encapsulation is IPv4:
– Includes a 20-byte IPv4 header with no options and an
IPv6 header and payload
– Requires dual-stack routers
![Page 77: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/77.jpg)
77
Manually Configured IPv6 Tunnel
• Configured tunnels require:
– Dual-stack endpoints
– IPv4 and IPv6 addresses configured at each end
![Page 78: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/78.jpg)
78
Routing Considerations with IPv6
• IPv6 uses longest prefix match routing.
• An ISP aggregates all of the prefixes of its customers into a
single prefix and announces the single prefix to the IPv6
Internet.
• Conceptually, a router has three functional areas:
– The control plane: handles the interaction of the router
with the other network elements, providing the information
needed to make decisions and control the overall router
operation.
– The data plane: handles packet forwarding from one
physical or logical interface to another.
– Enhanced services: include advanced features applied
when forwarding data
![Page 79: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/79.jpg)
79
Routing Considerations with IPv6
![Page 80: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/80.jpg)
80
Routing Considerations with IPv6
• RIPNg Routing Protocol
![Page 81: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/81.jpg)
81
Configuring IPv6 Addresses
• Enabling IPv6 on Cisco Routers: 2 steps
– Activate IPv6 traffic-forwarding on the router
– Configure each interface that requires IPv6.
• By default, IPv6 traffic-forwarding is disabled on a Cisco
router.
• Use the global command ipv6 unicast-routing to activate
IPv6 routing.
• Use the ipv6 address command to configure a global IPv6
address.
![Page 82: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/82.jpg)
82
IPv6 Address Configuration Example
![Page 83: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/83.jpg)
83
Cisco IOS IPv6 Name Resolution
• Define a static name for an IPv6 address using the ipv6
host name [port] ipv6-address1 [ipv6-address2...ipv6-
address4] command.
• Specify the DNS server used by the router with the ip name-
server address command. The address can be an IPv4 or
IPv6 address. You can specify up to six DNS servers with
this command.
![Page 84: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/84.jpg)
84
Configure RIPng with IPv6
• Before configuring the router to run IPv6 RIP, globally enable
IPv6 using the ipv6 unicast-routing global configuration
command, and enable IPv6 on any interfaces on which IPv6
RIP is to be enabled.
![Page 85: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/85.jpg)
85
Configure RIPng with IPv6: Example
![Page 86: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/86.jpg)
86
Verifying RIPng for IPv6
![Page 87: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/87.jpg)
87
Troubleshooting RIPng for IPv6
• Activity 7.3.9.2
![Page 88: Ca Ex S4 C7 Ip Addressing Services](https://reader033.vdocuments.site/reader033/viewer/2022061120/546c4c87b4af9f842c8b504e/html5/thumbnails/88.jpg)
88
Summary