%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} deprecated
\usepackage[automark]{scrlayer-scrpage}

%Quellcode-Listings
\usepackage{listings}

%Hyperlinks
\usepackage{hyperref}

% \text{}
\usepackage{amsmath}

%multi-row
\usepackage{multirow}

\usepackage{array}

%Kopfzeile
\ihead{CCNA v7.02: SRW (Switching, Routing, and Wireless Essentials)}
\chead{}
\ohead{kohnlehome.de/cisco/CCNA-2-04.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
    4 Inter-VLAN Routing
\end{center}

\section*{4.1 Inter-VLAN Routing Operation}
\begin{itemize}
    \item Legacy Inter-VLAN routing
    \begin{itemize}
        \item 1 Ethernet-Interface pro VLAN
        \item nicht skalierbar
        \item \href{https://kohnlehome.de/netz/vlan-switch-router.png}{kohnlehome.de/netz/vlan-switch-router.png}
        \item \href{https://kohnlehome.de/netz/vlan-2switch-router.png}{kohnlehome.de/netz/vlan-2switch-router.png}
    \end{itemize}
\end{itemize}

\section*{4.2 Router-on-a-Stick Inter-VLAN Routing}
\begin{itemize}
    \item 1 Router-Interface mit Subinterfaces
    \item \href{https://kohnlehome.de/netz/vlan-switch-trunk-router.png}{kohnlehome.de/netz/vlan-switch-trunk-router.png}
    \item not scale beyond 50 VLANs    
\end{itemize}

\subsection*{Subinterface Configuration}
\begin{verbatim}
Router(config)# interface G0/1                                Physikalische Schnittstelle
Router(config-if)# no shutdown

Router(config-if)# interface G0/1.10                          Subschnittstelle
Router(config-subif)# encapsulation dot1q 10                  VLAN 10 zuweisen
Router(config-subif)# ip address 192.168.10.1 255.255.255.0

Router(config-if)# interface G0/1.99                          Subschnittstelle
Router(config-subif)# encapsulation dot1q 99 native           VLAN99 als Native-VLAN
Router(config-subif)# ip address 192.168.99.1 255.255.255.0
\end{verbatim}

\subsection*{Verification}
\begin{verbatim}
Router# show ip route
Router# show ip interface brief
Router# show interfaces
Router# show interfaces trunk
\end{verbatim}


\section*{4.3 Inter-VLAN Routing using Layer 3 Switches}
\begin{itemize}
    \item 1 SVI pro VLAN
    \item \href{https://kohnlehome.de/cisco/layer-3-switch.png}{kohnlehome.de/cisco/layer-3-switch.png}
    \item much faster than router-on-a-stick
    \item more expensive
    \item \href{https://kohnlehome.de/cisco/multilayer-switch.pdf}{kohnlehome.de/cisco/multilayer-switch.pdf}
\end{itemize}

\section*{4.4 Troubleshoot Inter-VLAN Routing}
\begin{itemize}
    \item Missing VLANs
    \begin{itemize}
        \item \texttt{show vlan [brief]}
        \item \texttt{show interfaces switchport}
        \item \texttt{ping}
    \end{itemize}
    \item Switch Trunk Port Issues
    \begin{itemize}
        \item \texttt{show interfaces trunk}
        \item \texttt{show running-config}
    \end{itemize}
    \item Switch Access Port Issues
    \begin{itemize}
        \item \texttt{show interfaces switchport}
        \item \texttt{show running-config}
        \item \texttt{ipconfig}
    \end{itemize}
    \item Router Configuration Issues
    \begin{itemize}
        \item \texttt{show ip interface brief}
        \item \texttt{show interfaces}
    \end{itemize}
\end{itemize}

\end{document}
