%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-08.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
    8 Network Layer
\end{center}

\section*{8.1 Network Layer Characteristics}
\begin{itemize}
    \item Network Layer Operations
          \begin{itemize}
              \item Addressing end devices
              \item Encapsulation (Quelle packt Layer 4-Segment in IP-Packet ein)
              \item Routing (host to host): Router, Layer3-Switches
              \item De-encapsulation (Empfänger packt Layer-4-Segment aus)
          \end{itemize}
    \item Characteristics of IP
          \begin{itemize}
              \item Connectionless (wie Brief)
              \item Best Effort
              \item Media Independent (Kupferkabel, Glasfaser, Funk)
                    \begin{itemize}
                        \item Jedes Medium hat eigenes MTU (maximum transmission unit) $\rightarrow$ evtl. Fragmentation (nur IPv4, nicht IPv6)
                    \end{itemize}
          \end{itemize}
\end{itemize}


\section*{8.2 IPv4 Packet}
\begin{itemize}

    \item \href{https://www.rfc-editor.org/rfc/rfc791#page-11}{rfc-editor.org/rfc/rfc791}
    \item Wireshark: sniffer IPv4 Header

\end{itemize}


\section*{8.3 IPv6 Packet}
\begin{itemize}
    \item Grund für IPv6: IPv4 address depletion, NAT
    \item IPv6 Eigenschaften
          \begin{itemize}
              \item 128 bit Adressen $\rightarrow$ mehr Adressen
              \item Einfacherer IP Header
              \item Braucht kein NAT mehr
          \end{itemize}
    \item Vergleich: IPv4-Header vs. IPv6-Header
    \item Wireshark: sniffer IPv6 Header
\end{itemize}


\section*{8.4 How a Host Routes}
\begin{itemize}
    \item Host Forward Decison
          \begin{itemize}
              \item Itself: loopback, 127.0.0.1, ::1
              \item Local host
              \item Remote host $\rightarrow$ Default gateway
          \end{itemize}
    \item Default Gateway
          \begin{itemize}
              \item Local IP-Address in same address range
              \item Routes date from local network to other networks
          \end{itemize}
    \item Host routing tables
          \begin{itemize}
              \item \texttt{netstat -r}: interface list, IPv4 Routing Table, IPv6 Routing table
          \end{itemize}
\end{itemize}


\section*{8.5 Introduction to Routing}
\begin{itemize}
    \item Router Packet Forwarding Decision
    \item Routing Table: Route (Netz) - Next Hop / Exit Interface
          \begin{itemize}
              \item Directly-connected networks
              \item Remote networks
              \item Default route
          \end{itemize}
    \item Wie kommen Einträge in die Routing Table?
          \begin{itemize}
              \item Manually: Static routes
              \item Dynamically: Routing Protocol
          \end{itemize}
    \item Static routes
          \begin{itemize}
              \item \texttt{R1(config)\# ip route 10.1.1.0 255.255.255.0 209.165.200.226}
          \end{itemize}
    \item Dynamic routing
          \begin{itemize}
              \item OSPF
              \item EIGRP
          \end{itemize}
    \item IPv4 Routing Table
          \begin{itemize}
              \item Show ip route
              \item L, C, S, O, D
          \end{itemize}
\end{itemize}


\end{document}
