13 Ipv6 PDF
13 Ipv6 PDF
13 Ipv6 PDF
640-802
IPV6
? It has eight groups of numbers instead of four and also that those
groups are separated by colons instead of periods.
? The address is expressed in hexadecimal just like a MAC address.
? This address has eight 16-bit hexadecimal colon-delimited blocks.
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
IPv6 device, you have to type the address into the browser with
? If you don’t enclose the address in brackets, the browser will have
? http://[2001:0db8:3c4d:0012:0000:0000:1234:56ab]/default.html
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Shortened Expression
You can drop any leading zeros in each of the individual blocks.
Example:
? 2001:0db8:3c4d:0012:0000:0000:1234:56ab
? 2001:db8:3c4d:12:0:0:1234:56ab
? Whole blocks that don’t have anything in them except zeros? we
can remove the two blocks of zeros by replacing them with double
colons.
Example:
? 2001:0db8:3c4d:0012:0000:0000:1234:56ab
? 2001:db8:3c4d:12::1234:56ab
? But you can only replace one contiguous block of zeros in an
address.
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
?
?
Example:
Revision no.: PPT/2K804/04
2001::12:0:0:1234:56ab
If address has four blocks of zeros .
2001:0000:0000:0012:0000:0000:1234:56ab
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Address Types
Unicast
? Packets addressed to a unicast address are delivered to a single
interface. For load balancing, multiple interfaces can use the same
address.
Global unicast addresses
? These are your typical publicly routable addresses, and they’re the
same as they are in IPv4.
Link-local addresses
? These are like the private addresses in IPv4 in that they’re not
meant to be routed.
? That gives you the ability to throw a temporary LAN together for
meetings or for creating a small LAN that’s not going to be routed
but still needs to share and access files and services locally
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Special Addresses
? 0:0:0:0:0:0:0:0 Equals ::. This is the equivalent of IPv4’s 0.0.0.0, and is
typically the source address of a host when you’re using stateful
configuration.
? 0:0:0:0:0:0:0:1 Equals ::1. The equivalent of 127.0.0.1 in IPv4.
? 0:0:0:0:0:0:192.168.100.1 This is how an IPv4 address would be written
in a mixed IPv6/IPv4 network environment.
? 2000::/3 The global unicast address range.
? FC00::/7 The unique local unicast range.
? FE80::/10 The link-local unicast range.
? FF00::/8 The multicast range.
? 3FFF:FFFF::/32 Reserved for examples and documentation.
? 2001:0DB8::/32 Also reserved for examples and documentation.
? 2002::/16 Used with 6to4, which is the transition system the structure
that allows IPv6 packets to be transmitted over an IPv4 network without
the need to configure explicit tunnels.
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Revision no.: PPT/2K804/04
Autoconfiguration
? Autoconfiguration is an incredibly useful solution because it allows
devices on a network to address themselves with a link-local
unicast address.
? To perform autoconfiguration, a host goes through a basic two-
step process:
? First, the host needs the prefix information (similar to the network
portion of an IPv4 address) to configure its interface, so it sends a
router solicitation (RS) request for it.
? This RS is then sent out as a multicast to each router’s multicast
address.
? The actual information being sent is a type of ICMP message, and
like everything in networking, this ICMP message has a number
that identifies it. The RS message is ICMP type 133.
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
? The router answers back with the required prefix information via a
router advertisement (RA).
? RA messages are sent on a periodic basis, but the host sends the
RS for an immediate response so it doesn’t have to wait until the
next scheduled RA to get what it needs.
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Revision no.: PPT/2K804/04
DHCPv6
? DHCPv6 works pretty much the same way DHCP does in v4, with the
obvious difference that it supports the new addressing scheme for IPv6.
? Router1(config)#ipv6 dhcp pool ?
? WORD DHCP pool name
? Router1(config)#ipv6 dhcp pool test
? Router1(config-dhcp)#dns-server ?
? Hostname or X:X:X:X::X Server’s name or IPv6 address
? Router1(config-dhcp)#domain-name lammle.com
? Router1(config-dhcp)#prefix-delegation pool test lifetime 3600 3600
? Router1(config)#int fa 0/0
? Router1(config-if)#ipv6 dhcp server test
? We have a fully configured DHCPv6 server applied to our interface fa0/0.
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
RIPng
? The primary features of RIPng are the same as they were with
RIPv2. It is still a distance-vector protocol, has a max hop count
of 15, and uses split horizon, poison reverse, and other loop
avoidance mechanisms, but it now uses UDP port 521.
? And it still uses multicast to send its updates too, but in IPv6, it
uses FF02::9 for the transport address.
? Router1(config-rtr)#
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Verifying RIPng
? Router#sh ipv6 route
? Router#sh ipv6 protocols
? Router#sh ipv6 rip
? Router#sh ipv6 interface serial 0/0/1
? Router#debug ipv6 rip
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
EIGRPv6
? EIGRPv6 is still an advanced distance-vector protocol that has
some link-state features.
? The neighbor discovery process using hellos still happens, and it
still provides reliable communication with reliable transport
protocol that gives us loop-free fast convergence using the
Diffusing Update Algorithm (DUAL).
? Hello packets and updates are sent using multicast transmission,
and as with RIPng, EIGRPv6’s multicast address stayed almost the
same.
? In IPv4 it was 224.0.0.10; in IPv6, it’s FF02::A (A = 10 in
hexadecimal notation).
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
OSPFv3
? A link-state routing protocol that divides an entire internetwork or
autonomous system into areas, making a hierarchy.
? In OSPF version 2, the router ID (RID) is determined by the
highest IP addresses assigned to the router (or you could assign
it). In version 3, you assign the RID, area ID, and link-state ID,
which are all still 32-bit values but are not found using the IP
address anymore because an IPv6 address is 128 bits.
? Adjacencies and next-hop attributes now use link-local addresses,
and OSPFv3 still uses multicast traffic to send its updates and
acknowledgments, with the addresses FF02::5 for
? OSPF routers and FF02::6 for OSPF-designated routers. These
new addresses are the replacements for 224.0.0.5 and 224.0.0.6,
respectively
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
6to4 Tunneling
? 6to4 tunneling is really useful for carrying IPv6 data over a
network that’s still IPv4.
? To use this we need a couple of dual-stacked routers.
? And we have to add a little configuration to place a tunnel
between those routers. We just have to tell each router where the
tunnel begins and where we want it to end up.
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Router1(config)#int tunnel 0
Router1(config-if)#ipv6 address 2001:db8:1:1::1/64
Router1(config-if)#tunnel source 192.168.30.1
Router1(config-if)#tunnel destination 192.168.40.1
Router1(config-if)#tunnel mode ipv6ip
Router2(config)#int tunnel 0
Router2(config-if)#ipv6 address 2001:db8:2:2::1/64
Router2(config-if)#tunnel source 192.168.40.1
Router2(config-if)#tunnel destination 192.168.30.1
Router2(config-if)#tunnel mode ipv6ip
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.
Revision no.: PPT/2K804/04
NAT-PT
? With NAT-PT there is no encapsulation the data of the source
packet is removed from one IP type and repackaged as the new
destination IP type.
? Static NAT-PT provides a one-to-one mapping of a single IPv4
address to a single IPv6 address (sounds like static NAT).
? Dynamic NAT-PT which uses a pool of IPv4 addresses to
provide a one-to-one mapping with an IPv6 address (sounding
kind of familiar).
? Network Address Port Translation (NAPT-PT) which provides
a many-to one mapping of multiple IPv6 addresses to one IPv4
address and a port number.
Revision no.: PPT/2K804/04
© CMS INSTITUTE, 2004. All rights reserved. No part of this material may be reproduced, stored or emailed without the prior permission.