Beruflich Dokumente
Kultur Dokumente
1. IPv6 History
2. IPv6 Global Address Assignment and Allocation
3. About IPv6
4. IPv6 Addressing and Expressions
5. Rules in IPv6 of Missing “0”
6. IPv6 Header Format
7. Different between IPv4 and IPv6 Header
8. Benefits of IPv6
9. IPv6 Address Types
10. IPv6 Addressing Model
11. Overall IPv6 Addressing Structure
12. IPv6 Autoconfigurations
13. IPv4 to IPv6 Mechanism
14. IPv6 Subnetting
15. Labs
❖People become to use IPv6 address because IPv4 address space is not enough for long
time.
❖IPv4 is still alive because people use NAT/PAT , CIDR to solve inefficient addresses.
➢Some old protocols and versions need to use compatible with IPv6.
➢And then, IPv6 use Neighbor Discovery Protocol (NDP) instead of IPv4 in Address
Resolution Protocol (ARP).
➢ One group in IPv6 have 16 bits and 4 hexadecimal digits, each group is divided with colons
(:).
➢e.g. 2001:0db8:3c4d:0012:0000:0000:1234:56ab
• Base 10 (decimal) number system =10 digits.
• Base 2 (binary) number system = 2 digits.
• Base 16 (hexadecimal) number system =16 digits
Rules in IPv6 of Missing “0”
• There are two rules of IPv6 with missing “0” when assign the address or
configuration.
❖ Original : 2001:0000:3c4d:0000:0000:0000:1234:56ab
❖ Short : 2001:0000:3c4d::1234:56ab
❖ Shorter : 2001:0:3c4d::1234:56ab
Rule 1: Group to Zero to Zero
• If IPV6 address include “0” group with 3 octet or 4 octet, hide 3 or 4 octets with ::
Double Column instead of “0” groups.
• IPv6 with group of zero can hide with :: double column each one time.
❖ Original : 2001:0000:3c4d:0000:0000:0000:1234:56ab
❖ Short : 2001:0000:3c4d::1234:56ab
Rule 2: Drop Leading Zero
❖ original : 2001:0000:3c4d:0000:0000:0000:0000:56ab
❖ short : 2001:0:3c4d:0:0:0:0:56ab
❖ original : 2001:0000:3c4d:0000:0000:0000:0000:56ab
❖ short : 2001:0:3c4d::56ab
➢ IPv6 header has a new field, named Flow Label, that can identify packets belonging to the same
flow.
Different between IPv4 and IPv6 Header
Benefits of IPv6
• In honor of World IPv6 Day, there have 6 benefits of IPv6.
❖ IPv6 reduces the size of routing tables and makes routing more efficient and hierarchical.
❖ Compared with IPv4, IPv6 contains no IP-level checksum, so the checksum does not need to be
recalculated at every router hop.
❖ Multicast allows packet flows (like multimedia streams) to be sent to multiple destinations
simultaneously, saving network bandwidth.
❖ A router will send the prefix of the local link in its router advertisements.
❖ A host can generate its own IP address by appending its link-layer (MAC) address, converted
into Extended Universal Identifier (EUI) 64-bit format, to the 64 bits of the local link prefix.
5. Support For New Services
❖ True end-to-end connectivity at the IP layer is restored then create, maintain, and new
services such as VoIP and Quality of Service (QoS).
6. Security
❖ IPv4 ICMP packets are often blocked by corporate firewalls, but ICMPv6 may be
permitted because IPsec can be applied to the ICMPv6 packets.
IPv6 Address Types
IPv6 Addressing Model
• There are 3 types of addressing in IPv6.
❖Unicast
❖Multicast and
❖Anycast
❑Note: Not use Broadcast address, instead of broadcast address want to send packets in LAN use
Link local address (ff02::1).
Unicast Addresses
• An IPv6 unicast address is an identifier for a single interface of on a router or on a host.
• Unicast is unique and there have no same IPv6 address on the internet.
*Global Unicast Address*
✓ Public IP address
✓ Assigned by IANA
✓ Routable IP address
✓ 2000::/3
✓ Include 16 bits
✓ Auto-configured from a 48 bit MAC address expanded into a 64 bit EUI-64 (SLAC)
✓ Manually Configured
✓ IPv6 hosts can use the Neighbor Discovery protocol to automatically generate their own interface
IDs.
Interface ID Format
Unique Local Address or Site Local
✓ Private IP address
✓ Non-Routable IP address
✓ Used for intranets that are not connected to the IPv6 Internet
✓ To be used for
❖ Neighbor Discovery
Link-Local Address in Computer
• An IPv6 anycast address is an address that can be assigned to more than one interface (typically
different devices).
• A packet sent to an anycast address is routed to the “nearest” interface having that address,
according to the router’s routing table.
• Routers will select the desired path on the basis of number of hops, distance, lowest cost, latency
measurements or based on the least congested route.
• The basic idea of Anycast is very simple: multiple servers, which share the same IP address, host
the same service.
Anycast Address Topology
Special Addresses
✓ Unspecified Address
❖ ::/128 = 0000: 0000: 0000: 0000: 0000: 0000: 0000: 0000 = ::/128
❖ Also use ::
❖ 0.0.0.0 in IPv4
✓ Loopback Address
❖ 0:0:0:0:0:0:1 = ::1/128
❖ 127.0.0.0.1 in IPv4
✓ Discard Address
❖ 100::/64
❖ 0:0:0:0:0:192.168.100.1
❖ ::ffff:0:0/96
❖ 64:ff9b::/96
IPv6 Addresses with Description
Overall IPv6 Addressing Structure
Zone ID for Link Local Address
• In Window
Note : Identifies the interface zone ID on the host which is connected to the segment.
IPv6 Autoconfigurations
❖ No additional servers
❖ DHCPv6
IPv4 to IPv6 Mechanism
❖ Dual Stack
❖ NAT64
Dual Stack Network
• A dual stack network involves nodes that are capable of processing IPv4 and IPv6 traffic
simultaneously.
• This is especially important at the router, as the router is typically the first node on a given
network to receive traffic from outside of the network.
• When a node within a dual stack network receives traffic, it is programmed to prefer IPv6 over
IPv4 traffic.
Different Between IPv4 only and Dual Stack
IPv6 over IPv4 Tunneling
• 6 to 4 tunneling is an integration method where an IPV6 packet is encapsulated within an IPv4.
• 6to4 is very useful when trafficking IPv6 data over an IPv4 network, it especially works best in
WAN settings where a remote network is still running IPv4 protocols.
• Different from the IPv6-to-IPv4 address that uses the IPv4 address as the network prefix, the
ISATAP address uses the IPv4 address as the interface ID.
NAT64
• The NAT64 gateway is a translator between IPv4 and IPv6 protocols for which function it needs at
least one IPv4 address and an IPv6 network segment comprising a 32-bit address space.
• In the NAT64 gateway, two interfaces are connected to the IPv4 for an IPv6 network. Traffic from
IPv6 goes through the gateway, which transfers and translates data packets.
• Although NAT64 is an effective gateway for these two network types, some technologies such as
Skype and other types of real-time interfacing are not supported.
NAT64/ DNS64
❖ Note: A NAT64 connects the IPv6 network to the IPv4 network. This NAT64 uses the Well-
Known Prefix 64:ff9b::/96.
Explanation of NAT64 and DNS64
▪ The IPv4 only server means that the DNS system has only an “A” record for the server and no
“AAAA” records.
▪ DNS64 server should be set as the DNS server of the IPv6 only client.
▪ When the IPv6 only client tries to connect to the web server, it sends a recursive query to the
DNS64 server to find the IPv6 address of the web server.
▪ The DNS64 server uses the normal DNS system to find out the IP address of the web server.
Stateless and Stateful Translations
• The gateway maintains IPv6-to-IPv4 address mapping, which may be established with an automatic
algorithm (stateless mapping) or with special and manual translations (stateful mapping) when the
first packet from the IPv6 network reaches the NAT64 gateway.
Stateless NAT64
• Stateless NAT64 is a good tool to provide Internet servers with an accessible IP address for both
IPv4 and IPv6 on the global Internet.
• To aggregate many IPv6 users into a single IPv4 address, stateful NAT64 is required.
Stateful NAT64
• Stateful NAT64 allows IPv6-only clients to contact IPv4 servers using unicast UDP, TCP, or ICMP
based on RFC 6146.
• This technology will be used mainly where IPv6-only networks and clients (i.e. Mobile handsets,
IPv6 only wireless, etc...) need access to the IPv4 internet and its services.
Difference Between Stateless and Stateful NAT64 Translations
IPv6 Subnetting
▪ Provider A has been allocated an IPv6 Block
▪ 2001:DB8::/32
✓ Reachability of neighbors
✓ Features of NDP
• Router Solicitation messages are requests to IPv6 Routers for Router Advertisement Messages.
• Router Advertisements are the NDP messages generated by IPv6 Routers to advertise their
presence in the link and to inform other IPv6 devices in the link about important IPv6 link
parameters like network prefix, prefix length, MTU etc.
• Sent by an IPv6 device to resolve the link-layer address (MAC Address) of an IPv6 neighbor, to
verify the reachability of cached link-layer address (MAC Address) and for Duplicate Address
Detection (DAD)
✓ Neighbor Advertisement message (NA)
• Neighbor Advertisement messages are response to a Neighbor Solicitation message sent from
an IPv6 neighbor.
✓ Redirect message
• Redirect messages are sent by IPv6 routers to inform IPv6 hosts in the link about a better
next hop
Manual Address Assign
• R1(config)#int fa0/0
SLACC
EUI-64
IPv6 with ND Command
• ND command = enable RA
Use five minutes = 120 seconds for life time (both preferred and valid)
• Ipv6 nd ra interval 30
IPv6 with Show Commands
✓ Debug ipv6 nd
✓ Undebugg all
Labs