\documentclass[svv,addpoints]{exam}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[hyphens]{url}
\usepackage{hyperref}
\usepackage{prettyref,varioref}
\usepackage[natbib,style=numeric-comp]{biblatex}
\addbibresource{literature.bib}

\printanswers

\title{DT153G -- Nätverksteknik A\\
Inlämningsuppgift 2 -- The Internship part \MakeUppercase{\romannumeral 3}}
\author{Lennart Franked\footnote{%
  E-post: \href{mailto:lennart.franked@miun.se}{lennart.franked@miun.se}.
}
}
\date{\today}

%\setlength{\parindent}{0pt}
\begin{document}
\maketitle

\section{Reading Instructions}
Before being able to finish Homework \MakeUppercase{\romannumeral 2}, you must
have read \cite[Chapters 1-11]{2014RSE}, and attended or read all the lectures 
given in the second part of this course.

\section{Tasks}
\label{sec:Tasks}

\subsection{The Fika break}
\label{subsec:questions}
\begin{questions}
  \question[3]
  'The only difference between an expensive switch and a cheap one is the number
  of ports and what layer it works on' the hippie says to the boss. As an intern
  it is important to show that you are knowledgeable so you decide to jump in to
  the discussion here. \emph{Explain to the boss the difference between a layer
  2, 3 or 4 switch.}

  \question
  The stiff hippie tries to get back the attention. Well, in the end there is
  just a bunch of \emph{standard ethernet-ports on a switch}, and when running
  \emph{VLAN}, that is all that matters.

  Poor that stiff hippie\ldots
  \begin{parts}
    \part[2] Explain about the two ethernet standards that are in use today.
    \begin{solution}
      \ldots
    \end{solution}
    \part[4] In the context of VLAN,explain when each standard is used. Your 
    explanation should contain VLAN tagging and VLAN trunking.
    \begin{solution}
      \ldots
    \end{solution}
  \end{parts}

  \question[4]
  The hippie was listening intensely on your explanation, finally the guard was 
  dropped. You could see a realization appearing in the hippies eyes, it is 
  better to be humble and true to one self than to pretend to be all knowing.

  \emph{`The good thing with VLAN is the security it adds, and the impossibility
  to access one VLAN from another.'} the hippie adds.
  Inform about the \emph{two types of attacks on VLANs} that are mentioned in 
  the course literature, and \emph{how to protect the network from those attacks}.
  \begin{solution}
    \ldots
  \end{solution}

  \question[4]
  'Let's leave this switch business for a while now' the boss cries. 'Speaking
  of which' the hippie quickly adds. 'I'm thinking of \emph{replacing all
  the internal routers with switches and run inter-VLAN routing.} I am a bit
  uncertain whether I should use \emph{routed ports or SVI-ports} to achieve
  this.' A large sigh followed by some incomprehensible mumbling is heard
  from the boss's direction\ldots \emph{Explain to the stiff hippie the 
    difference between routed ports and SVI, and in what situations it is
  suitable to use them.}
  \begin{solution}
    \ldots
  \end{solution}

  \question[6] 
  '\emph{Currently we are running RIPv2} on our routers, however since it
  is a rather small network, It would be easier to just \emph{set
  up a couple of static routes} and be done with it.' The stiff hippie
  continues. \emph{Discuss with the hippie the four main types of static
  routes and when each type is used.}
  \begin{solution}
    \ldots
  \end{solution}

  \question
  'Please please please stop talking about switching' 'The Boss' almost
  screams. Since you really don't want to get on the boss's bad, side you
  decide to switch topics. \emph{'How is the network set up right now with
  the routers?'} A large bang is heard and most of the cutlery on the table
  got to experience the feeling of flight. The boss slammed his head in
  the table. 'That is not what I meant by stop talking about switching'
  the boss mumbled. The stiff hippie brought up a tablet, searched for the
  documentation, hesitated for a while and then with an embarrassed face
  showed you the topology.

  \begin{parts}
    \part[2] Calculate what path the packets will take when sent from router A
    to router F, when the routing protocol in use is RIPv2.
    \begin{solution}
      \ldots
    \end{solution}
    \part[2] What will the cost of this path(RIPv2) be?
    \begin{solution}
      \ldots
    \end{solution}
    \part[2] Calculate what path the packets will take when sent from router A
    to router F, when the routing protocol in use is OSPF.
    \begin{solution}
      \ldots
    \end{solution}
    \part[2] What will the cost of this path(OSPF) be? Assume that the correct
    bandwidth has been configured.
    \begin{solution}
      \ldots
    \end{solution}
    \part[2] Tell the stiff hippie which routing protocol you would think be 
    best suitable for this network, if they would choose to continue running a
    routing protocol.
    \begin{solution}
      \ldots
    \end{solution}
    \part[2] Based on your new knowledge about the network, would it be better
    to configure static routes or use a routing protocol?
    \begin{solution}
      \ldots
    \end{solution}
  \end{parts}

  \question
  'The Boss' finally realized that instead of whining about the topic he could
  change it himself. 'I read that \emph{IPv6} will use a sort of self generating system
  to create a unique IP-address (he is referring to \emph{EUI-64, or to just randomly
  generate the last 64 bits}).' Both you and the hippie confirm this. 'Then
  \emph{what is the point with DHCPv6?}' he continues.

  \begin{parts}
    \part[4] Give an explanation of how the address hierachy of IPv6 is
    built.
    \begin{solution}
      \ldots
    \end{solution}
    \part[3] Inform the boss about Stateless Address Autoconfiguration (SLAAC)
    \begin{solution}
      \ldots
    \end{solution}
    \part[3] Inform the boss about SLAAC with DHCPv6
    \begin{solution}
      \ldots
    \end{solution}
    \part[3] Finally explain stateful DHCPv6.
    \begin{solution}
      \ldots
    \end{solution}
  \end{parts}

\end{questions}

\printbibliography
\end{document}
