Sie sind auf Seite 1von 22

Interconnecting Cisco Networking

Devices Part 1
ICND1 100-101

Instructor
Paul A. Parker

1
Chapter 30

Implementing IPv6 Addressing on Routers

2
Chapter 30
Foundation Topics
v Implementing Unicast IPv6 Addresses on Routers
▼ The migration to IPv6 will happen over time just like the
migration to IPv4
took time.
▼ One way to add
IPv6 support is to
implement a
dual-stack strategy.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 3


Chapter 30
Implementing Unicast IPv6 Addresses on Routers
v Static Unicast Address Configuration
▼ Cisco routers give us two options for static configuration of IPv6
addresses. In one case, you configure the full 128-bit address,
while in the other, you configure a 64-bit prefix, and let the
router derive the second half of the address (the interface ID).
▼ To statically configure the full 128-bit unicast address—either
global unicast or unique local—the router needs an ipv6
address address/prefix-length interface subcommand on each
interface. The address can be an abbreviated IPv6 address, or
the full 32-digit hex address. The command includes the prefix
length value, at the end, with no space between the address and
prefix length.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 4


Chapter 30
Implementing Unicast IPv6 Addresses on Routers
v Enabling IPv6 Routing
▼ Before routers can route (forward) IPv6 packets, IPv6 routing
must be enabled. On Cisco routers, IPv4 routing is enabled by
default, but IPv6 routing is not enabled by default. The solution
takes only a single command—ipv6 unicast-routing—which
enables IPv6 routing on the router.
v Verifying the IPv6 Address Configuration
▼ The show ipv6 interface brief command gives you interface
IPv6 address info, but not prefix length info, similar to the IPv4
show ip interface brief command.
▼ The show ipv6 interface command gives the details of IPv6
interface settings, much like the show ip interface command
does for IPv4.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 5


Chapter 30
Implementing Unicast IPv6 Addresses on Routers
v Generating an Unique Interface ID Using EUI-64
▼ This second method uses rules called EUI-64 (extended unique
identifier). The configuration includes the EUI-64 keyword to tell
the router to use EUI-64 rules, along with the 64-bit prefix as
follows:
➘  1. Split the 6-byte (12-hex-digit) MAC address in two halves (6 hex
digits each).
➘  2. Insert FFFE in between the two, making the interface ID now
have a total of 16 hex digits (64 bits).
➘  3. Invert the seventh bit of the interface ID.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 6


Chapter 30
Implementing Unicast IPv6 Addresses on Routers
v The bit being inverted for EUI-64 is called the universal/
local bit, with a value of 0 meaning that the MAC is a
universal burned-in address. All burned-in MAC addresses
should have a binary 0 in this bit position. Because
people seldom override their router MAC addresses, the
EUI-64 calculation will typically change the seventh bit
from a binary 0 to a binary 1.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 7


Chapter 30
Implementing Unicast IPv6 Addresses on Routers
v Configuring IPv6 Interfaces Using EUI-64

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 8


Chapter 30
Dynamic Unicast Address Configuration
v Cisco routers support two ways for the router interface to
dynamically learn an IPv6 address to use:
▼ Stateful DHCP
▼ Stateless Address Autoconfiguration (SLAAC)

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 9


Chapter 30
Special Addresses Used by Routers
v IPv6 configuration on a router begins with the ipv6
unicast-routing global configuration command, to
enable the function of IPv6 routing, then the addition of
a unicast IPv6 address on an interface causes the router
to do the following:
▼ Gives the interface a unicast IPv6 address
▼ Enables the routing of IPv6 packets in/out that interface
▼ Defines the IPv6 prefix (subnet) that exists off that interface
▼ Tells the router to add a connected IPv6 route for that prefix, to
the IPv6 routing table, when that interface is up/up

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 10


Chapter 30
Special Addresses Used by Routers
v Link-Local Addresses
▼ IPv6 uses link-local addresses as a special kind of unicast IPv6
address. These addresses are not used for normal IPv6 packet
flows that contain data for applications. Instead, these addresses
are used by some overhead protocols and for routing like the
Neighbor Discovery Protocol (NDP) which replaces IPv4’s ARP.
▼ Routers also use link-local addresses as the next-hop IP
addresses in IPv6 routes. IPv6 hosts also use a default router
(default gateway) concept, like IPv4, but instead of the router
address being in the same subnet, hosts refer to the router’s
link-local address. The show ipv6 route command lists the link-
local address of the neighboring router, and not the global
unicast or unique local unicast address.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 11


