%\documentclass{beamer}

\mode<presentation>
{
  \usetheme[compress]{Singapore}
  % possiblities Singapore, Malmoe, Dresden 
  \setbeamercovered{transparent}
}

% removes the navigation symbols 
\setbeamertemplate{navigation symbols}{} 

%color setting more or less matching U of A colors
\setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg!55!black}
\setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=red!50!black}

\usepackage{german}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{amsfonts}
%
\usepackage{longtable} 
\usepackage{moreverb} 
\usepackage{fancyvrb}
\usepackage{setspace}
%\usepackage[table]{xcolor}
%
%\usepackage{mpmulti}
\usepackage{xmpmulti}
\usepackage{tikz}
\usetikzlibrary{calc, shadings, shadows, shapes.arrows}
\usetikzlibrary{shapes,snakes}
%%***parbox definieren
\newcommand{\kasten}[1]{
\begin{center}
  \fbox{\parbox{0.8\textwidth}{#1}}
\end{center}
}

\newcommand{\verbbox}[1]{
  \pause
  \begin{Verbatim}[fontsize=\footnotesize,frame=single,framesep=1ex]
{#1}
  \end{Verbatim}
}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Styles for interfaces and edge labels
\tikzset{%
  interface/.style={draw, rectangle, rounded corners, font=\LARGE\sffamily},
  ethernet/.style={interface, fill=yellow!50},% ethernet interface
  serial/.style={interface, fill=green!70},% serial interface
  DSL/.style={interface, fill=magenta!50},% dsl interface
  speed/.style={sloped, anchor=south, font=\large\sffamily},% line speed at edge
  route/.style={draw, shape=single arrow, single arrow head extend=4mm,
    minimum height=1.7cm, minimum width=3mm, white, fill=blue!20,
    drop shadow={opacity=.8, fill=blue!50!black}, font=\tiny}% inroute / outroute arrows
}
\newcommand*{\shift}{1.3cm}% For placing the arrows later

% The router icon
\newcommand*{\router}[1]{
\begin{tikzpicture}
  \coordinate (ll) at (-3,0.5);
  \coordinate (lr) at (3,0.5);
  \coordinate (ul) at (-3,2);
  \coordinate (ur) at (3,2);
  \shade [shading angle=90, left color=black!40!blue, right color=white] (ll)
    arc (-180:-60:3cm and .75cm) -- +(0,1.5) arc (-60:-180:3cm and .75cm)
    -- cycle;
  \shade [shading angle=270, right color=black!40!blue, left color=white!50] (lr)
    arc (0:-60:3cm and .75cm) -- +(0,1.5) arc (-60:0:3cm and .75cm) -- cycle;
  \draw [thick] (ll) arc (-180:0:3cm and .75cm) -- (ur) arc (0:-180:3cm and .75cm)
    -- cycle;
  \draw [thick, shade, upper left=blue!30!black, lower left=blue!80!white,
    upper right=blue!80!white, lower right=white] (ul)
    arc (-180:180:3cm and .75cm);
  \node at (0,0.5){\color{blue!60!black}\Huge #1};% The name of the router
  % The four arrows, symbols for incoming and outgoing routes:
  \begin{scope}[yshift=2cm, yscale=0.28, transform shape]
    \node[route, rotate=45, xshift=\shift] {\strut};
    \node[route, rotate=-45, xshift=-\shift] {\strut};
    \node[route, rotate=-135, xshift=\shift] {\strut};
    \node[route, rotate=135, xshift=-\shift] {\strut};
  \end{scope}
\end{tikzpicture}}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%**********************

\title{IPv6 Prefix Delegation}
\subtitle{Adress und Prefixvergabe mit DHCP} 

\author{Michael Dienert}

\institute{Walther-Rathenau-Gewerbeschule \\ Freiburg}
\date{\today}


% Delete this, if you do not want the table of contents to pop up at
% the beginning of each section:
\AtBeginSection[]
{
  \begin{frame}<beamer>
    \frametitle{Inhalt}
    {
    \tableofcontents[currentsection]
        }
  \end{frame}
}

% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 
%\beamerdefaultoverlayspecification{<+->}


\begin{document}
\title{IPv6 Prefixdelegation mit Desktop-Routern}
\subtitle{Handreichung zur Präsentation} 
\institute{Walther-Rathenau-Gewerbeschule \\ Freiburg}
\author{Michael Dienert}

\date{\today}
\maketitle
\pagenumbering{roman}
\tableofcontents
\clearpage
\pagenumbering{arabic}
%
%-------------------------------------------------(<frame>)
%
\begin{frame}
  \titlepage
\end{frame}
%
%-------------------------------------------------(</frame>)
%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Prefix Delegation}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Prefix-Delegation in IPv6-Netzen}
% 
\begin{frame}
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Prefix-Delegation in IPv6-Netzen}}
  % 
  \begin{itemize}
    %% 
    \pause \item Router verteilen in IPv6-Netzen einen 64-bit langen Präfix
    \pause \item Der Präfix kann manuell gesetzt werden
    \pause \item oder von einem übergeordneten Router (ISP) übernommen werden
    \pause \item dieses Verfahren nennt man \pause \textup{Prefix Delegation}
    \pause \item spezifiziert ist das Ganze in RFC3769
    %% 
  \end{itemize}

