1. Addressing
    1. Link-local address
      1. not routable
      2. every host has it to boot on the network
      3. Neighbor discovery
        1. uses ICMPv6 to exchange NDP messages
        2. Router Advertisement (RA)
        3. Router Solicitation (RS)
        4. Neighbor Solicitation (NS)
        5. Neighbor Advertisement (NA)
        6. Redirect
        7. neighbor cache <> arp cache
        8. Router Discovery
      4. Auto address-assignment
        1. interface address derived from 48bits MAC
        2. insert FFFE into the middle of the MAC
        3. reserved link-local prefix 0xFE80::/10 > 0xFE80::/64
        4. 64 bits
      5. Scope: link
      6. <> APIPA in ipv4
    2. Global address
      1. routable
      2. Most hosts have it but not mandatory
      3. Scope: internet
      4. Auto address-assignment
        1. stateful
          1. via DHCPv6 server
        2. stateless
          1. host gets link prefixes from RAs
          2. adds the prefix to known interface ID
    3. Unique local addresses (ULA)
      1. <> ipv4 private ranges
      2. Scope: local (site)
    4. multicast
      1. Same as Ipv4 multicast
      2. have scope flag (interface-local,link-local, site-local, global)
      3. replaces broadcast
    5. Anycast
      1. globally routed shared among hosts
      2. send to closest host based on info in the header
    6. [ipv6]:port = ipv4:port
    7. direct communication between hosts
      1. Plug-and-play communication
    8. DHCP not mandatory
      1. needed for DDNS
      2. DHCPv6
      3. DNS ipv4 name server provides resolution for ipv6
  2. use a /64 prefix on every subnet
    1. 48bits (network) + 16bits (subnet - vlans) + 64bits (hosts)
    2. subnetting
      1. standard 64bits for hosts
      2. 16bits for subnet
    3. leading zeroes in any 16-bit segment can be left out
    4. Any single, contiguous string of one or more 16-bit segments consisting of all zeroes can be represented with a double colon
    5. ::/0
    6. ::/128 = old 0.0.0.0
    7. ::1/128 = 127.0.0.1
    8. no NAT in IPv6
    9. IPSec by default
    10. no ARP
      1. replaced by ICMPv6 and ND
      2. arp poisoning can happen over the Internet!!
  3. Migration
    1. Dual-stack
      1. Windows XP limited support
      2. Windows 7 and Linux very good support
      3. IPv4 and IPv6 running next to each other
    2. Tunneling
      1. Terredo
      2. ISATAP
      3. 6to4
    3. Keep same VLANs