Академический Документы
Профессиональный Документы
Культура Документы
Chapter 8
IPv6
w w w .h a n o ic tt.c o m
Objects
• Upon completion of this module, the student will be able tp perform
task following:
– Explaining IPv6
– IPv6 Addressing
– Dynamic IPv6 Addressing
– IPv6 Routing
– Implementing and Verifying OSPFv3
– Using IPv6 and IPv4
– IPv6 Lab Exercises
w w w .h a n o ic tt.c o m
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Explaining IPv6
w w w .h a n o ic tt.c o m
IPv4
• 32 bits or 4 bytes long
–~
= 4,200,000,000 possible addressable nodes
IPv6
• 128 bits or 16 bytes: four times the bits of IPv4
w w w .h a n o ic tt.c o m
–~
= 3.4 * 1038 possible addressable nodes
–~
= 340,282,366,920,938,463,374,607,432,768,211,456
–~
= 5 * 1028 addresses per person
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
IPv6 Addressing
w w w .h a n o ic tt.c o m
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
X X X X X X X X
Format:
• 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:
– 2031:0:130F:0:0:9C0:876A:130B
• Successive fields of 0 can be represented as ::, but only once per address.
• Examples:
– 2031:0000:130F:0000:0000:09C0:876A:130B
– 2031:0:130f::9c0:876a:130b
– 2031:0:130f::9c:876a:130b – incorrect
w w w .h a n o ic tt.c o m
– 2031::130f::9c0:876a:130b – incorrect
– 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 ::
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
In all cases, IPv6 addresses identify interfaces, not nodes. A node is identified by
any unicast address assigned to one of its interfaces.
• Fixed portion set to 001 –The current global unicast address assignment by the Internet Assigned
Numbers Authority (IANA) uses the range of addresses that start with binary value 001 (2000::/3),
which is one-eighth of the total IPv6 address space and is the largest block of assigned block
addresses.
• Global Routing Prefix – Indicates the global routing prefix for a specific organization's site. The
combination of the three fixed bits and the 45-bit Global Routing Prefix is used to create a 48-bit
site prefix, which is assigned to an individual site of an organization. Once assigned, routers on the
IPv6 Internet forward IPv6 traffic matching the 48-bit prefix to the routers of the organization's site.
w w w .h a n o ic tt.c o m
• Subnet ID – The Subnet ID is used within an organization's site to identify subnets. The size of this
field is 16 bits. The organization's site can use these 16 bits within its site to create 65,536 subnets
or multiple levels of addressing hierarchy and an efficient routing infrastructure.
• Interface ID – Indicates the interface on a specific subnet within the site. The size of this field is 64
bits.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
• The public topology is the collection of larger and smaller ISPs that provide access to
the IPv6 Internet.
• The site topology is the collection of subnets within an organization’s site.
• The interface identifier identifies a specific interface on a subnet within an
organization’s site.
w w w .h a n o ic tt.c o m
IPv6 has same address format for global unicast and for anycast.
• Uses a global routing prefix—a structure that enables aggregation upward,
eventually to the ISP.
• A single interface may be assigned multiple addresses of any type (unicast,
anycast, multicast).
• Every IPv6-enabled interface must contain at least one loopback (::1/128) and one
link-local address.
• Optionally, every interface can have multiple unique local and global addresses.
w w w .h a n o ic tt.c o m
• To make sure that the chosen address is from a unique Ethernet MAC
address, the universal/local (U/L bit) is set to 1 for global scope (0 for
local scope).
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
• The EUI-64 address uses the U/L and I/G bits in the same way as
the IEEE 802 address.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
• To obtain the 64-bit interface identifier for IPv6 unicast addresses, the U/L
bit in the EUI-64 address is complemented (if it is a 1, it is set to 0; and if it
is a 0, it is set to 1).
w w w .h a n o ic tt.c o m
• To obtain an IPv6 interface identifier from an IEEE 802 address, you must
first map the IEEE 802 address to an EUI-64 address, and then
complement the U/L bit.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Link-Local Address
EUI-64
54 bit
• Interface identifiers in IPv6 addresses identify interfaces on a link. Link-local addresses can
also be thought of as the host portion of an IPv6 address.
• Its uniqueness is assured only on one link, and an identical address might exist on another
link, so the address is not routable off its link
• Link-local addresses have a scope limited to the link and are dynamically created on all
IPv6 interfaces by using a specific link-local prefix FE80::/10 and a 64-bit interface identifier
in a process called stateless autoconfiguration.
w w w .h a n o ic tt.c o m
• Link-local addresses are used for automatic address configuration, neighbor discovery,
and router discovery. Link-local addresses are also used by many routing protocols.
• Link-local addresses can serve as a way to connect devices on the same local network
without needing global addresses.
• When communicating with a link-local address, you must specify the outgoing interface
because every interface is connected to FE80::/10.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Stateless Autoconfiguration
intervention.
users by ISPs.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Multicasting
, well-known
IPv6 functions.
• Multicast is frequently used in IPv6 and replaces broadcast. There is no
broadcast in IPv6. There is no Time to Live (TTL) in IPv6 multicast. The scoping
is defined inside the address.
• IPv6 multicast addresses are defined by the prefix FF00::/8. The second octet
defines the lifetime (flag) and the scope of the multicast address.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Solicited-Node Address
104 bits
• With 112 bits for the Group ID, it is possible to have 2112 group IDs.
However, because of the way in which IPv6 multicast addresses
are mapped to Ethernet multicast MAC addresses, RFC 3513
recommends assigning the Group ID from the low order 32 bits of
the IPv6 multicast address and setting the remaining original
w w w .h a n o ic tt.c o m
Anycast
are fixed at their appropriate values and the remaining bits are set to 0.
• All router interfaces attached to a subnet are assigned the Subnet-Router
anycast address for that subnet. The Subnet-Router anycast address is used
for communication with one of multiple routers attached to a remote subnet.
Anycast
An anycast address represents a service that might appear on multiple devices
• The advantage of anycast addresses is that a router always routes to the "closest"
or "lowest-cost" server. So servers providing some commonly used service can be
w w w .h a n o ic tt.c o m
spread across a large network and traffic can be localized or scoped to the nearest
server, making traffic patterns in the network more efficient. And if one server
becomes unavailable, the router routes to the next nearest server. In Figure above,
for example, if server C becomes unavailable due to a network or server failure, the
router chooses the path to server A as the next-lowest-cost route. From the router's
viewpoint, it is just choosing the next-best route to the same destination.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
unicast and anycast address used the low-order 24-bit of each unicast or
anycast address
Multicast addresses of all groups to which the FF00::/8
host belongs
IPv6 Mobility
w w w .h a n o ic tt.c o m
IPv6 Routing
w w w .h a n o ic tt.c o m
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
here.
– This command with the link-local argument can be used to override
the default link-local address assigned by the router.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
• With this method, using the ipv6 address command, you can configure
addresses on interfaces using EUI-64 format.
• It is important to specify the address's high-order 64-bit (IPv6 prefix). Then
the router automatically completes the low-order 64-bit using EUI-64 format.
RouterA(config-if)#ipv6 address 2001:0410:0:1::/64 eui-64
NOTE: You can assign multiple site-local and aggregatable global unicast IPv6
addresses using this command.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Router(config-if)#ipv6 enable
Static Routing
C FEC0:0:0:5::/64 [0/0]
The "::" means that the
via ::, Ethernet0/0
L FEC0::5:230:94FF:FE24:B780/128 [0/0] next hop is unspecified
via ::, Ethernet0/0
L FF00::/8 [0/0]
via ::, Null0
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
– link-local address is not likely to change. A link-local address will only change if
the interface card, or the entire router, is replaced
– to remain consistent with the addresses routers advertise in the router
advertisement messages and so that processes using those addresses, such as
ICMPv6 Redirect, will operate as expected.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Summary Routes
RIPng
• Same as IPv4
– Distance vector, radius of 15 hops, split horizon, and poison
reverse
– Based on RIPv2
• Updated features for IPv6
– IPv6 prefix, next-hop IPv6 address
– Uses the multicast group FF02::9, the all-rip-routers
multicast group, as the destination address for RIP updates
– Uses IPv6 for transport
– Named RIPng
w w w .h a n o ic tt.c o m
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
EIGRP
• EIGRP for IPv4 and EIGRP for IPv6 are configured and
managed separately. However, the configuration of EIGRP for
IPv4 and IPv6 is similar and provides operational familiarity
and continuity.
w w w .h a n o ic tt.c o m
multiprotocol attributes.
HANOICTT NETWORKING ACADEMY
Building Scalable Cisco Internetworks v5.0
Summary