\end{frame}
%% 
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Szenario aus RFC3769}
% 
\begin{frame}
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Szenario aus RFC3769}}
  % 
  \vspace{3cm}
  \begin{tikzpicture}[node distance=15cm, transform canvas={scale=0.3}]
    \pause  \node [xshift=5cm, yshift=5cm] (ISP) {\router{ISP}};
    \pause  \node [xshift=18cm, yshift=5cm] (CPE) {\router{
        \begin{minipage}[h]{3cm}
          \vspace{1ex}
          \begin{spacing}{0.7}
            \center{\huge{Customer Router}}
          \end{spacing}
        \end{minipage}
      }};
    
    \pause \draw[thick] (ISP)
    -- node[DSL,  at start]{serial} node[DSL, at end] {serial} (CPE)
    node[speed,midway] {
      \begin{minipage}[t]{2cm}
        \center{\Large{\pause Point-To-Point \\ \pause ATM \\ \pause MPLS \\ \pause Ethernet}}        
      \end{minipage}
    };
    
    \pause \node (a) at (30,10) [circle,shade,draw] {\Large{\textbf{Customer Network}}};   
    \pause \draw[thick] (CPE) -- node[ethernet, at start]{ether3} (a);
    \pause \node (b) at (30,2) [circle ,shade,draw] {\Large{\textbf{Customer Network}}};
    \pause \draw[thick] (CPE) -- node[ethernet, at start]{ether4} (b);
    
  \end{tikzpicture}

  \begin{itemize}
    \pause \item Der Provider-Router (ISP = Internet Service Provider)
    vergibt einen Routing-Präfix an den Customer Router%
    \pause \item Diese Vergabe erfolgt mit DHCPv6%
    \pause \item Der Customer-Router verteilt den Präfix über
    \textit{Router Advertisements} an die nachfolgenden Netze%
  \end{itemize}

\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Emulation von Provider- und Customer-Router}
% 
\begin{frame}
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Emulation von Provider- und Customer-Router}}
  % 
  \vspace{3cm}
  \begin{tikzpicture}[node distance=15cm, transform canvas={scale=0.3}]
      \node [xshift=5cm, yshift=5cm] (ISP) {\router{ISP}};
      \node [xshift=18cm, yshift=5cm] (CPE) {\router{
        \begin{minipage}[h]{3cm}
          \vspace{1ex}
          \begin{spacing}{0.7}
            \center{\huge{Customer Router}}
          \end{spacing}
        \end{minipage}
      }};
    
     \node (a) at (30,10) [circle,shade,draw] {\Large{\textbf{Customer Network}}};   
     \draw[thick] (CPE) -- node[ethernet, at start]{ether3} (a);
     \node (b) at (30,2) [circle ,shade,draw] {\Large{\textbf{Customer Network}}};
     \draw[thick] (CPE) -- node[ethernet, at start]{ether4} (b);

     \pause \draw[thick] (ISP)
    -- node[ethernet,  at start]{eth1} node[ethernet, at end] {ether2} (CPE)
    node[speed,midway] {
      \begin{minipage}[t]{2cm}
        \center{\huge{Ethernet}}        
      \end{minipage}
    };
    

     \pause \node [xshift=5cm, yshift=3cm, rounded corners=8pt, fill=red]{\huge{Linux-Rechner mit DHCPv6}};
     \pause \node [xshift=18cm, yshift=3cm, rounded corners=8pt, fill=red]{\huge{RouterBoard 951G}};

  \end{tikzpicture}

  \begin{itemize}
    \pause \item DHCPv6 wird vom Installationspaket \texttt{isc-dhcp-server} bereitgestellt
    \pause \item Installieren mit \texttt{aptitude install ...}
    \pause \item Als Customer Router verwenden wir einen Desktop Router der Firma MikroTik
    \pause \item MikroTik-Router haben ein eigenes Betriebssystem (s.u.)
  \end{itemize}

