%Schriftgröße, Layout, Papierformat, Art des Dokumentes
\documentclass[10pt,oneside,a4paper]{scrartcl}

%Einstellungen der Seitenränder
\usepackage[left=2cm,right=2cm,top=1.5cm,bottom=1.5cm,includeheadfoot]{geometry}

%neue Rechtschreibung
\usepackage[ngerman]{babel}

%Umlaute ermöglichen
\usepackage[utf8]{inputenc}

%Gesamtseitenzahl
\usepackage{lastpage}

% Kopf- und Fußzeile
\usepackage[automark]{scrpage2}

%Quellcode-Listings
\usepackage{listings}

%Hyperlinks
\usepackage{hyperref}

% \text{}
\usepackage{amsmath}

%multi-row
\usepackage{multirow}

\usepackage{array}

%Kopfzeile
\ihead{CCNA v7.2: ITN (Introduction to Networks)}
\chead{}
\ohead{kohnlehome.de/cisco/CCNA-1-12.pdf}
\setheadsepline{0.5pt}

%Fußzeile
\setfootsepline{0.5pt}
\ifoot{Franz Kohnle}
\cfoot{Seite \thepage\ von  \pageref{LastPage}}
\ofoot{\today}

\pagestyle{scrheadings}

\begin{document}

% Überschrift 
\begin{center}
    \LARGE % Schriftgröße
    \bfseries % Fettdruck
    \sffamily % Serifenlose Schrift
    12 IPv6 Addressing
\end{center}

\section*{12.1 IPv4 Issues}
\begin{itemize}
    \item Need for IPv6
          \begin{itemize}
              \item NAT / Private IPv4
              \item Mobile Devices
              \item IoT
          \end{itemize}

    \item IPv4 and IPv6 Coexistence
          \begin{itemize}
              \item Dual Stack
              \item Tunneling
              \item Translation
          \end{itemize}
\end{itemize}

\section*{12.2 IPv6 Address Representation}
\begin{itemize}
    \item 16-bit Segments
    \item Rule 1: Omit Leading Zeros
    \item Rule 2: Double Colon
    \item Activity 12.2.4 IPv6 Address Representation
\end{itemize}

\section*{12.3 IPv6 Address Types}
\begin{itemize}
    \item IPv6 Address Types
          \begin{itemize}
              \item Unicast, Multicast, Anycast (nearest device having that address)
              \item IPv6 Prefix Length
          \end{itemize}

    \item Types of IPv6 Unicast Addresses
          \begin{itemize}
              \item Global Unicast
              \item Link-local
              \item Loopback ::1/128
              \item Unspecified Address ::
              \item Unique Local fc00::/7 (-fdff::) (vgl. Private IPv4)
          \end{itemize}

    \item IPv6 GUA
          \begin{itemize}
              \item vgl. Public IPv4
              \item ICANN allocates blocks to five RIRs
              \item 2000::/3 (001..) (-3fff:ff..)
              \item 2001:db8::/32 reserved documentation purposes in examples
              \item Global Routing Prefix, Subnet ID, Interface ID
          \end{itemize}

    \item IPv6 LLA
          \begin{itemize}
              \item communicate on the same link (subnet)
              \item fe80::/10 (-febf:ff..)
              \item statically / dynamically
          \end{itemize}
\end{itemize}

\section*{12.4 GUA and LLA Static Configuration}
\begin{itemize}
    \item IPv6 GUA Configuration
          \begin{itemize}
              \item Cisco Router
                    \begin{verbatim}
    R1(config)# interface gigabitethernet 0/0/0
    R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
    R1(config-if)# no shutdown
    \end{verbatim}
              \item Windows Host
          \end{itemize}

    \item Static Configuration of a Link-Local Unicast Address
          \begin{verbatim}
R1(config)# interface gigabitethernet 0/0/0
R1(config-if)# ipv6 address fe80::1:1 link-local
R1(config-if)# exit
\end{verbatim}
\end{itemize}


\section*{12.5 Dynamic Addressing for IPv6 GUAs}
\begin{itemize}
    \item ICMPv6 RS (Router Solicitation)
    \item ICMPv6 RA (Router Advertisement) every 200s
    \item Method 1: SLAAC
    \begin{itemize}
        \item Prefix from RA 
        \item Interface ID: EUI-64
        \item Gateway: router LLA
    \end{itemize}
    \item Method 2: SLAAC with stateless DHCPv6 server
    \begin{itemize}
        \item Prefix from RA 
        \item Interface ID: EUI-64
        \item Gateway: router LLA
        \item DNS-Server, ..: from DHCPv6 server
    \end{itemize}
    \item Method 3: Stateful DHCPv6 (no SLAAC)
    \begin{itemize}
        \item Prefix from RA 
        \item Gateway: router LLA
        \item Interface ID, DNS-Server, ..: from DHCPv6 server
    \end{itemize}
    \item EUI-64
    \begin{itemize}
        \item Interface ID anhand der MAC-Adresse bestimmen
        \item MAC: 11:22:33:44:55:66
        \item 11:22:33:FF:FE:44:55:66
        \item 7.bit umdrehen: 13:22:33:FF:FE:44:55:66
        \item siehe RFC 5342
    \end{itemize}
    \item Windows: Random 64-Bit generated Interface ID with DAD (Duplicate Address Detection)
\end{itemize}

\section*{12.6 Dynamic Addressing for IPv6 LLAs}
\begin{itemize}
    \item fe80:: + Interface ID (EUI-64 or Random)
    \item Cisco Router: EUI-64
    \item Cisco-Befehle
    \begin{itemize}
        \item show ipv6 interface brief
        \item show ipv6 route
        \item ping       
    \end{itemize}
\end{itemize}

\section*{12.7 IPv6 Multicast Addresses}
\begin{itemize}
    \item Well-Known    
    \begin{itemize}
        \item ff02::1 All-nodes
        \item ffo2::2 All-routers              
    \end{itemize}
    \item Solicited-Node: Mit Multicast MAC
\end{itemize}

\section*{12.8 Subnet an IPv6 Network}
Bsp:
\begin{itemize}
    \item 2001:db8:acad:0::/64
    \item 2001:db8:acad:1::/64
    \item 2001:db8:acad:2::/64  
    \item ..
    \item 2001:db8:acad:ffff::/64  
\end{itemize}

\end{document}