Chapter 30
Special Addresses Used by Routers
v Link-Local Addresses
▼ The following list summarizes the key facts about link-local
addresses:
➘  Unicast (not multicast): Link-local addresses represent a single
host, and packets sent to a link-local address should be processed
by only that one IPv6 host.
➘  Forwarding scope is the local link only: Packets sent to a link-
local address do not leave the local data link, because routers do not
forward packets with link-local destination addresses.
➘  Automatically generated: Every IPv6 host interface (and router
interface) can create their own link-local address automatically,
solving some initialization problems for hosts before they learn a
dynamically learned global unicast address.
➘  Common uses: Used for some overhead protocols that stay local to
one subnet, and as the next-hop address for IPv6 routes.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 12


Chapter 30
Special Addresses Used by Routers
v Creating Link-Local Addresses on Routers
▼ IPv6 hosts and routers can calculate their own link-local address,
for each interface, using some basic rules:
➘  First, all link-local addresses start with the same prefix. By definition,
the first 10 bits must match prefix FE80::/10, meaning that the first
three hex digits will be either FE8, FE9, FEA, or FEB.
➘  However, when following the RFC, the next 54 bits should be binary
0, so the link-local address should always start with
FE80:0000:0000:0000 as the first four unabbreviated quartets.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 13


Chapter 30
Special Addresses Used by Routers
v Creating Link-Local Addresses on Routers
▼ IOS can either automatically create the link-local address, or it
can be configured. IOS chooses the link-local address for the
interface based on the following rules:
➘  If configured, the router uses the value in the ipv6 address
address link-local interface subcommand. Note that the configured
link-local address must be from the correct address range for link-
local addresses, that is, an address from prefix FE80::/10. In other
words, the address must begin with FE8, FE9, FEA, or FEB.
➘  If not configured, the IOS calculates the link-local address using
EUI-64 rules. The calculation uses EUI-64 rules even if the interface
unicast address does not use EUI-64.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 14


Chapter 30
Special Addresses Used by Routers
v IPv6 Multicast Addresses
▼ The terms broadcast and multicast have subtle and slightly
different meanings. A broadcast goes to all devices, and all
devices must consider the message.
▼ Broadcasts can be wasteful of the CPU cycles on the hosts in a
subnet, because oftentimes, a broadcast is used to get a
response for only one host, or just a few hosts, in that subnet.
▼ Multicasts help solve that problem, by causing a packet to be
processed only by the correct subset of hosts. Because using
multicasts is more efficient for the devices in the network, IPv6
does not use broadcasts, instead using multicast addresses.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 15


Chapter 30
Special Addresses Used by Routers
v Key IPv6 Local-Scope Multicast Addresses

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 16


Chapter 30
Special Addresses Used by Routers
v Solicited Node Multicast Addresses
▼ The following list breaks down the concepts that effectively
define what the solicited-node multicast address is, for a
particular host:
➘  A multicast address (not a unicast address)
➘  Link-local scope
➘  Based on the unicast IPv6 address of the host
➘  Specifically based on the only last six hex digits of the unicast
address
➘  Each host must listen for packets sent to its solicited-node multicast
address
➘  All hosts whose unicast IPv6 addresses have the same value in the
last six hex digits use this same solicited node multicast address, and
process the same packets

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 17


Chapter 30
Special Addresses Used by Routers
v Solicited Node Multicast Addresses
▼ All the solicited-node multicast addresses begin with the
abbreviated FF02::1:FF. In the last 24 bits (6 hex digits), copy
the unicast address into the solicited-node address.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 18


Chapter 30
Special Addresses Used by Routers
v Miscellaneous IPv6 Addresses
▼ All IPv6 hosts can use two additional special addresses:
➘  The unknown (unspecified) IPv6 address, ::, or all 0s
➘  The loopback IPv6 address, ::1, or 127 binary 0s with a single 1
▼ The unknown address (::) can be used by a host when it’s own
IPv6 address is not yet known, or when the host wonders if its
own IPv6 address might have problems.
▼ The IPv6 loopback address gives each IPv6 host a way to test its
own protocol stack.

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 19


Chapter 30
Exam Preparation Tasks

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 20


Chapter 30
Command Reference
v Configuration Commands

v EXEC Commands

CCENT/CCNA ICND1 Interconnecting Cisco Networking Devices Part 1 21


Questions?

22

Das könnte Ihnen auch gefallen