\end{frame}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Desktop Router}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Desktop-Router der Firma MikroTik}
% 
\begin{frame}
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Desktop-Router der Firma MikroTik}}
  % 
  \begin{itemize}
    %% 
    \pause \item MikroTik ist eine Firma mit Sitz in Riga, Lettland%
    \pause \item Die Produkte werden unter dem Namen RouterBOARD
    vertrieben%
    \pause \item Das Betriebssystem der Router ist hierarchisch,
    ähnlich dem CISCO-IOS, aufgebaut%
    \pause \item Eine Eingabe von '?' hilft immer weiter%
    \pause \item Das Drücken der TAB-Taste bewirkt eine
    Auto-Vervollständigung des bereits getippen Kommandos%
    %% 
  \end{itemize}
\end{frame}

%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%% 
\subsection<article>{How-To zur Konfiguration}
% 
\begin{frame}[fragile]
\setbeamercovered{invisible}
  \only<presentation>{\frametitle{How-To zur Konfiguration}}
  % 
  \begin{itemize}
    %% 
    \pause \item Auf dem RouterBoard läuft bereits ein DHCP-Server
  \end{itemize}
  % 
  \pause 
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                              
 0   ;;; default configuration
     192.168.88.1/24    192.168.88.0    bridge-local                           
 1 D 10.10.0.3/24       10.10.0.0       ether2-master-local
  \end{Verbatim}

  \begin{itemize}
    %% 
    \pause \item Dieser verteilt Adressen aus dem Pool 192.168.88.10 - 192.168.88.254
  \end{itemize}

\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] /ip> pool print
 # NAME                                         RANGES                         
 0 default-dhcp                                 192.168.88.10-192.168.88.254   
  \end{Verbatim}

\end{frame}
%% 
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Konfiguration der RouterBoards}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{DHCP Adressvergabe}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{DHCP Adressvergabe}}
  % 
  \begin{itemize}
    %% 
    \pause \item Das Routerboard zurücksetzen: Spannungsversorgung
    abstecken, den Reset-Taster auf der Vorderseite (RES) mit einem
    Bleistift betätigen und gedrückt halten, das Routerboard mit
    Spannung versorgen und den Taster dann loslassen, wenn die ACT-LED
    zu blinken beginnt. Wenn man zu lange mit dem Loslassen wartet,
    muss man den Reset-Vorgang wiederholen.%%
    %% 
    \pause \item Linux-Rechner und Routerboard mit Ethernet verbinden.%
    %% 
    \pause \item Auf Linux-Seite Schnittstelle eth1 oder eth2, beim
    Routerboard Switchport 2 verwenden.%
    %% 
  \end{itemize}


\end{frame}
%% 
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{DHCP Adressvergabe}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{DHCP Adressvergabe}}
  
  \begin{itemize}
    \pause \item Auf dem Linux-Rechner eine Root-Konsole öffnen und
    folgende Kommandos absetzen, evtl. Schnittstellennamen anpassen:%
  \end{itemize}

\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# ip link set down dev eth1
root@frank:~# dhclient eth1
root@frank:~# grep dhclient  /var/log/syslog
  \end{Verbatim}
  % 
  \begin{itemize}
    %% 
    \pause \item Das grep-Kommando listet alle Zeilen aus der
    log-Datei, die das Suchmuster \texttt{dhclient} enthalten
    %% 
    \pause \item Aufgabe: Suchen Sie die 4 dhcp-Protokoll Nachrichten,
    die zur Adressvergabe an den Linux-Rechner gehören und beschreiben
    Sie den genauen Ablauf der Adressvergabe.%
    %% 
  \end{itemize}

\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Mitschnitt der DHCP Adressvergabe}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Mitschnitt der DHCP Adressvergabe (1)}}
  %% 
  \begin{itemize}
    \pause \item Mit tcpdump aufgezeichnete Frames der
    DHCP-Adressvergabe. Es ist jeweils nur der Anfang der Frames
    dargestellt.%
  \end{itemize}
  \pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
DHCPDISCOVER: Client -> Welt
IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 90:e2:ba:21:cc:8c
   0x0000:  ffff ffff ffff 90e2 ba21 cc8c 0800 4510
   0x0010:  0148 0000 0000 8011 3996 0000 0000 ffff
   0x0020:  ffff 0044 0043 0134 8b81 0101 0600 f3dc

DHCPOFFER: Server an Client-Mac
IP 192.168.88.1.67 > 192.168.88.252.68: BOOTP/DHCP
   0x0000:  90e2 ba21 cc8c 4c5e 0cb1 7473 0800 4500
   0x0010:  0148 0000 0000 1011 7757 c0a8 5801 c0a8
   0x0020:  58fc 0043 0044 0134 d04a 0201 0600 f3dc
   0x0030:  5a03 0000 0000 0000 0000 c0a8 58fc c0a8
   0x0040:  5801 0000 0000 90e2 ba21 cc8c 0000 0000
  \end{Verbatim}
\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Mitschnitt der DHCP Adressvergabe}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Mitschnitt der DHCP Adressvergabe (2)}}
  %% 
  \begin{itemize}
  \pause \item Zweiter Teil der Mitschnitte:
  \end{itemize}
  \pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
DHCPREQUEST: Client -> Server
IP 192.168.88.252.68 > 192.168.88.1.67: BOOTP/DHCP, 
Request from 90:e2:ba:21:cc:8c
   0x0000:  4c5e 0cb1 7473 90e2 ba21 cc8c 0800 4500
   0x0010:  0148 3f0e 4000 4011 c848 c0a8 58fc c0a8
   0x0020:  5801 0044 0043 0134 3394 0101 0600 f3dc
   0x0030:  5a03 0000 0000 c0a8 58fc 0000 0000 0000

DHCPACK: Server -> Client
IP 192.168.88.1.67 > 192.168.88.252.68: BOOTP/DHCP
   0x0000:  90e2 ba21 cc8c 4c5e 0cb1 7473 0800 4500
   0x0010:  0148 0000 0000 1011 7757 c0a8 5801 c0a8
   0x0020:  58fc 0043 0044 0134 b3a5 0201 0600 f3dc
   0x0030:  5a03 0000 0000 c0a8 58fc c0a8 58fc c0a8
   0x0040:  5801 0000 0000 90e2 ba21 cc8c 0000 0000
  \end{Verbatim}
\end{frame}
%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Anmeldung am RouterBoard}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Anmeldung am RouterBoard}}
  \begin{itemize}
    \pause \item Melden Sie sich nun je einmal mit
    \textbf{telnet} und \textbf{ssh} am Routerboard an. Username ist
    dabei \texttt{admin}, Passwort leer lassen.%
    %% 
  \end{itemize}
\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# telnet 192.168.88.1
Trying 192.168.88.1...
Connected to 192.168.88.1.
Escape character is '^]'.

MikroTik v6.15
Login: admin
Password: 
  \end{Verbatim}
%
\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# ssh admin@192.168.88.1
  \end{Verbatim}

\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Anmeldung am RouterBoard}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Anmeldung am RouterBoard}}

  \begin{itemize}
  \pause \item Um ganz sicherzugehen, dass der Router wirklich
    keine alte Konfiguration mehr hat, kann man folgendes Kommando
    ausführen:
  \end{itemize}

\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] > /system reset-configuration
  \end{Verbatim}

  \begin{itemize}
    \pause \item Bei einem fabrikneuen RouterBoard muss evtl. noch das
    IPv6-Paket aktiviert werden:%
  \end{itemize}

\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] > /system package
[admin@MikroTik] /system package> print
[admin@MikroTik] /system package> enable {nummer des ipv6-pakets der printausgabe}
[admin@MikroTik] /system package> ..
[admin@MikroTik] /system > reboot
  \end{Verbatim}

\end{frame}
%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Installation und Konfiguration von DHCPv6 unter Linux}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Installation und Konfiguration von DHCPv6 unter Linux}}
  % 
  \begin{itemize}
    %% 
    \pause \item Auf dem Linux-Rechner wird der ISC-DHCP-Server
    installiert und konfiguriert%
    %% 
  \end{itemize}

\pause
  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# aptitude update
root@frank:~# aptitude install isc-dhcp-server
  \end{Verbatim}

  \begin{itemize}
    %% 
    \pause \item Untenstehende Konfigurationsdatei erzeugen und unter
    \texttt{/etc/dhcp/dhcpd.ipv6.conf} abspeichern.%  
    %% 
    \pause \item
    Wichtig: Die Konfigurationsdatei für den DHCP-Server \textbf{muss}
    im Verzeichnis \texttt{/etc/dhcp} stehen!%
    %% 
  \end{itemize}
  % 
\pause

  \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
default-lease-time 600;
max-lease-time 7200; 
log-facility local7; 
subnet6 2001:db8:0:1::/64 {

        # Range for clients
        range6 2001:db8:0:1::10 2001:db8:0:1::ff;

        # Prefix range for delegation to sub-routers
        prefix6 2001:db8:caf0:: 2001:db8:caff:: /48;
} 
  \end{Verbatim}
\end{frame}
%%
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Installation und Konfiguration von DHCPv6 unter Linux}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Installation und Konfiguration von DHCPv6 unter Linux}}
  % 
  \begin{itemize}
    \pause \item Das Interface, an dem der DHCPv6-Server auf Anfragen
    hört benötigt noch eine feste Adresse:%
  \end{itemize}
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# ip -6 addr add 2001:db8:0:1::1/64 dev eth1
  \end{Verbatim}

  \begin{itemize}
    %% 
    \pause \item Starten des dhcp-servers:
    %% 
  \end{itemize}
  % 
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@frank:~# cd /etc/dhcp
root@frank:/etc/dhcpd#  dhcpd -6 -f -cf ./dhcpd.ipv6.conf 
  \end{Verbatim}
\end{frame}
  % 
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Konfiguration des dhcp-clients der RouterBoards}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Konfiguration des dhcp-clients der RouterBoards}}
  % 
  \begin{itemize}
    \pause \item Der dhcp-client der Routerboards muss für die
    IPv6-Prefix-Delegation konfiguriert werden.%
    \pause \item Client einschalten und für den Empfang des
    IPv6-Präfixes einrichten.%
    \pause \item Der Präfix wird einem bestimmten Pool hinzugefügt.%
  \end{itemize}
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] /ipv6 dhcp-client> 
   add interface=ether2-master-local pool-name=schwimmbad 
  \end{Verbatim}

  \begin{itemize}
    %% 
    \pause \item Ausgeben des Pools:
    %% 
  \end{itemize}
  % 
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] /ipv6> pool print 
Flags: D - dynamic 
 #   NAME   PREFIX                                      PREFIX-LENGTH EXPIRES-AFTER       
 0 D sch... 2001:db8:caff::/48                                     64 7m30s 
  \end{Verbatim}
\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Konfiguration des dhcp-clients der RouterBoards}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Konfiguration des dhcp-clients der RouterBoards}}
  % 
  \begin{itemize}
    \pause \item Das Interface (hier ether3)
 an das die Hosts
    angeschlossen werden, bekommt statisch eine IPv6-Adresse. Der
    Präfix wird dem Pool entnommen.%
    \pause \item Router-Advertisements werden eingeschaltet.%
    \pause \item Keinen Zeilenumbruch im Kommando einfügen! Der ist
    hier nur wegen der Darstellung zu sehen.%
  \end{itemize}
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
[admin@MikroTik] /ipv6> 
   address add address=::1/64 from-pool=schwimmbad 
   interface=ether3-slave-local advertise=yes
  \end{Verbatim}
\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Adressbildung mit Router-Advertisements}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Adressbildung mit Router-Advertisements}}
  % 
  \begin{itemize}
    \pause \item Am Client-Interface (hier ether3) wird ein Host
    angeschlossen.%
    \pause \item Ist alles richtig konfiguriert, wird der Host einen
    IPv6-Präfix erhalten und damit zwei globale Unicast-Adressen
    erzeugen.%
  \end{itemize}
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
root@michel:~# ip -6 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:db8:caff:0:b10b:34c1:a7b5:c969/64 scope global temporary dynamic 
       valid_lft 604700sec preferred_lft 85700sec
    inet6 2001:db8:caff:0:67d:7bff:fe4d:bd18/64 scope global dynamic 
       valid_lft 2591900sec preferred_lft 604700sec
  \end{Verbatim}
\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Mitschnitt des Router-Advertisements}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Mitschnitt des Router-Advertisements}}
  % 
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
IP6 :: > ff02::1:ff4d:bd18: ICMP6, neighbor solicitation, 
who has fe80::67d:7bff:fe4d:bd18, length 24
    0x0000:  3333 ff4d bd18 047d 7b4d bd18 86dd 6000
    0x0010:  0000 0018 3aff 0000 0000 0000 0000 0000
    0x0020:  0000 0000 0000 ff02 0000 0000 0000 0000
    0x0030:  0001 ff4d bd18 8700 80de 0000 0000 fe80
    0x0040:  0000 0000 0000 067d 7bff fe4d bd18     
IP6 fe80::67d:7bff:fe4d:bd18 > ff02::2: ICMP6, 
router solicitation, length 16
    0x0000:  3333 0000 0002 047d 7b4d bd18 86dd 6000
    0x0010:  0000 0010 3aff fe80 0000 0000 0000 067d
    0x0020:  7bff fe4d bd18 ff02 0000 0000 0000 0000
    0x0030:  0000 0000 0002 8500 0168 0000 0000 0101
    0x0040:  047d 7b4d bd18                         
IP6 fe80::4e5e:cff:feb1:7473 > ff02::1: ICMP6, 
router advertisement, length 56
    0x0000:  3333 0000 0001 4c5e 0cb1 7473 86dd 6c00
    0x0010:  0000 0038 3aff fe80 0000 0000 0000 4e5e
    0x0020:  0cff feb1 7473 ff02 0000 0000 0000 0000
    0x0030:  0000 0000 0001 8600 d3cb 0000 0708 0000
    0x0040:  0000 0000 0000 0101 4c5e 0cb1 7473 0304
    0x0050:  40c0 0027 8d00 0009 3a80 0000 0000 2001
    0x0060:  0db8 caff 0000 0000 0000 0000 0000     
  \end{Verbatim}
\end{frame}
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection<article>{Mitschnitt des Router-Advertisements}
% 
\begin{frame}[fragile]
\setbeamercovered{transparent}
  \only<presentation>{\frametitle{Mitschnitt des Router-Advertisements}}
  % 
\pause
    \begin{Verbatim}[fontsize=\tiny,frame=single,framesep=1ex]
IP6 :: > ff02::1:ffb5:c969: ICMP6, neighbor solicitation, 
who has 2001:db8:caff:0:b10b:34c1:a7b5:c969, length 24
    0x0000:  3333 ffb5 c969 047d 7b4d bd18 86dd 6000
    0x0010:  0000 0018 3aff 0000 0000 0000 0000 0000
    0x0020:  0000 0000 0000 ff02 0000 0000 0000 0000
    0x0030:  0001 ffb5 c969 8700 60e4 0000 0000 2001
    0x0040:  0db8 caff 0000 b10b 34c1 a7b5 c969     
IP6 :: > ff02::1:ff4d:bd18: ICMP6, neighbor solicitation, 
who has 2001:db8:caff:0:67d:7bff:fe4d:bd18, length 24
    0x0000:  3333 ff4d bd18 047d 7b4d bd18 86dd 6000
    0x0010:  0000 0018 3aff 0000 0000 0000 0000 0000
    0x0020:  0000 0000 0000 ff02 0000 0000 0000 0000
    0x0030:  0001 ff4d bd18 8700 86a6 0000 0000 2001
    0x0040:  0db8 caff 0000 067d 7bff fe4d bd18     

  \end{Verbatim}
\end{frame}
  % 
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}
