Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / intro_ipv6

Presentazione beamer su IPv6.

Clone this repository (size: 2.1 MB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/intro_ipv6
hg clone ssh://hg@bitbucket.org/nolith/intro_ipv6

intro_ipv6 / Presentazione.tex

commit
342d76faf532
parent
4eeb9c8e2bc5
branch
default

typo + errore nell'algoritmo EUI-64

1
ef7af8537f95
%!TEX root = /Users/nolith/Documents/Projects/presen/intro_ipv6/ipv6.slides.tex
2
f6c754e3eeb6
3
f6c754e3eeb6
%decommentare per stampare + slide su una sola pagina
4
f6c754e3eeb6
%\usepackage{pgfpages}
5
f6c754e3eeb6
%\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm]
6
f6c754e3eeb6
7
f6c754e3eeb6
% =-> Tema Beamer.
8
f6c754e3eeb6
%\usetheme{Warsaw} % {progressbar} o altro...
9
f6c754e3eeb6
%\usecolortheme{progressbar} % {progressbar} or {dolphin} or {wolverine} or {whale} or {crane} or {seagull}
10
f6c754e3eeb6
%\usefonttheme{professionalfonts} % {progressbar} or {structureitalicserif} or {serif}
11
f6c754e3eeb6
12
f6c754e3eeb6
%\useinnertheme{}
13
f6c754e3eeb6
%\useoutertheme{}
14
f6c754e3eeb6
% Progress Bar
15
f6c754e3eeb6
%\useinnertheme{progressbar}
16
f6c754e3eeb6
%\useoutertheme{progressbar}
17
f6c754e3eeb6
%
18
f6c754e3eeb6
\setbeamercovered{dynamic}
19
f6c754e3eeb6
% o altro (possibly just delete it)
20
f6c754e3eeb6
21
f6c754e3eeb6
\usetheme[pageofpages=di,% String used between the current page and the
22
f6c754e3eeb6
                         % total page count.
23
f6c754e3eeb6
          bullet=circle,% Use circles instead of squares for bullets.
24
f6c754e3eeb6
          titleline=true,% Show a line below the frame title.
25
f6c754e3eeb6
          alternativetitlepage=true,% Use the fancy title page.
26
ef7af8537f95
          titlepagelogo=logo-lart,% Logo for the first page.
27
c4ed9b387327
          watermark=licenza_small,% Watermark used in every page.
28
c4ed9b387327
          watermarkheight=2px,% Height of the watermark.
29
f6c754e3eeb6
          %watermarkheightmult=4,% The watermark image is 4 times bigger
30
f6c754e3eeb6
                                % than watermarkheight.
31
f6c754e3eeb6
          ]{Torino}
32
f6c754e3eeb6
33
f6c754e3eeb6
%colori per i box
34
f6c754e3eeb6
\setbeamercolor{lowercolor}{fg=black,bg=white}
35
f6c754e3eeb6
\setbeamercolor{uppercolor}{fg=black,bg=chameleongreen2}
36
c4ed9b387327
\setbeamercolor{section in toc}{fg=chameleongreen3}
37
c4ed9b387327
\setbeamercolor{structure}{fg=chameleongreen3}
38
f6c754e3eeb6
39
f6c754e3eeb6
\newenvironment{colorblock}
40
f6c754e3eeb6
{\begin{beamerboxesrounded}[upper=uppercolor,lower=lowercolor,shadow=true]}
41
f6c754e3eeb6
{\end{beamerboxesrounded}}
42
f6c754e3eeb6
43
f6c754e3eeb6
\newenvironment{tl_itm_year}[1]
44
f6c754e3eeb6
{\begin{colorblock}{#1}\begin{itemize}}
45
f6c754e3eeb6
{\end{itemize}\end{colorblock}}
46
f6c754e3eeb6
47
b0824ccd5f09
\newcommand{\tlelement}[3] {\only<presentation:#1>{\begin{tl_itm_year}{#2} #3 \end{tl_itm_year}}}
48
f6c754e3eeb6
49
e16e32db07d5
50
e16e32db07d5
\usepackage{multirow}
51
e16e32db07d5
\usepackage{array}
52
e16e32db07d5
\newcolumntype{x}[1]{%
53
e16e32db07d5
>{\centering\hspace{0pt}}p{#1}}%
54
e16e32db07d5
\newcommand{\tn}{\tabularnewline}
55
e16e32db07d5
\newcommand{\tnhl}{\tabularnewline\hline}
56
e16e32db07d5
57
f6c754e3eeb6
%\beamertemplatetransparentcoveredhigh
58
f6c754e3eeb6
% =-> Package relativi alla gestione della Lingua.
59
f6c754e3eeb6
\usepackage[italian]{babel}
60
f6c754e3eeb6
61
f6c754e3eeb6
\usepackage[utf8]{inputenc}
62
f6c754e3eeb6
%\usepackage{lmodern} % <- Aggiunta nel caso si abiliti T1 e siano assenti i Font Cm-Super.
63
f6c754e3eeb6
%\usepackage[T1]{fontenc}  % <---- Aggiunta Consigliata.
64
f6c754e3eeb6
% O altro. Ricorda che 'encoding' e 'font' dovrebbero combaciare.
65
f6c754e3eeb6
% Se T1 non risulta ottimo, prova a cancellare la riga con fontenc.
66
f6c754e3eeb6
67
f6c754e3eeb6
% Package relativi all'uso di materiale matematico.
68
f6c754e3eeb6
%\usepackage{amsmath}
69
f6c754e3eeb6
%\usepackage{amsfonts}
70
f6c754e3eeb6
%\usepackage{amssymb}
71
f6c754e3eeb6
% Per costruzione Tabelle.
72
f6c754e3eeb6
%\usepackage{booktabs}
73
f6c754e3eeb6
%Per gestione "figure in testo"
74
f6c754e3eeb6
%\usepackage{wrapfig}
75
f6c754e3eeb6
% Per gestione url.
76
f6c754e3eeb6
\usepackage{url}
77
f6c754e3eeb6
% Package relativi all'uso di codice di programmazione [alternativa a verbatim].
78
f6c754e3eeb6
% \usepackage{listings}
79
f6c754e3eeb6
% Package per la gestione "frecce".
80
f6c754e3eeb6
%\usepackage{pifont}
81
f6c754e3eeb6
\usepackage{bytefield}
82
e16e32db07d5
%definiamo i bitbox colorati
83
e16e32db07d5
\newcommand{\colorbitbox}[3]{% 
84
e16e32db07d5
\rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}% 
85
e16e32db07d5
\bitbox{#2}{#3}}
86
f6c754e3eeb6
\usepackage{tikz}
87
f6c754e3eeb6
\usetikzlibrary{fit,arrows,calc,chains,positioning}
88
f6c754e3eeb6
89
f6c754e3eeb6
%immagini per tikz
90
f6c754e3eeb6
\pgfdeclareimage{schermo}{immagini/schermo}
91
f6c754e3eeb6
\pgfdeclareimage{case}{immagini/case}
92
f6c754e3eeb6
\pgfdeclareimage{router}{immagini/router}
93
f6c754e3eeb6
\pgfdeclareimage{nuvola}{immagini/nuvola}
94
f6c754e3eeb6
\pgfdeclareimage{firewall}{immagini/firewall}
95
f6c754e3eeb6
96
f6c754e3eeb6
97
f6c754e3eeb6
%stili per tikz
98
f6c754e3eeb6
\tikzstyle{subnet}+=[rectangle,very thin,draw=gray]
99
f6c754e3eeb6
\tikzstyle{olink}+=[color=chameleongreen1,thick]
100
f6c754e3eeb6
101
f6c754e3eeb6
102
f6c754e3eeb6
%corregge il warning sulla dimensione dei font
103
f6c754e3eeb6
\renewcommand{\fontsubfuzz}{1pt}
104
f6c754e3eeb6
105
f6c754e3eeb6
% Directory ove sono presenti le Immagini.
106
f6c754e3eeb6
\graphicspath{{immagini/}}
107
f6c754e3eeb6
108
f6c754e3eeb6
109
f6c754e3eeb6
% Titolo !
110
ef7af8537f95
\title{Introduzione a IPv6}
111
f6c754e3eeb6
112
f6c754e3eeb6
\author{Alessio Caiazza}
113
f6c754e3eeb6
114
f6c754e3eeb6
\institute{
115
f6c754e3eeb6
\scriptsize
116
ef7af8537f95
%Relatori: \\
117
ef7af8537f95
%Ing. Tommaso Pecorella \\
118
ef7af8537f95
%Prof. Romano Fantacci \\
119
ef7af8537f95
%\vspace{0.25in}
120
ef7af8537f95
Gestione e sicurezza delle reti di telecomunicazione \\
121
f6c754e3eeb6
Università degli Studi di Firenze \\ 
122
ef7af8537f95
Facoltà di Ingegneria%\\Dipartimento di Informatica
123
f6c754e3eeb6
}
124
f6c754e3eeb6
125
4eeb9c8e2bc5
%\date{\today}
126
4eeb9c8e2bc5
\date{17 novembre 2009}
127
f6c754e3eeb6
128
f6c754e3eeb6
% Per inserire il Logo dell'Univ.
129
f6c754e3eeb6
\pgfdeclareimage[height=1.15cm]{LogoUniF}{immagini/LogoUniF}
130
f6c754e3eeb6
\logo{\pgfuseimage{LogoUniF}}
131
f6c754e3eeb6
132
b0824ccd5f09
% Utilizza l'outline
133
b0824ccd5f09
%\AtBeginSection[]
134
b0824ccd5f09
%{
135
b0824ccd5f09
%   \begin{frame}
136
b0824ccd5f09
%       \frametitle{Outline}
137
b0824ccd5f09
%       \tableofcontents[currentsection]
138
b0824ccd5f09
%   \end{frame}
139
b0824ccd5f09
%}
140
40d45ba2de56
%\AtBeginSubsection[] 
141
40d45ba2de56
%{ 
142
40d45ba2de56
%\begin{frame}<beamer> 
143
40d45ba2de56
%\frametitle{Sommario} 
144
40d45ba2de56
%\tableofcontents[subsectionstyle=show/shaded/hide] 
145
40d45ba2de56
%\end{frame} 
146
40d45ba2de56
%} 
147
40d45ba2de56
\AtBeginSubsection[] % Do nothing for \section*
148
40d45ba2de56
{ \begin{frame}<beamer>
149
40d45ba2de56
\frametitle{Sommario}
150
40d45ba2de56
{\footnotesize
151
40d45ba2de56
\begin{columns}
152
40d45ba2de56
\begin{column}{0.5\textwidth}
153
40d45ba2de56
\tableofcontents[subsectionstyle=show/shaded/hide,sections={1-3}]
154
40d45ba2de56
\end{column}
155
40d45ba2de56
\begin{column}{0.5\textwidth}
156
c4ed9b387327
\tableofcontents[subsectionstyle=show/shaded/hide,sections={4-6}]
157
40d45ba2de56
\end{column}
158
40d45ba2de56
\end{columns}
159
40d45ba2de56
}
160
40d45ba2de56
\end{frame} }
161
f6c754e3eeb6
162
f6c754e3eeb6
163
f6c754e3eeb6
% Inizio Presentazione.
164
f6c754e3eeb6
\begin{document}
165
f6c754e3eeb6
166
f6c754e3eeb6
% Prima pagina
167
f6c754e3eeb6
\begin{frame}[t,plain]
168
f6c754e3eeb6
\titlepage
169
f6c754e3eeb6
\end{frame}
170
f6c754e3eeb6
% Indice
171
f6c754e3eeb6
%\frame{\tableofcontents}
172
f6c754e3eeb6
173
f6c754e3eeb6
\section{Perch\'e IPv6}
174
f6c754e3eeb6
175
35a9caac5cef
\subsection{IPv6}
176
35a9caac5cef
\begin{frame}\frametitle{IPv6}
177
35a9caac5cef
IPv6 \`e la nuova versione del protocollo IP, \`e stato progettato per risolvere le debolezze di IPv4 e per esaltarne i punti di forza.
178
35a9caac5cef
179
35a9caac5cef
%\begin{itemize}[<+->]
180
35a9caac5cef
%	\item Un indirizzo IPv6 \texttt{2001:0db8:85a3:08d3:1319:8a2e:0370:7344}
181
35a9caac5cef
%	\item la notazione CIDR per i prefix
182
35a9caac5cef
%\end{itemize}
183
35a9caac5cef
184
35a9caac5cef
\vspace{1.5cm}
185
35a9caac5cef
186
35a9caac5cef
\pause
187
35a9caac5cef
\begin{colorblock}{Vantaggi di IPv6}
188
35a9caac5cef
\begin{itemize}
189
35a9caac5cef
\item Maggior spazio di indirizzamento
190
35a9caac5cef
\item Abolizione dei NAT
191
35a9caac5cef
\item Header semplificato
192
35a9caac5cef
\item Autoconfigurazione
193
35a9caac5cef
\end{itemize}
194
35a9caac5cef
\end{colorblock}
195
35a9caac5cef
\end{frame}
196
35a9caac5cef
197
35a9caac5cef
198
f6c754e3eeb6
\subsection{Timeline}
199
f6c754e3eeb6
\begin{frame}[t]\frametitle{Gli indirizzi IP stanno finendo?}
200
f6c754e3eeb6
\begin{tikzpicture}[timeline/.style={->,color=chameleongreen1,thick},
201
f6c754e3eeb6
                     every text node/.style={tiny text},
202
f6c754e3eeb6
                     year label/.style={anchor=south west,rotate=45},
203
f6c754e3eeb6
                     today/.style={<-,very thick,draw,color=chameleongreen3},
204
f6c754e3eeb6
                     fact label/.style={anchor=east,yshift=-.7cm,rotate=45},]
205
f6c754e3eeb6
	\draw[timeline] (-.5,0) -- (11.5,0);
206
f6c754e3eeb6
	%red line
207
f6c754e3eeb6
	\setbeamercovered{invisible}
208
b0824ccd5f09
	\uncover<presentation:8->{ \draw[timeline,color=red] (8,0) -- (11.5,0);}
209
b0824ccd5f09
	\uncover<presentation:11->{
210
f6c754e3eeb6
	\draw (9,0) node[year label] (2011) {\small \color{red}{2011}} +(0,-3pt) -- +(0,3pt);
211
f6c754e3eeb6
	\draw (9.5,0) node[year label] (2012) {\small \color{red}{2012}} +(0,-3pt) -- +(0,3pt);
212
f6c754e3eeb6
	\path[today,color=red] (2011) -- +(0,+1cm);
213
f6c754e3eeb6
	\path[today,color=red] (2012) -- +(0,+1cm);
214
f6c754e3eeb6
	}
215
f6c754e3eeb6
	\setbeamercovered{dynamic}
216
f6c754e3eeb6
	\draw (0,0) node[year label] (1993) {\small 1993} +(0,-3pt) -- +(0,3pt);
217
f6c754e3eeb6
	\draw (1,0) node[year label] (1995) {\small 1995} +(0,-3pt) -- +(0,3pt);
218
f6c754e3eeb6
	\draw (2,0) node[year label] (1997) {\small 1997} +(0,-3pt) -- +(0,3pt);
219
f6c754e3eeb6
	\draw (3,0) node[year label] (1999) {\small 1999} +(0,-3pt) -- +(0,3pt);
220
f6c754e3eeb6
	\draw (3.5,0) node[year label] (2000) {\small 2000} +(0,-3pt) -- +(0,3pt);
221
f6c754e3eeb6
	\draw (5,0) node[year label] (2003) {\small 2003} +(0,-3pt) -- +(0,3pt);
222
f6c754e3eeb6
	\draw (5.5,0) node[year label] (2004) {\small 2004} +(0,-3pt) -- +(0,3pt);
223
f6c754e3eeb6
	\draw (6,0) node[year label] (2005) {\small 2005} +(0,-3pt) -- +(0,3pt);
224
f6c754e3eeb6
	\draw (6.5,0) node[year label] (2006) {\small 2006} +(0,-3pt) -- +(0,3pt);
225
f6c754e3eeb6
	\draw (7.5,0) node[year label] (2008) {\small 2008} +(0,-3pt) -- +(0,3pt);
226
f6c754e3eeb6
	\draw (8,0) node[year label] (2009) {\small 2009} +(0,-3pt) -- +(0,3pt);
227
f6c754e3eeb6
	\draw (11,0) node[year label] (2016) {\small 2016} +(0,-3pt) -- +(0,3pt);
228
f6c754e3eeb6
	%freccie today
229
b0824ccd5f09
	\only<presentation:1>{\path[today] (1993) -- +(0,+1cm);}
230
b0824ccd5f09
	\only<presentation:2>{\path[today] (1995) -- +(0,+1cm);}
231
b0824ccd5f09
	\only<presentation:3>{\path[today] (1997) -- +(0,+1cm);}
232
b0824ccd5f09
	\only<presentation:4>{\path[today] (1999) -- +(0,+1cm);}
233
b0824ccd5f09
	\only<presentation:5>{\path[today] (2000) -- +(0,+1cm);}
234
b0824ccd5f09
	\only<presentation:6>{\path[today] (2003) -- +(0,+1cm);}
235
b0824ccd5f09
	\only<presentation:7>{\path[today] (2004) -- +(0,+1cm);}
236
b0824ccd5f09
	\only<presentation:8>{\path[today] (2005) -- +(0,+1cm);}
237
b0824ccd5f09
	\only<presentation:9>{\path[today] (2006) -- +(0,+1cm);}
238
b0824ccd5f09
	\only<presentation:10>{\path[today] (2008) -- +(0,+1cm);}
239
b0824ccd5f09
	\only<presentation:11>{\path[today] (2009) -- +(0,+1cm);}
240
f6c754e3eeb6
	%fatti
241
f6c754e3eeb6
	\draw (1993) node[fact label] {\tiny CIDR}; 
242
b0824ccd5f09
	\uncover<presentation:2->{ \draw (1995) node[fact label] {\tiny IPv6}; }
243
b0824ccd5f09
	\uncover<presentation:3->{ \draw (1997) node[fact label] {\tiny SURFNet}; }
244
b0824ccd5f09
	\uncover<presentation:4->{ \draw (1999) node[fact label] {\tiny IPv6 Forum}; }
245
b0824ccd5f09
	\uncover<presentation:5->{ \draw (2000) node[fact label] {\tiny SixXS}; }
246
b0824ccd5f09
	\uncover<presentation:6->{ \draw (2003) node[fact label] {\tiny Parte 6bone - Asia}; }
247
b0824ccd5f09
	\uncover<presentation:7->{ \draw (2004) node[fact label] {\tiny Supporto a IPv6 dai vendor}; }
248
b0824ccd5f09
	\uncover<presentation:8->{ \draw (2005) node[fact label] {\tiny USA};}
249
b0824ccd5f09
	\uncover<presentation:9->{ \draw (2006) node[fact label] {\tiny Termina 6bone}; }
250
b0824ccd5f09
	\uncover<presentation:10->{ \draw (2008) node[fact label] {\tiny Root DNS - UE - Beijing}; }
251
b0824ccd5f09
	\uncover<presentation:11->{ \draw (2009) node[fact label] {\tiny OGGI}; }
252
f6c754e3eeb6
\end{tikzpicture}
253
f6c754e3eeb6
254
f6c754e3eeb6
\tlelement{1}{1993}{\item Viene introdotto CIDR per arginare il problema della fine degli indirizzi IP.}
255
f6c754e3eeb6
\tlelement{2}{1995}{\item Nasce ufficialmente IPv6 (RFC 1752).}
256
f6c754e3eeb6
\tlelement{3}{1997}{\item SURFNet, maintainer della rete accademica olandese, migra a IPv6.}
257
f6c754e3eeb6
\tlelement{4}{1999}{\item Nascita di IPv6Forum e delle task force regionali.}
258
f6c754e3eeb6
\tlelement{5}{2000}{\item Nasce SixXS, uno dei più grandi tunnel broker.}
259
f6c754e3eeb6
\tlelement{6}{2003}{\item Parte il testbed 6bone\item Giappone, Cina e Corea del Sud annunciano di voler diventare leader nel settore IPv6.}
260
f6c754e3eeb6
\tlelement{7}{2004}{\item La maggior parte degli apparati di rete supportano IPv6.}
261
f6c754e3eeb6
\tlelement{8}{2005}{\item Il governo USA richiede che tutti i backbone delle agenzie federali migrino a IPv6 entro il 2008.\item Sify, ISP indiano, fornisce connettività IPv6 end-user.\item Tony Hain di Cisco Systems pubblica uno studio stimando la fine degli indirizzi IPv4 tra il 2009 e il 2016.}
262
f6c754e3eeb6
\tlelement{9}{2006}{\item Viene dichiarata conclusa con successo la sperimentazione 6bone.}
263
f6c754e3eeb6
\tlelement{10}{2008}{\item I root DNS sono raggiungibili anche in IPv6.\item La Comunità Europea richiede l'adozione di IPv6 per almeno il 25\% della popolazione comunitaria entro il 2010.\item La Cina, con le olimpiadi di Beijing, fa il più grande uso mai visto di tecnologia IPv6.}
264
f6c754e3eeb6
\tlelement{11}{2009} {\item A oggi gli studi di Geoff Huston individuano la fine degli indirizzi IPv4 fra agosto 2011 e giugno 2012.}
265
f6c754e3eeb6
\end{frame}
266
f6c754e3eeb6
267
35a9caac5cef
\subsection{Vantaggi principali}
268
f6c754e3eeb6
\begin{frame}[plain]
269
f6c754e3eeb6
\setbeamercovered{invisible}
270
f6c754e3eeb6
\tikzstyle{every picture}+=[remember picture]
271
f6c754e3eeb6
\tikzstyle{v6 arrow}+=[<<-,ultra thick,draw]
272
f6c754e3eeb6
\tikzstyle{ipv4}+=[rectangle,minimum size=1cm,fill=chameleongreen1,draw=chameleongreen3]
273
f6c754e3eeb6
\tikzstyle{na} = [baseline=-.5ex]
274
f6c754e3eeb6
275
f6c754e3eeb6
\vspace{12em}
276
f6c754e3eeb6
277
f6c754e3eeb6
\begin{itemize}
278
f6c754e3eeb6
\item<2-> Spazio di indirizzamento IPv4 \tikz[na] \node[coordinate] (ipv4_text) {};
279
f6c754e3eeb6
  \begin{itemize}
280
f6c754e3eeb6
  \item<3-> $2^{32} = 4`294`967`296 $ indirizzi
281
f6c754e3eeb6
  \end{itemize}
282
f6c754e3eeb6
\item<4-> Spazio di indirizzamento IPv6 \tikz[na] \node[coordinate] (ipv6_text) {};
283
f6c754e3eeb6
  \begin{itemize}
284
f6c754e3eeb6
  \item<5-> $2^{128} = 340`282`366`920`938`463`463`374`607`431`768`211`456$ indirizzi
285
f6c754e3eeb6
  \item<6-> Per mantenere le proporzioni dovremmo colorare di bianco l'intera superficie del Sistema Solare!
286
f6c754e3eeb6
  \item<7-> Pi\`u di $6.66 \cdot 10^{23}$ indirizzi per metro quadrato della superficie terrestre (cioè 666 mila miliardi di miliardi).
287
f6c754e3eeb6
  \end{itemize}
288
35a9caac5cef
\end{itemize} 
289
35a9caac5cef
290
35a9caac5cef
\begin{tikzpicture}[remember picture,overlay]
291
35a9caac5cef
  \node at ($(current page.center) + (0,2cm) $) [ipv4] (ipv4) {} ;
292
35a9caac5cef
  \coordinate (ipv6) at ($ (ipv4) + (2cm,-.5cm) $);
293
35a9caac5cef
294
35a9caac5cef
  \path[->]<2-> (ipv4_text) edge [bend right] (ipv4);
295
35a9caac5cef
  \path[->]<4-> (ipv6_text) edge [bend right] (ipv6);
296
35a9caac5cef
  \begin{actionenv}<6->
297
35a9caac5cef
  %\path[v6 arrow] (current page.north west) -- +(-1cm,-1cm);
298
35a9caac5cef
  \path[v6 arrow] (current page.north) -- +(0,-.5cm); %(current page.south);
299
35a9caac5cef
  \path[v6 arrow] (current page.south) -- +(0,+.5cm);
300
35a9caac5cef
  \path[v6 arrow] (current page.west) -- +(+.5cm,0);
301
35a9caac5cef
  \path[v6 arrow] (current page.east) -- +(-.5cm,0);
302
35a9caac5cef
  \end{actionenv}
303
35a9caac5cef
\end{tikzpicture}
304
f6c754e3eeb6
305
f6c754e3eeb6
\end{frame}
306
f6c754e3eeb6
307
f6c754e3eeb6
\begin{frame}\frametitle{Network Address Translation (NAT)}
308
f6c754e3eeb6
%\begin{actionenv}<only@1-6>
309
f6c754e3eeb6
Il Network Address Translation (NAT) è una tecnica che consiste nel modificare gli indirizzi IP dei pacchetti in transito su un sistema che agisce da router. \pause
310
f6c754e3eeb6
311
f6c754e3eeb6
%Viene detto IP masquerading un caso particolare di source NAT, in cui le connessioni generate da un insieme di computer vengono "presentate" verso l'esterno con un solo indirizzo IP.
312
f6c754e3eeb6
%\pause
313
f6c754e3eeb6
	
314
f6c754e3eeb6
%Il NAT non è ben visto dai puristi delle reti, in quanto mina profondamente la semplicità di IP, e in particolare viola il principio della comunicazione "da qualsiasi host a qualsiasi host" (any to any). Questa critica "filosofica" si ripercuote in conseguenze pratiche:
315
f6c754e3eeb6
316
f6c754e3eeb6
\begin{itemize}
317
f6c754e3eeb6
\item L'instradamento dei pacchetti viene a dipendere anche da caratteristiche di livello di trasporto.
318
f6c754e3eeb6
\item Le configurazioni NAT possono diventare molto complesse e di difficile comprensione.
319
f6c754e3eeb6
\item L'apparato che effettua il NAT ha bisogno di mantenere in memoria lo stato delle connessioni attive in ciascun momento.
320
f6c754e3eeb6
\item Alcune applicazioni inseriscono nel payload informazioni relative al livello IP o TCP/UDP.
321
f6c754e3eeb6
\item IL NAT penalizza fortemente il peer-to-peer e tutti i programmi per la condivisione di file.
322
f6c754e3eeb6
\end{itemize}
323
f6c754e3eeb6
%\end{actionenv}
324
f6c754e3eeb6
%\begin{actionenv}<only@7>
325
f6c754e3eeb6
%%questo riporta l'immagine in alto
326
f6c754e3eeb6
%%\vspace{-7cm}
327
f6c754e3eeb6
%\begin{center}
328
f6c754e3eeb6
%	\includegraphics[scale=.37]{nat}
329
f6c754e3eeb6
%\end{center}
330
f6c754e3eeb6
%\end{actionenv}
331
f6c754e3eeb6
%	
332
f6c754e3eeb6
\end{frame}
333
f6c754e3eeb6
334
f6c754e3eeb6
\begin{frame}[fragile]\frametitle{Header semplificato}
335
f6c754e3eeb6
\begin{columns}
336
f6c754e3eeb6
\begin{column}{5.5cm}
337
f6c754e3eeb6
\begin{bytefield}{32} 
338
f6c754e3eeb6
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
339
f6c754e3eeb6
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
340
f6c754e3eeb6
\bitbox{20}{Flow Label} \\ 
341
f6c754e3eeb6
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
342
f6c754e3eeb6
\bitbox{8}{Hop Limit} \\
343
f6c754e3eeb6
\wordbox{4}{Source Address}\\
344
f6c754e3eeb6
\wordbox{4}{Destination Address} 
345
f6c754e3eeb6
\end{bytefield}
346
f6c754e3eeb6
\end{column}
347
f6c754e3eeb6
\begin{column}{5.5cm}
348
f6c754e3eeb6
\begin{actionenv}<only@2->
349
f6c754e3eeb6
\begin{colorblock}{Vantaggi di IPv6}
350
f6c754e3eeb6
\begin{itemize}
351
f6c754e3eeb6
\item<2-> Lunghezza fissa 40 byte
352
f6c754e3eeb6
\item<3-> Rimosso il controllo di errore
353
f6c754e3eeb6
\item<4-> Rimossa la frammentazione
354
f6c754e3eeb6
\item<5-> Header Extensions
355
f6c754e3eeb6
\end{itemize}
356
f6c754e3eeb6
\end{colorblock}
357
f6c754e3eeb6
\end{actionenv}
358
f6c754e3eeb6
\end{column}
359
f6c754e3eeb6
\end{columns}
360
f6c754e3eeb6
\end{frame}
361
f6c754e3eeb6
362
f6c754e3eeb6
363
f6c754e3eeb6
\begin{frame}\frametitle{Autoconfigurazione}
364
f6c754e3eeb6
\begin{itemize}
365
f6c754e3eeb6
366
f6c754e3eeb6
%\begin{columns} % the "c" option specifies center vertical alignment
367
f6c754e3eeb6
%\column{.4\textwidth} % column designated by a command
368
f6c754e3eeb6
\item Anche in assenza di un router i nodi connessi allo stesso switch sono in grado di {\color{chameleongreen3}generare autonomamente un indirizzo locale per garantire la comunicazione}. (link-local unicast)
369
f6c754e3eeb6
370
f6c754e3eeb6
\item Il comportamento predefinito di un router è di {\color{chameleongreen3}annunciare la propria rete affinch\'e i nodi possano generare autonomamente un indirizzo}. (global unicast)
371
f6c754e3eeb6
%\column{.6\textwidth}
372
f6c754e3eeb6
%\includegraphics[scale=.35]{calcio}
373
f6c754e3eeb6
%\end{columns}
374
f6c754e3eeb6
\end{itemize}
375
f6c754e3eeb6
\end{frame}
376
f6c754e3eeb6
377
e16e32db07d5
\section{IPv6 nel dettaglio} % (fold)
378
e16e32db07d5
\subsection{Struttura di un indirizzo} % (fold)
379
e16e32db07d5
\begin{frame}\frametitle{Struttura di un indirizzo}
380
e16e32db07d5
	Un indirizzo IPv6 \`e un dato a 128 bit. Si utilizza una rappresentazione a 
381
e16e32db07d5
	gruppi di 4 cifre esadecimali separati dal simbolo ``\texttt{:}''\\
382
e16e32db07d5
	\begin{center}
383
e16e32db07d5
		\texttt{2001:0db8:2c05:0000:0000:0000:0000:0027}
384
e16e32db07d5
	\end{center}
385
e16e32db07d5
	\pause
386
e16e32db07d5
	o in modo pi\`u contratto\\
387
e16e32db07d5
	\begin{center}
388
e16e32db07d5
		\texttt{2001:db8:2c05::27}
389
e16e32db07d5
	\end{center}
390
e16e32db07d5
	\`e infatti possibile omettere gli zeri di sinistra in ogni blocco e si pu\`o 
391
e16e32db07d5
	introdurre \underline{una sola volta} la notazione ``\texttt{::}'' che viene espansa in gruppi
392
e16e32db07d5
	di \texttt{0000} fino a completare l'indirizzo.
393
e16e32db07d5
\end{frame}
394
e16e32db07d5
395
e16e32db07d5
\begin{frame}\frametitle{Struttura di un indirizzo (cont.)}
396
e16e32db07d5
	Si definisce \emph{site} una rete amministrata da un unico gestore,
397
e16e32db07d5
	il \emph{global routing prefix} è lo spazio di indirizzamento assegnatogli,
398
e16e32db07d5
	la \emph{subnet ID} è la parte rimanente ad ottenere il \emph{prefix} (prefisso) di
399
e16e32db07d5
	lunghezza 64~bit, i rimanenti bit identificano l'interfaccia di rete
400
e16e32db07d5
	a cui è assegnato l'indirizzo e si chiamano \emph{interface ID}.
401
e16e32db07d5
	
402
e16e32db07d5
	\vspace{1.5cm}
403
e16e32db07d5
%	\begin{figure}
404
e16e32db07d5
	   \begin{tabular}{| x{3.5cm} | x{1.7cm} | x{5cm} |}
405
e16e32db07d5
	   	\hline
406
e16e32db07d5
	   	Global routing prefix & Subnet ID & Interface ID \tnhl 
407
e16e32db07d5
	   	\multicolumn{1}{c}{n bit} &
408
e16e32db07d5
	   	\multicolumn{1}{c}{64-n bit} &
409
e16e32db07d5
	   	\multicolumn{1}{c}{64 bit}
410
e16e32db07d5
	   \end{tabular}
411
e16e32db07d5
%	\caption{Struttura di un indirizzo global unicast}
412
e16e32db07d5
%	\label{fig:Struttura di un indirizzo Global Unicast}
413
e16e32db07d5
%	\end{figure}
414
e16e32db07d5
415
e16e32db07d5
\end{frame}
416
e16e32db07d5
% subsection struttura_di_un_indirizzo (end)
417
e16e32db07d5
418
e16e32db07d5
\subsection{Tipo e visibilità}
419
e16e32db07d5
\begin{frame}\frametitle{Visibilità di un indirizzo}
420
e16e32db07d5
\begin{colorblock}{Global}
421
e16e32db07d5
Gli indirizzi \emph{global} sono raggiungibili da tutta la rete IPv6
422
e16e32db07d5
\end{colorblock}\pause
423
e16e32db07d5
\begin{colorblock}{Site-local (deprecati)}
424
e16e32db07d5
Gli indirizzi \emph{site-local} sono indirizzi privati interni ad un site che non 
425
e16e32db07d5
devono essere instradati al di fuori della propria infrastruttura. Questa categoria di visibilità è attualmente deprecata.
426
e16e32db07d5
\end{colorblock}\pause
427
e16e32db07d5
\begin{colorblock}{Link-local}
428
e16e32db07d5
Gli indirizzi \emph{link-local} non devono mai essere inoltrati fuori dal link di origine.\\
429
e16e32db07d5
L'indirizzo \texttt{::1/128} rappresenta il \emph{localhost} per l'interfaccia di \emph{loopback} mentre il prefix \texttt{fe80::/10} è stato riservato per l'autoconfigurazione stateless a livello di link.
430
e16e32db07d5
\end{colorblock}
431
e16e32db07d5
\end{frame}
432
e16e32db07d5
433
e16e32db07d5
\begin{frame}\frametitle{Tipo di indirizzo}
434
e16e32db07d5
\begin{colorblock}{Unicast} % (fold)
435
e16e32db07d5
Un indirizzo \emph{unicast} identifica univocamente un'interfaccia.\\
436
e16e32db07d5
Per gli indirizzi \textit{global unicast} lo IANA ha registrato il prefisso \texttt{2000::/3},
437
e16e32db07d5
mentre il prefix \texttt{2001:db8::/32} è stato riservato per la scrittura di documentazione.
438
e16e32db07d5
\end{colorblock}
439
e16e32db07d5
\pause
440
e16e32db07d5
\begin{colorblock}{Multicast} 
441
e16e32db07d5
Un indirizzo \emph{multicast} individua un gruppo di interfacce, i pacchetti destinati 
442
e16e32db07d5
all'indirizzo vengono instradati a tutti i nodi partecipanti al multicast.
443
e16e32db07d5
\end{colorblock}
444
e16e32db07d5
\pause
445
e16e32db07d5
\begin{colorblock}{Anycast} 
446
e16e32db07d5
Un indirizzo \emph{anycast} individua un gruppo di interfacce, i pacchetti destinati ad un 
447
e16e32db07d5
indirizzo anycast vengono instradati verso una sola interfaccia, solitamente la più vicina.
448
e16e32db07d5
\end{colorblock}
449
e16e32db07d5
\end{frame}
450
e16e32db07d5
451
e16e32db07d5
\subsection{Header}
452
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv4}
453
e16e32db07d5
\begin{bytefield}{32} 
454
e16e32db07d5
\bitheader{0,3,4,7,8,15,16,18,19,31} \\ 
455
e16e32db07d5
\bitbox{4}{Ver.} & \colorbitbox{lightgray}{4}{IHL} & \bitbox{8}{TOS} &
456
e16e32db07d5
\bitbox{16}{Total length} \\ 
457
e16e32db07d5
\colorbitbox{lightgray}{16}{Identification} & \colorbitbox{lightgray}{3}{Flags} & \colorbitbox{lightgray}{13}{Fragment Offset} \\
458
e16e32db07d5
\bitbox{8}{TTL} & \bitbox{8}{Protocol} & \colorbitbox{lightgray}{16}{Header Checksum} \\
459
e16e32db07d5
\wordbox{1}{Source Address}\\
460
e16e32db07d5
\wordbox{1}{Destination Address}\\
461
e16e32db07d5
\colorbitbox{lightgray}{32}{Options (facoltativo)}  
462
e16e32db07d5
\end{bytefield}
463
e16e32db07d5
\vspace{0.5cm}\pause
464
e16e32db07d5
465
e16e32db07d5
Dimensione variabile tra 20 e 60 byte.\\I campi in grigio sono stati rimossi in IPv6.
466
e16e32db07d5
\end{frame}
467
e16e32db07d5
468
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6}
469
e16e32db07d5
\begin{columns}
470
499b63f1404f
\begin{column}{1.5cm}
471
e16e32db07d5
\begin{bytefield}{32} 
472
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
473
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
474
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
475
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
476
e16e32db07d5
\bitbox{8}{Hop Limit} \\
477
e16e32db07d5
\wordbox{4}{Source Address}\\
478
e16e32db07d5
\wordbox{4}{Destination Address} 
479
e16e32db07d5
\end{bytefield}
480
e16e32db07d5
\end{column}
481
499b63f1404f
\begin{column}{8.5cm}
482
e16e32db07d5
%\begin{actionenv}<only@2->
483
e16e32db07d5
%\begin{colorblock}{Vantaggi di IPv6}
484
e16e32db07d5
%\begin{itemize}
485
e16e32db07d5
%\item<2-> Lunghezza fissa 40 byte
486
e16e32db07d5
%\item<3-> Rimosso il controllo di errore
487
e16e32db07d5
%\item<4-> Rimossa la frammentazione
488
e16e32db07d5
%\item<5-> Header Extensions
489
e16e32db07d5
%\end{itemize}
490
e16e32db07d5
%\end{colorblock}
491
e16e32db07d5
%\end{actionenv}
492
e16e32db07d5
\end{column}
493
e16e32db07d5
\end{columns}
494
e16e32db07d5
\end{frame}
495
e16e32db07d5
496
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Version}
497
e16e32db07d5
\begin{columns}
498
e16e32db07d5
\begin{column}{1.5cm}
499
e16e32db07d5
\begin{bytefield}{32} 
500
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
501
e16e32db07d5
\colorbitbox{chameleongreen2}{4}{Ver.} & \bitbox{8}{Traffic Class} & 
502
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
503
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
504
e16e32db07d5
\bitbox{8}{Hop Limit} \\
505
e16e32db07d5
\wordbox{4}{Source Address}\\
506
e16e32db07d5
\wordbox{4}{Destination Address} 
507
e16e32db07d5
\end{bytefield}
508
e16e32db07d5
\end{column}
509
e16e32db07d5
\begin{column}{8.5cm}
510
e16e32db07d5
\begin{colorblock}{Version (4 bit)}
511
e16e32db07d5
Specifica la versione del protocollo, in questo caso 6.
512
e16e32db07d5
\end{colorblock}
513
e16e32db07d5
\end{column}
514
e16e32db07d5
\end{columns}
515
e16e32db07d5
\end{frame}
516
e16e32db07d5
517
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Traffic Class}
518
e16e32db07d5
\begin{columns}
519
e16e32db07d5
\begin{column}{1.5cm}
520
e16e32db07d5
\begin{bytefield}{32} 
521
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
522
e16e32db07d5
\bitbox{4}{Ver.} & \colorbitbox{chameleongreen2}{8}{Traffic Class} & 
523
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
524
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
525
e16e32db07d5
\bitbox{8}{Hop Limit} \\
526
e16e32db07d5
\wordbox{4}{Source Address}\\
527
e16e32db07d5
\wordbox{4}{Destination Address} 
528
e16e32db07d5
\end{bytefield}
529
e16e32db07d5
\end{column}
530
e16e32db07d5
\begin{column}{8.5cm}
531
e16e32db07d5
\begin{colorblock}{Traffic Class (1 byte)}
532
e16e32db07d5
Sostituisce il campo \texttt{Type of Service} di IPv4. Serve a gestire differenti tipologie di traffico in base alla loro priorità.
533
e16e32db07d5
\end{colorblock}
534
e16e32db07d5
\end{column}
535
e16e32db07d5
\end{columns}
536
e16e32db07d5
\end{frame}
537
e16e32db07d5
538
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Flow Label}
539
e16e32db07d5
\begin{columns}
540
e16e32db07d5
\begin{column}{1.5cm}
541
e16e32db07d5
\begin{bytefield}{32} 
542
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
543
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
544
e16e32db07d5
\colorbitbox{chameleongreen2}{20}{Flow Label} \\ 
545
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
546
e16e32db07d5
\bitbox{8}{Hop Limit} \\
547
e16e32db07d5
\wordbox{4}{Source Address}\\
548
e16e32db07d5
\wordbox{4}{Destination Address} 
549
e16e32db07d5
\end{bytefield}
550
e16e32db07d5
\end{column}
551
e16e32db07d5
\begin{column}{8.5cm}
552
e16e32db07d5
\begin{colorblock}{Flow Label (20 bit)}
553
e16e32db07d5
Serve a marchiare i flussi per permetterne una gestione differenziata, attualmente è considerato un campo sperimentale.
554
e16e32db07d5
\end{colorblock}
555
e16e32db07d5
\end{column}
556
e16e32db07d5
\end{columns}
557
e16e32db07d5
\end{frame}
558
e16e32db07d5
559
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Payload Length}
560
e16e32db07d5
\begin{columns}
561
e16e32db07d5
\begin{column}{1.5cm}
562
e16e32db07d5
\begin{bytefield}{32} 
563
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
564
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
565
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
566
e16e32db07d5
\colorbitbox{chameleongreen2}{16}{Payload Length} & \bitbox{8}{Next Header} &
567
e16e32db07d5
\bitbox{8}{Hop Limit} \\
568
e16e32db07d5
\wordbox{4}{Source Address}\\
569
e16e32db07d5
\wordbox{4}{Destination Address} 
570
e16e32db07d5
\end{bytefield}
571
e16e32db07d5
\end{column}
572
e16e32db07d5
\begin{column}{8.5cm}
573
e16e32db07d5
\begin{colorblock}{Payload Length (2 byte)}
574
e16e32db07d5
Specifica la lunghezza del \texttt{payload}, a differenza di IPv4 si dichiara esclusivamente la \underline{dimensione dei dati trasportati}, senza considerare l'header IP.
575
e16e32db07d5
\end{colorblock}
576
e16e32db07d5
\end{column}
577
e16e32db07d5
\end{columns}
578
e16e32db07d5
\end{frame}
579
e16e32db07d5
580
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Next Header}
581
e16e32db07d5
\begin{columns}
582
e16e32db07d5
\begin{column}{1.5cm}
583
e16e32db07d5
\begin{bytefield}{32} 
584
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
585
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
586
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
587
e16e32db07d5
\bitbox{16}{Payload Length} & \colorbitbox{chameleongreen2}{8}{Next Header} &
588
e16e32db07d5
\bitbox{8}{Hop Limit} \\
589
e16e32db07d5
\wordbox{4}{Source Address}\\
590
e16e32db07d5
\wordbox{4}{Destination Address} 
591
e16e32db07d5
\end{bytefield}
592
e16e32db07d5
\end{column}
593
e16e32db07d5
\begin{column}{8.5cm}
594
e16e32db07d5
\begin{colorblock}{Next Header (1 byte)}
595
e16e32db07d5
Sostituisce il campo \texttt{Protocol Type} di IPv4. Mantiene i valori definiti per la vecchia versione del protocollo ed aggiunge dei nuovi codici per gli \texttt{Extension header}
596
e16e32db07d5
\end{colorblock}
597
e16e32db07d5
\end{column}
598
e16e32db07d5
\end{columns}
599
e16e32db07d5
\end{frame}
600
e16e32db07d5
601
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Hop Limit}
602
e16e32db07d5
\begin{columns}
603
e16e32db07d5
\begin{column}{1.5cm}
604
e16e32db07d5
\begin{bytefield}{32} 
605
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
606
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
607
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
608
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
609
e16e32db07d5
\colorbitbox{chameleongreen2}{8}{Hop Limit} \\
610
e16e32db07d5
\wordbox{4}{Source Address}\\
611
e16e32db07d5
\wordbox{4}{Destination Address} 
612
e16e32db07d5
\end{bytefield}
613
e16e32db07d5
\end{column}
614
e16e32db07d5
\begin{column}{8.5cm}
615
e16e32db07d5
\begin{colorblock}{Hop Limit (1 byte)}
616
e16e32db07d5
Sostituisce il campo \texttt{TTL} di IPv4. Storicamente (in IPv4) il TTL misurava i ``secondi di vita'' del datagramma, mentre ora misura il numero di ``salti'' da nodo a nodo della rete, per questo motivo con IPv6 si è deciso di cambiargli nome.
617
e16e32db07d5
\end{colorblock}
618
e16e32db07d5
\end{column}
619
e16e32db07d5
\end{columns}
620
e16e32db07d5
\end{frame}
621
e16e32db07d5
622
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Source Address}
623
e16e32db07d5
\begin{columns}
624
e16e32db07d5
\begin{column}{1.5cm}
625
e16e32db07d5
\begin{bytefield}{32} 
626
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
627
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
628
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
629
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
630
e16e32db07d5
\bitbox{8}{Hop Limit} \\
631
e16e32db07d5
\rlap{\wordbox{4}{\color{chameleongreen2}\rule{\width}{\height}}}\wordbox{4}{Source Address}\\
632
e16e32db07d5
\wordbox{4}{Destination Address} 
633
e16e32db07d5
\end{bytefield}
634
e16e32db07d5
\end{column}
635
e16e32db07d5
\begin{column}{8.5cm}
636
e16e32db07d5
\begin{colorblock}{Source Address (16 byte)}
637
e16e32db07d5
Indirizzo sorgente del datagramma.
638
e16e32db07d5
\end{colorblock}
639
e16e32db07d5
\end{column}
640
e16e32db07d5
\end{columns}
641
e16e32db07d5
\end{frame}
642
e16e32db07d5
643
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Destination Address}
644
e16e32db07d5
\begin{columns}
645
e16e32db07d5
\begin{column}{1.5cm}
646
e16e32db07d5
\begin{bytefield}{32} 
647
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
648
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
649
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
650
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
651
e16e32db07d5
\bitbox{8}{Hop Limit} \\
652
e16e32db07d5
\wordbox{4}{Source Address}\\
653
e16e32db07d5
\rlap{\wordbox{4}{\color{chameleongreen2}\rule{\width}{\height}}}\wordbox{4}{Destination Address} 
654
e16e32db07d5
\end{bytefield}
655
e16e32db07d5
\end{column}
656
e16e32db07d5
\begin{column}{8.5cm}
657
e16e32db07d5
\begin{colorblock}{Destination Address (16 byte)}
658
e16e32db07d5
Indirizzo destinazione del datagramma.
659
e16e32db07d5
\end{colorblock}
660
e16e32db07d5
\end{column}
661
e16e32db07d5
\end{columns}
662
e16e32db07d5
\end{frame}
663
499b63f1404f
664
499b63f1404f
\begin{frame}\frametitle{Header IPv6 - I campi rimossi}
665
499b63f1404f
	\begin{colorblock}{Gli svantaggi dei campi rimossi in IPv6}
666
499b63f1404f
		\pause
667
499b63f1404f
		\begin{description}
668
499b63f1404f
			\item[Checksum] Questo campo deve essere ricalcolato da ogni router a causa del decremento del \texttt{TTL}\pause
669
342d76faf532
			\item[Identification, Flag e Fragment Offset] La frammentazione è a carico dei router in cui la \texttt{MTU} del link in uso non sia sufficiente a far transitare il pacchetto, in caso di perdita di un solo frammento è necessario ritrasmettere l'intero datagramma (che molto probabilmente verrà frammentato di nuovo durante il tragitto)\pause
670
499b63f1404f
			\item[IHL e Options] La presenza di un campo opzionale a lunghezza variabile impedisce di accedere direttamente ai dati del datagramma senza aver fatto prima un'ispezione dei campi della testata
671
499b63f1404f
		\end{description}
672
499b63f1404f
	\end{colorblock}
673
499b63f1404f
\end{frame}
674
499b63f1404f
675
b0824ccd5f09
%\subsubsection{Extension headers}
676
499b63f1404f
\begin{frame}\frametitle{Header IPv6 - Extension header}
677
499b63f1404f
	In IPv6 \`e possibile estendere l'header attraverso gli 
678
499b63f1404f
	\textit{Extension header}, la loro presenza \`e indicata dal campo
679
499b63f1404f
	\texttt{Next Header} e se non sono di pertinenza del nodo di transito
680
499b63f1404f
	vengono ignorati inoltrando il pacchetto secondo le informazioni presenti
681
499b63f1404f
	nell'header.\pause
682
499b63f1404f
	
683
499b63f1404f
	\vspace{0.5cm}
684
499b63f1404f
	Questi \textit{Extension headers} sono considerati a tutti gli effetti parte
685
499b63f1404f
	del payload e ne influenzano la dimensione.\pause
686
499b63f1404f
	
687
499b63f1404f
	\vspace{0.5cm}
688
499b63f1404f
	Alcuni esempi sono \texttt{Hop-by-Hop Option header}, 
689
499b63f1404f
	\texttt{Routing header}, \texttt{Fragment header}, 
690
499b63f1404f
	\texttt{Destination Options header}, \texttt{Authentication header} ed 
691
499b63f1404f
	\texttt{Encryption Security Payload header}
692
499b63f1404f
693
499b63f1404f
\end{frame}
694
499b63f1404f
\begin{frame}\frametitle{Header IPv6 - Extension header (cont.)}
695
499b63f1404f
	\begin{colorblock}{\texttt{Fragment header} ? Ma non avevamo rimosso la frammentazione?}
696
499b63f1404f
		\pause
697
499b63f1404f
		In questo caso la frammentazione è una opzione end-to-end, del tutto trasparente ai router intermedi e grava esclusivamente sui due estremi della comunicazione, che tipicamente sono due macchine più performanti dei router che li interconnettono.\\
698
499b63f1404f
		 Inoltre in caso di perdita di un frammento è necessario rispedire solo quello, perch\'e si tratta effettivamente di un vero pacchetto IP (anche se il suo payload è un frammento)
699
499b63f1404f
	\end{colorblock}
700
499b63f1404f
\end{frame}
701
499b63f1404f
\begin{frame}\frametitle{Header IPv6 - Extension header (cont.)}
702
499b63f1404f
	\begin{colorblock}{Ma con gli header extension non si torna ad avere una dimensione variabile della testata?}
703
499b63f1404f
		\pause
704
499b63f1404f
		No! \emph{Questi \textit{Extension headers} sono considerati a tutti gli effetti parte
705
499b63f1404f
		del payload e ne influenzano la dimensione.}
706
40d45ba2de56
		Quindi saranno parte del dato trasportato a meno che il nodo in transito non sia interessato alla specifica estensione, che è indicata dal campo \texttt{Next Header}
707
499b63f1404f
	\end{colorblock}
708
499b63f1404f
\end{frame}
709
0a549da557af
710
e16e32db07d5
% section ipv6_nel_dettaglio (end)
711
e16e32db07d5
712
0a549da557af
\section{Automatismi e routing} % (fold)
713
b0824ccd5f09
\subsection{Introduzione} 
714
0a549da557af
\begin{frame}\frametitle{Autoconfigurazione}
715
35a9caac5cef
	\begin{itemize}
716
35a9caac5cef
	\item Una delle novità introdotte da IPv6 è l'autoconfigurazione dei nodi di rete, che anche in assenza di un router sono in grado di generare autonomamente un indirizzo link-local unicast per garantire la comunicazione fra i nodi interconnessi.
717
35a9caac5cef
	\item La generazione di questo tipo di indirizzo è il primo passo da eseguire per poter ottenere un indirizzo global unicast.
718
35a9caac5cef
	\end{itemize}
719
35a9caac5cef
\end{frame}
720
35a9caac5cef
721
35a9caac5cef
\subsection{ICMPv6}
722
35a9caac5cef
\begin{frame}\frametitle{ICMPv6 - Definizione}
723
35a9caac5cef
	\begin{colorblock}{Definzione  (Wikipedia)}
724
35a9caac5cef
	L'Internet Control Message Protocol versione 6 (ICMPv6) è l'evoluzione nelle reti IPv6 del protocollo ICMP per le reti IPv4. In essa \emph{vengono aggiunte nuove funzionalità che nel protocollo precedente erano demandate ad altri livelli protocollari (come ad esempio l'ARP)} e tolte altre che, invece, erano poco usate. 
725
0a549da557af
	
726
35a9caac5cef
	Come nel caso della versione precedente, l'ICMPv6 viene utilizzato per monitorare lo stato della rete e per inviare pacchetti di gestione e di errore. 
727
0a549da557af
	
728
35a9caac5cef
	Essa è descritta nell'RFC 2463.
729
35a9caac5cef
	\end{colorblock}
730
35a9caac5cef
	\begin{flushright}
731
35a9caac5cef
		\url{http://it.wikipedia.org/wiki/ICMPv6}
732
35a9caac5cef
	\end{flushright} 
733
35a9caac5cef
\end{frame}
734
35a9caac5cef
735
35a9caac5cef
\begin{frame}[fragile]\frametitle{ICMPv6 - Pacchetto}
736
35a9caac5cef
	\begin{colorblock}{Struttura del pacchetto}
737
35a9caac5cef
		\begin{center}
738
35a9caac5cef
		\begin{bytefield}{32} 
739
35a9caac5cef
			\bitheader{0,8,16,32} \\ 
740
35a9caac5cef
			%\wordgroupr{Generic Header}
741
35a9caac5cef
			\bitbox{8}{Type} & \bitbox{8}{Code} & \bitbox{16}{Checksum}\\
742
35a9caac5cef
			%\endwordgroupr \\
743
35a9caac5cef
			\wordbox[lrt]{1}{Message body} \\ 
744
35a9caac5cef
			\skippedwords \\ 
745
35a9caac5cef
			\wordbox[lrb]{1}{} \\
746
35a9caac5cef
		\end{bytefield}
747
35a9caac5cef
		\end{center}
748
35a9caac5cef
	\end{colorblock}
749
0a549da557af
\end{frame}
750
0a549da557af
751
0a549da557af
\begin{frame}\frametitle{Indirizzo link-local unicast autoconfigurato}
752
0a549da557af
	\begin{colorblock}{Global Routing Prefix}
753
0a549da557af
		Gli indirizzi link-local sono tutti nel prefix \texttt{FE80::/10}.
754
0a549da557af
		
755
0a549da557af
		All'interno di questo prefix è stato riservato il GRP \texttt{FE80::/64} per gli indirizzi
756
0a549da557af
		link-local unicast autoconfigurati.
757
0a549da557af
	\end{colorblock} \pause
758
0a549da557af
	\vspace{0.5cm}
759
0a549da557af
	\begin{colorblock}{Interface ID}
760
0a549da557af
		Per assegnare la interface ID si utilizza l'EUI-64, un campo di 64 bit generato a partire
761
0a549da557af
		 dall'indirizzo MAC dell'interfaccia di rete. 
762
0a549da557af
	\end{colorblock}
763
0a549da557af
\end{frame}
764
0a549da557af
 
765
b0824ccd5f09
\subsection{EUI-64} 
766
0a549da557af
\begin{frame}[fragile]\frametitle{Extended Unique Identifier (EUI-64) - Algoritmo}
767
0a549da557af
	
768
0a549da557af
%\setlength{\byteheight}{4ex}
769
0a549da557af
\settowidth{\bitwidth}{\tiny 9i}
770
0a549da557af
\begin{bytefield}{64} 
771
0a549da557af
	\bitheader{0,8,16,24,32,40,48,56,64} \\ 
772
0a549da557af
	\wordgroupr{\tiny{MAC}}
773
0a549da557af
	\bitbox{8}{MAC[0]} & \bitbox{8}{MAC[1]} &\bitbox{8}{MAC[2]} &\bitbox{8}{MAC[3]} &\bitbox{8}{MAC[4]} &\bitbox{8}{MAC[5]}
774
0a549da557af
	\endwordgroupr \\
775
0a549da557af
	\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause
776
0a549da557af
	\bitbox{8}{MAC[0]} & \bitbox{8}{MAC[1]} &\bitbox{8}{MAC[2]} &
777
0a549da557af
	 \colorbitbox{chameleongreen2}{16}{\texttt{0xFF FE}} &
778
0a549da557af
	\bitbox{8}{MAC[3]} & \bitbox{8}{MAC[4]} &\bitbox{8}{MAC[5]} \\ 
779
0a549da557af
	\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause
780
0a549da557af
	\wordgroupr{\tiny{EUI-64}}
781
342d76faf532
	\colorbitbox{chameleongreen2}{8}{\small{\texttt{MAC[0]\\$\oplus$0x02}}} & \bitbox{8}{MAC[1]} &\bitbox{8}{MAC[2]} &
782
0a549da557af
	 \bitbox{16}{\texttt{0xFF FE}} &
783
0a549da557af
	\bitbox{8}{MAC[3]} & \bitbox{8}{MAC[4]} &\bitbox{8}{MAC[5]} 
784
0a549da557af
	\endwordgroupr
785
0a549da557af
\end{bytefield} 
786
0a549da557af
	
787
0a549da557af
\end{frame}
788
0a549da557af
789
0a549da557af
\begin{frame}[fragile]\frametitle{EUI-64 - esempio}
790
0a549da557af
	Vediamo un esempio pratico con l'indirizzo MAC \texttt{00:16:cb:8c:de:8b} \pause
791
0a549da557af
	
792
0a549da557af
	\vspace{0.5cm}
793
0a549da557af
794
0a549da557af
	%\setlength{\byteheight}{4ex}
795
0a549da557af
	\settowidth{\bitwidth}{\tiny 9i}
796
0a549da557af
	\begin{bytefield}{64} 
797
0a549da557af
		\bitheader{0,8,16,24,32,40,48,56,64} \\ 
798
0a549da557af
		\wordgroupr{\tiny{MAC}}
799
0a549da557af
		\bitbox{8}{\texttt{0x00}} & \bitbox{8}{\texttt{0x16}} &\bitbox{8}{\texttt{0xcb}}
800
0a549da557af
		 &\bitbox{8}{\texttt{0x8c}} &\bitbox{8}{\texttt{0xde}} &\bitbox{8}{\texttt{0x8b}}
801
0a549da557af
		\endwordgroupr \\
802
0a549da557af
		\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause
803
0a549da557af
		\bitbox{8}{\texttt{0x00}} & \bitbox{8}{\texttt{0x16}} &\bitbox{8}{\texttt{0xcb}} &
804
0a549da557af
		\colorbitbox{chameleongreen2}{16}{\texttt{0xff fe}} & \bitbox{8}{\texttt{0x8c}} &
805
0a549da557af
		\bitbox{8}{\texttt{0xde}} &
806
0a549da557af
		\bitbox{8}{\texttt{0x8b}} \\ 
807
0a549da557af
		\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause
808
0a549da557af
		\wordgroupr{\tiny{EUI-64}}
809
0a549da557af
		\colorbitbox{chameleongreen2}{8}{\texttt{0x02}} & \bitbox{8}{\texttt{0x16}} &
810
0a549da557af
		\bitbox{8}{\texttt{0xcb}} &
811
0a549da557af
		\bitbox{16}{\texttt{0xff fe}} & \bitbox{8}{\texttt{0x8c}} &\bitbox{8}{\texttt{0xde}} &
812
0a549da557af
		\bitbox{8}{\texttt{0x8b}} \\ 
813
0a549da557af
		\endwordgroupr
814
0a549da557af
	\end{bytefield}
815
0a549da557af
	\pause
816
0a549da557af
	
817
0a549da557af
	\vspace{0.25cm}
818
0a549da557af
	
819
40d45ba2de56
	L'indirizzo link-local EUI-64 è \texttt{fe80::216:cbff:fe8c:de8b}
820
0a549da557af
\end{frame}
821
0a549da557af
822
b0824ccd5f09
\subsection{IPv6 Stateless Address Autoconfiguration} 
823
0a549da557af
\begin{frame}[allowframebreaks]\frametitle{Configurazione stateless - Definizioni} % (fold)
824
0a549da557af
\label{sub:configurazione_stateless}
825
0a549da557af
La configurazione stateless offre la possibilità di ottenere un indirizzo global unicast e un router
826
0a549da557af
verso cui instradare i pacchetti in modo automatico. 
827
0a549da557af
828
0a549da557af
Il procedimento fa uso di pacchetti ICMPv6 dedicati a questo scopo.
829
0a549da557af
830
0a549da557af
\vspace{0.25cm}
831
0a549da557af
\textbf{Definizioni:}
832
0a549da557af
%\subsubsection{Definizioni} % (fold)
833
0a549da557af
%\label{ssub:definizioni}
834
0a549da557af
\begin{description}
835
0a549da557af
\item[tentative address] (indirizzo incerto) un indirizzo di cui si sta verificando l'unicità sul link, 
836
0a549da557af
 ancora non è stato assegnato all'interfaccia.
837
0a549da557af
\item[preferred address] (indirizzo preferito) un indirizzo assegnato all'interfaccia che può essere usato dai
838
0a549da557af
 protocolli di livello superiore senza alcuna restrizione. Può figurare come 
839
0a549da557af
 indirizzo di sorgente o di destinazione.
840
0a549da557af
\item[deprecated address] (indirizzo deprecato) un indirizzo assegnato all'interfaccia il cui uso è
841
0a549da557af
 scoraggiato, ma non proibito. I pacchetti inviati e ricevuti con questo indirizzo sono trattati
842
0a549da557af
 normalmente, ma le nuove comunicazioni non dovrebbero utilizzarlo. 
843
0a549da557af
 Un indirizzo deprecato può essere ancora utilizzato per quei protocolli in cui cambiare in favore 
844
0a549da557af
 di un nuovo indirizzo preferito causerebbe problemi alla connessione (ad esempio una sessione 
845
0a549da557af
 TCP attiva.)
846
0a549da557af
\item[valid address] (indirizzo valido) un indirizzo deprecato o preferito.
847
0a549da557af
\item[invalid address] (indirizzo non valido) un indirizzo che non è assegnato a nessuna interfaccia. 
848
0a549da557af
 Un indirizzo valido diventa non valido quando il suo \emph{valid~lifetime} scade. 
849
0a549da557af
 Gli indirizzi non validi non devono essere utilizzati come indirizzo di sorgente o di destinazione.
850
0a549da557af
\item[preferred lifetime] il periodo di tempo in cui l'indirizzo deve essere considerato preferito.
851
0a549da557af
 Alla scadenza l'indirizzo diventa deprecato.
852
0a549da557af
\item[valid lifetime] il periodo di tempo in cui l'indirizzo deve essere considerato valido. Questo
853
0a549da557af
 valore deve essere maggiore o uguale del \emph{preferred~lifetime}. Alla sua scadenza l'indirizzo diventa
854
0a549da557af
 non valido.
855
0a549da557af
\end{description}
856
0a549da557af
\end{frame}
857
0a549da557af
% subsubsection definizioni (end)
858
0a549da557af
859
0a549da557af
\begin{frame}\frametitle{Configurazione stateless - Procedimento} 
860
0a549da557af
	\begin{colorblock}{Indirizzo link-local}
861
0a549da557af
		\begin{itemize}
862
0a549da557af
		\item<+-> generazione di un \emph{tentative address} link-local con il metodo EUI-64
863
0a549da557af
		\item<+-> invio di un pacchetto ICMPv6 Neighbor Solicitation con campo \texttt{Target Address} impostato sull'indirizzo da verificare
864
0a549da557af
		\item<+-> se un nodo utilizza questo indirizzo risponde con un pacchetto ICMPv6 Neighbor Advertisement avvisando che l'indirizzo è già in uso.
865
0a549da557af
		\item<+-> se non si ricevono Neighbor Advertisement l'indirizzo diventa \emph{valid address}
866
0a549da557af
		\end{itemize}
867
0a549da557af
	\end{colorblock} 
868
0a549da557af
	\vspace{.5cm}
869
0a549da557af
	\uncover<5->{Il fallimento di questa procedura obbliga ad una configurazione manuale dell'host.}
870
0a549da557af
\end{frame}
871
0a549da557af
872
35a9caac5cef
\begin{frame}[fragile,shrink=10]\frametitle{ICMPv6 - Neighbor Solicitation}
873
35a9caac5cef
		\begin{center}
874
35a9caac5cef
		\begin{bytefield}{32} 
875
35a9caac5cef
			\bitheader{0,8,16,32} \\ 
876
35a9caac5cef
			%\wordgroupr{Generic Header}
877
35a9caac5cef
			\bitbox{8}{Type=\texttt{135}} & \bitbox{8}{Code=\texttt{0}} & \bitbox{16}{Checksum}\\
878
35a9caac5cef
			%\endwordgroupr \\
879
35a9caac5cef
			\wordbox{1}{Reserved}\\
880
35a9caac5cef
			\wordbox{4}{Target Address}\\
881
35a9caac5cef
			\wordbox[lrt]{1}{Options} \\ 
882
35a9caac5cef
			\skippedwords \\ 
883
35a9caac5cef
			\wordbox[lrb]{1}{} \\
884
35a9caac5cef
		\end{bytefield}
885
35a9caac5cef
		\end{center}
886
35a9caac5cef
\end{frame}
887
35a9caac5cef
888
35a9caac5cef
\begin{frame}[fragile,shrink=10]\frametitle{ICMPv6 - Neighbor Advertisement}
889
35a9caac5cef
		\begin{center}
890
35a9caac5cef
		\begin{bytefield}{32} 
891
35a9caac5cef
			\bitheader{0,1,2,3,8,16,32} \\ 
892
35a9caac5cef
			%\wordgroupr{Generic Header}
893
35a9caac5cef
			\bitbox{8}{Type=\texttt{136}} & \bitbox{8}{Code=\texttt{0}} & \bitbox{16}{Checksum}\\
894
35a9caac5cef
			%\endwordgroupr \\
895
35a9caac5cef
			\bitbox{1}{ R } & \bitbox{1}{\tiny S \\ \texttt{1}} &\bitbox{1}{ O } & \bitbox{29}{Reserved}\\
896
35a9caac5cef
			\wordbox{4}{Target Address}\\
897
35a9caac5cef
			\wordbox[lrt]{1}{Options} \\ 
898
35a9caac5cef
			\skippedwords \\ 
899
35a9caac5cef
			\wordbox[lrb]{1}{} \\
900
35a9caac5cef
		\end{bytefield}
901
35a9caac5cef
		\end{center}
902
35a9caac5cef
\end{frame}
903
35a9caac5cef
904
0a549da557af
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)} % (fold)
905
0a549da557af
	\begin{colorblock}{Indirizzo global}
906
0a549da557af
		\begin{itemize}
907
0a549da557af
		\item<+-> Una volta ottenuto un indirizzo link-local valido, un host cerca di determinare la presenza di router sul proprio link.
908
0a549da557af
		\item<+-> I router inviano periodicamente dei pacchetti multicast di Router Advertisement in cui annunciano i prefix di loro competenza
909
0a549da557af
			\begin{itemize}
910
0a549da557af
				\item<+-> Router Solicitation all'indirizzo \texttt{FF02::2} per forzare l'invio
911
0a549da557af
			\end{itemize}
912
40d45ba2de56
		\item<+-> il pacchetto di Router Advertisement contiene le istruzioni per ottenere un indirizzo
913
0a549da557af
			\begin{itemize}[<5->]
914
0a549da557af
				\item \emph{autonomous address-configuration} (flag~A)
915
0a549da557af
				\item \emph{managed address configuration} (flag~M)
916
0a549da557af
				\item \emph{other statefull configuration} (flag~O) 
917
0a549da557af
			\end{itemize}
918
0a549da557af
		\end{itemize}
919
0a549da557af
	\end{colorblock}
920
0a549da557af
\end{frame}
921
0a549da557af
922
0a549da557af
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)}
923
0a549da557af
\begin{colorblock}{\emph{autonomous address-configuration} (flag~A)}
924
0a549da557af
	Se il nodo è riuscito a
925
0a549da557af
	completare in modo automatico l'assegnazione di un indirizzo link-local, allora può assegnarsi
926
0a549da557af
	come \emph{preferred address} un indirizzo composto dal prefix annunciato e dalla interface ID calcolata secondo lo standard EUI-64.
927
0a549da557af
	
928
0a549da557af
	\vspace{.5cm}
929
0a549da557af
	
930
0a549da557af
	\begin{tabular}{| x{5cm} | x{5cm} |}
931
0a549da557af
   	\hline
932
0a549da557af
   	Prefix annunciato & EUI-64 \tnhl 
933
0a549da557af
   	\multicolumn{1}{c}{64 bit} &
934
0a549da557af
   	\multicolumn{1}{c}{64 bit}
935
0a549da557af
   \end{tabular}
936
0a549da557af
937
0a549da557af
	\vspace{.5cm}
938
0a549da557af
939
0a549da557af
	Altrimenti registra l'indirizzo come \emph{tentative address} e lo verifica con i pacchetti ICMPv6.
940
0a549da557af
\end{colorblock}
941
0a549da557af
\end{frame}
942
0a549da557af
943
0a549da557af
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)}
944
0a549da557af
\begin{colorblock}{\emph{managed address configuration} (flag~M) - statefull DHCP}
945
0a549da557af
	Indica la presenza di un server DHCPv6.
946
0a549da557af
\end{colorblock}
947
0a549da557af
948
0a549da557af
\vspace{.5cm} \pause
949
0a549da557af
950
0a549da557af
\begin{colorblock}{\emph{other statefull configuration} (flag~O) - stateless DHCP}
951
35a9caac5cef
	Indica la presenza di un server DHCPv6 per la richiesta di parametri \underline{diversi dall'indirizzo IP}. (DNS, NTP, SIP, etc \ldots)
952
0a549da557af
\end{colorblock}
953
0a549da557af
\end{frame}
954
0a549da557af
955
35a9caac5cef
%\begin{frame}[fragile]\frametitle{ICMPv6 - Router Solicitation}
956
35a9caac5cef
%		\begin{center}
957
35a9caac5cef
%		\begin{bytefield}{32} 
958
35a9caac5cef
%			\bitheader{0,8,16,32} \\ 
959
35a9caac5cef
%			%\wordgroupr{Generic Header}
960
35a9caac5cef
%			\bitbox{8}{Type=\texttt{133}} & \bitbox{8}{Code=\texttt{0}} & \bitbox{16}{Checksum}\\
961
35a9caac5cef
%			%\endwordgroupr \\
962
35a9caac5cef
%			\wordbox{1}{Reserved}\\
963
35a9caac5cef
%			\wordbox[lrt]{1}{Options} \\ 
964
35a9caac5cef
%			\skippedwords \\ 
965
35a9caac5cef
%			\wordbox[lrb]{1}{} \\
966
35a9caac5cef
%		\end{bytefield}
967
35a9caac5cef
%		\end{center}
968
0a549da557af
%\end{frame}
969
35a9caac5cef
%
970
35a9caac5cef
%\begin{frame}[fragile]\frametitle{ICMPv6 - Router Advertisement}
971
35a9caac5cef
%		\begin{center}
972
35a9caac5cef
%		\begin{bytefield}{32} 
973
35a9caac5cef
%			\bitheader{0,8,16,32} \\ 
974
35a9caac5cef
%			%\wordgroupr{Generic Header}
975
35a9caac5cef
%			\bitbox{8}{Type=\texttt{134}} & \bitbox{8}{Code=\texttt{0}} & \bitbox{16}{Checksum}\\
976
35a9caac5cef
%			%\endwordgroupr \\
977
35a9caac5cef
%			\bitbox{8}{Current Hop Limit} & \bitbox{1}{Code=\texttt{0}} & \bitbox{1}{Checksum}\\
978
35a9caac5cef
%			\wordbox{1}{Reserved}\\
979
35a9caac5cef
%			\wordbox[lrt]{1}{Options} \\ 
980
35a9caac5cef
%			\skippedwords \\ 
981
35a9caac5cef
%			\wordbox[lrb]{1}{} \\
982
35a9caac5cef
%		\end{bytefield}
983
35a9caac5cef
%		\end{center}
984
35a9caac5cef
%\end{frame}
985
35a9caac5cef
986
40d45ba2de56
\begin{frame}\frametitle{1 interfaccia $\Leftrightarrow$ N indirizzi}
987
40d45ba2de56
  In IPv6 la relazione interfaccia - indirizzo è di tipo 1:N. Non
988
40d45ba2de56
  esiste un indirizzo predefinito ed altri secondari, sono tutti allo
989
40d45ba2de56
  stesso livello di importanza. \pause
990
40d45ba2de56
  \begin{colorblock}{Vantaggi?}
991
40d45ba2de56
    \pause 
992
40d45ba2de56
    Se consideramo la tipica infrastruttura di hosting
993
40d45ba2de56
    web con qualche decina di siti per ogni singolo server, con
994
40d45ba2de56
    un solo indirizzo IPv4, è evidente che è un problema fornire
995
40d45ba2de56
    il supporto per SSL, perch\'e la trasmissione del
996
40d45ba2de56
    certificato per istaurare il tunnel sicuro avviene prima di
997
40d45ba2de56
    comunicare quale sito vogliamo raggiungere. Con IPv6 basterà
998
40d45ba2de56
    assegnare alla stessa macchina un indirizzo per ogni sito ed
999
40d45ba2de56
    a ognuno di questi uno specifico certificato per SSL.
1000
40d45ba2de56
  \end{colorblock}
1001
40d45ba2de56
\end{frame}
1002
40d45ba2de56
1003
40d45ba2de56
\section{Servizi di rete}
1004
40d45ba2de56
\subsection{Routing OSPFv3} % (fold)
1005
35a9caac5cef
\begin{frame}\frametitle{Routing OSPFv3}
1006
35a9caac5cef
1007
35a9caac5cef
	\begin{columns}
1008
35a9caac5cef
	\column{.4\textwidth} % column designated by a command
1009
35a9caac5cef
	\begin{itemize}
1010
35a9caac5cef
		\item Algoritmo identico alla versione 2 (IPv4)
1011
35a9caac5cef
		\item Utilizza solo indirizzi link-local
1012
35a9caac5cef
		\item rete $\rightarrow$ link
1013
35a9caac5cef
	\end{itemize}
1014
35a9caac5cef
	\column{.6\textwidth}
1015
35a9caac5cef
	\resizebox{.9\textwidth}{!}{
1016
35a9caac5cef
	\includegraphics{aree_ospf}
1017
35a9caac5cef
	}
1018
35a9caac5cef
	\end{columns}
1019
35a9caac5cef
\end{frame}
1020
35a9caac5cef
1021
35a9caac5cef
%\begin{frame}[fragile,shrink]\frametitle{Tabella di routing}
1022
35a9caac5cef
%\begin{verbatim}
1023
35a9caac5cef
%	Codes: 
1024
35a9caac5cef
%	 C - Connected, L - Local, S - Static  B - BGP, R - RIP, D - EIGRP
1025
35a9caac5cef
%	 O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
1026
35a9caac5cef
%	OE2 ::/0 [110/1], tag 1
1027
35a9caac5cef
%	     via FE80::20F:24FF:FECF:CF42, GigabitEthernet1/0/2
1028
35a9caac5cef
%	OE2 2001:760:2C05:1::/64 [110/20]
1029
35a9caac5cef
%	     via FE80::223:5DFF:FE15:FC41, GigabitEthernet1/0/5
1030
35a9caac5cef
%	L   2001:760:2C05:F0FF::7/128 [0/0]
1031
35a9caac5cef
%	     via GigabitEthernet1/0/2, receive
1032
35a9caac5cef
%	C   2001:760:2C05:F0FF::8/127 [0/0]
1033
35a9caac5cef
%	     via GigabitEthernet1/0/5, directly connected
1034
35a9caac5cef
%	L   2001:760:2C05:F0FF::9/128 [0/0]
1035
35a9caac5cef
%	     via GigabitEthernet1/0/5, receive
1036
35a9caac5cef
%	O   2001:760:2C05:F0FF::12/127 [110/2]
1037
35a9caac5cef
%	     via FE80::223:5DFF:FE15:FC41, GigabitEthernet1/0/5
1038
35a9caac5cef
%	O   2001:760:2C05:F0FF::14/127 [110/3]
1039
35a9caac5cef
%	     via FE80::223:5DFF:FE15:FC41, GigabitEthernet1/0/5
1040
35a9caac5cef
%	OE2 2001:760:2C05:F0FF::16/127 [110/20]
1041
35a9caac5cef
%	     via FE80::223:5DFF:FE15:FC41, GigabitEthernet1/0/5
1042
35a9caac5cef
%	L   FF00::/8 [0/0]
1043
35a9caac5cef
%	     via Null0, receive
1044
35a9caac5cef
%\end{verbatim}
1045
35a9caac5cef
%\end{frame}
1046
35a9caac5cef
% section routing_ospfv3 (end)
1047
35a9caac5cef
1048
40d45ba2de56
\subsection{DNS} % (fold)
1049
35a9caac5cef
1050
35a9caac5cef
\begin{frame}[fragile]\frametitle{I record DNS per IPv6}
1051
35a9caac5cef
	
1052
35a9caac5cef
	\begin{colorblock}{Query DNS}
1053
35a9caac5cef
		Per gestire gli indirizzi IPv6 sono stati introdotti i record AAAA.\\
1054
35a9caac5cef
		
1055
35a9caac5cef
		Esistono anche i record A6 ma sono ancora poco utilizzati.
1056
35a9caac5cef
	\end{colorblock}
1057
35a9caac5cef
	\pause
1058
35a9caac5cef
	\begin{colorblock}{Query inverse}
1059
35a9caac5cef
		Ogni sottodominio di \texttt{IP6.ARPA} rappresenta una cifra 
1060
35a9caac5cef
		esadecimale dell'indirizzo IPv6 a partire da quella più significativa.
1061
35a9caac5cef
		Quindi per chiedere l'hostname per l'indirizzo \texttt{2001:db8::cafe}
1062
35a9caac5cef
		bisogna interrogare il server DNS per il nome di dominio
1063
35a9caac5cef
		
1064
35a9caac5cef
		\vspace{.25cm}
1065
35a9caac5cef
		\resizebox{\textwidth}{!}{
1066
35a9caac5cef
		\texttt{e.f.a.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa}}
1067
35a9caac5cef
	\end{colorblock}
1068
35a9caac5cef
\end{frame}
1069
35a9caac5cef
1070
35a9caac5cef
\begin{frame}[fragile,shrink]\frametitle{Esempio record AAAA (BIND 9)}
1071
35a9caac5cef
	\begin{verbatim}
1072
35a9caac5cef
$TTL    3600
1073
35a9caac5cef
@ 86400 IN SOA dns.ipv6.unifi.it. staffreti.unifi.it. (
1074
35a9caac5cef
                       2009081102   ; Serial
1075
35a9caac5cef
                       86400    ; Refresh
1076
35a9caac5cef
                       7200     ; Retry
1077
35a9caac5cef
                       3600000    ; Expire
1078
35a9caac5cef
                       3600 )  ; Minimum
1079
35a9caac5cef
1080
35a9caac5cef
@ 86400   IN      NS    dns.ipv6.unifi.it.
1081
35a9caac5cef
1082
35a9caac5cef
@ 4800    IN      AAAA  2001:760:2c05:1::20
1083
35a9caac5cef
          IN      A     150.217.1.20
1084
35a9caac5cef
1085
35a9caac5cef
dns   4800    IN  AAAA  2001:760:2c05:1::20
1086
35a9caac5cef
      4800    IN  A     150.217.1.20
1087
35a9caac5cef
1088
35a9caac5cef
lenst 4800    IN  AAAA  2001:760:2c05:1001::24
1089
35a9caac5cef
\end{verbatim} %$
1090
35a9caac5cef
\end{frame}
1091
35a9caac5cef
1092
35a9caac5cef
\begin{frame}[fragile,shrink]\frametitle{Esempio record PTR (BIND 9)}
1093
35a9caac5cef
\begin{verbatim}
1094
35a9caac5cef
$TTL 3d ; Default TTL 
1095
35a9caac5cef
@ IN SOA 5.0.c.2.0.6.7.0.1.0.0.2.ip6.arpa. staffreti.unifi.it. (
1096
35a9caac5cef
                2009081102      ; Serial number (YYYYMMdd)
1097
35a9caac5cef
                24h             ; Refresh time
1098
35a9caac5cef
                30m             ; Retry time
1099
35a9caac5cef
                2d              ; Expire time
1100
35a9caac5cef
                3d )            ; Default TTL
1101
35a9caac5cef
1102
35a9caac5cef
IN     NS     dns.ipv6.unifi.it.
1103
35a9caac5cef
1104
35a9caac5cef
; prefix 2001:760:2c05:1::/64
1105
35a9caac5cef
$ORIGIN 1.0.0.0.5.0.c.2.0.6.7.0.1.0.0.2.ip6.arpa.
1106
35a9caac5cef
0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR dns.ipv6.unifi.it.
1107
35a9caac5cef
; prefix 2001:760:2c05:1001::/64
1108
35a9caac5cef
$ORIGIN 1.0.0.1.5.0.c.2.0.6.7.0.1.0.0.2.ip6.arpa.
1109
35a9caac5cef
4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR lenst.ipv6.unifi.it.
1110
35a9caac5cef
\end{verbatim} %$
1111
35a9caac5cef
\end{frame}
1112
35a9caac5cef
1113
35a9caac5cef
\begin{frame}[t]\frametitle{Il problema del reverse DNS}
1114
35a9caac5cef
	\begin{colorblock}{RFC 1912}
1115
35a9caac5cef
		\emph{Ogni host raggiungibile su Internet deve avere un hostname ed un record PTR per il reverse DNS.}
1116
35a9caac5cef
		
1117
35a9caac5cef
		Questo è un problema per IPv6.
1118
35a9caac5cef
		\begin{itemize}
1119
35a9caac5cef
		\item impossibile una generazione a priori (sono troppi)
1120
35a9caac5cef
		\item una generazione on demand potrebbe esporre ad attacchi DOS 
1121
35a9caac5cef
		\end{itemize}
1122
35a9caac5cef
	\end{colorblock}
1123
35a9caac5cef
	\pause
1124
35a9caac5cef
	\begin{colorblock}{Come viene usato oggi il reverse DNS?}
1125
35a9caac5cef
		\begin{itemize}
1126
9125f2880637
		\item Controllo SPAM per i server mail
1127
35a9caac5cef
		\item Funzionalità di logging 
1128
35a9caac5cef
		\end{itemize}
1129
35a9caac5cef
	\end{colorblock}
1130
35a9caac5cef
	\pause
1131
35a9caac5cef
	\begin{colorblock}{Soluzione}
1132
35a9caac5cef
		Registrare i record PTR solo per i server.
1133
35a9caac5cef
	\end{colorblock}
1134
35a9caac5cef
\end{frame}
1135
c4ed9b387327
1136
c4ed9b387327
\subsection{Firewall}
1137
c4ed9b387327
\begin{frame}
1138
c4ed9b387327
\frametitle{Firewall}
1139
c4ed9b387327
\begin{colorblock}{IPv4 e NAT $\rightarrow$ IPv6 e \texttt{Global Unicast}}
1140
c4ed9b387327
\tikzstyle{na} = [baseline=-.5ex]
1141
c4ed9b387327
\tikzstyle{every picture}+=[remember picture]
1142
c4ed9b387327
1143
c4ed9b387327
\begin{columns}
1144
c4ed9b387327
\column{.5\textwidth}
1145
c4ed9b387327
\tikzstyle{net}+=[on chain=going below]
1146
c4ed9b387327
\tikzstyle{lnet}+=[on chain=going right]
1147
c4ed9b387327
1148
c4ed9b387327
\begin{tikzpicture}[start chain,every join/.style={<->,thick},node distance=3mm] 
1149
c4ed9b387327
  \node [net] (net) {\pgfuseimage{nuvola}};
1150
c4ed9b387327
  \node [net,join,label=180:\tiny Router] (asbr) {\pgfuseimage{router}};
1151
c4ed9b387327
  \node [subnet, right of=net, yshift=+.7cm,lnet,join] { \begin{tikzpicture}[ node distance=1cm]
1152
c4ed9b387327
      \node [] (c1) {\pgfuseimage{schermo}};
1153
c4ed9b387327
      \node [right of=c1] (c2) {\pgfuseimage{schermo}};
1154
c4ed9b387327
      \node [right of=c2] (c3) {\pgfuseimage{schermo}};
1155
c4ed9b387327
		
1156
c4ed9b387327
      \node [subnet,below of=c2,yshift=-.15cm,xshift=.1cm] (nat) { \begin{tikzpicture}[ node distance=1cm]
1157
c4ed9b387327
          \node [] (n1) {\pgfuseimage{schermo}}; 
1158
c4ed9b387327
          \node [right of=n1] (n2) {\pgfuseimage{schermo}};
1159
c4ed9b387327
        \end{tikzpicture}};
1160
c4ed9b387327
      \node [left of=nat,xshift=-.25cm,label=-90:\tiny NAT] (natter) {\pgfuseimage{case}}; 
1161
c4ed9b387327
    \end{tikzpicture} };
1162
c4ed9b387327
%label
1163
c4ed9b387327
  \node at (net) [anchor=center] {\tiny Internet};
1164
c4ed9b387327
\end{tikzpicture}
1165
c4ed9b387327
\column{.5\textwidth}
1166
c4ed9b387327
\begin{itemize}[<+->]
1167
c4ed9b387327
\item I computer dietro al NAT\tikz[na] \node[coordinate] (nat_txt)
1168
c4ed9b387327
  {}; sono ``automaticamente protetti''
1169
c4ed9b387327
1170
c4ed9b387327
\item In IPv6 invece avranno un indirizzo \texttt{global unicast}, \`e
1171
c4ed9b387327
  necessario ``proteggerli'' installando un firewall sul NAT.
1172
c4ed9b387327
\end{itemize}
1173
c4ed9b387327
\end{columns}
1174
c4ed9b387327
1175
c4ed9b387327
1176
c4ed9b387327
%collegamenti
1177
c4ed9b387327
\begin{tikzpicture}[overlay]
1178
c4ed9b387327
	\path[->]<1> (nat_txt) edge [bend left,olink] (natter);
1179
c4ed9b387327
%	\path[->]<3> (tb) edge [bend right,olink] (6to4);
1180
c4ed9b387327
\end{tikzpicture}
1181
c4ed9b387327
\end{colorblock}
1182
c4ed9b387327
1183
c4ed9b387327
1184
c4ed9b387327
\end{frame}
1185
c4ed9b387327
1186
c4ed9b387327
\begin{frame}
1187
c4ed9b387327
  \frametitle{Firewall - \texttt{ip6tables}}
1188
c4ed9b387327
  \setbeamercovered{invisible}
1189
c4ed9b387327
  \begin{columns}
1190
c4ed9b387327
    \begin{column}{.55\textwidth}
1191
c4ed9b387327
    \includegraphics[]{chains}
1192
c4ed9b387327
  \end{column}
1193
c4ed9b387327
  \begin{column}{.45\textwidth}
1194
c4ed9b387327
    \pause
1195
c4ed9b387327
    \begin{colorblock}{Le catene di \texttt{ip6tables}}
1196
c4ed9b387327
      I pacchetti in ingresso attraversano una lista di regole.
1197
c4ed9b387327
1198
c4ed9b387327
      Se il destinatario del pacchetto non \`e il firewall si utilizza
1199
c4ed9b387327
      la catena di \texttt{FORWARD}. Bloccando tutte le nuove
1200
c4ed9b387327
      connessioni nella catena di \texttt{FORWARD} si ottiene un
1201
c4ed9b387327
      livello di ``protezione'' paragonabile al NAT IPv4.
1202
c4ed9b387327
    \end{colorblock}
1203
c4ed9b387327
  \end{column}
1204
c4ed9b387327
\end{columns}
1205
c4ed9b387327
  
1206
c4ed9b387327
\end{frame}
1207
35a9caac5cef
1208
0a549da557af
% section automatismi_e_routing (end)
1209
0a549da557af
1210
5e5a1b42454d
\section{Connettività}
1211
40d45ba2de56
\subsection{Introduzione}
1212
5e5a1b42454d
\begin{frame}
1213
5e5a1b42454d
  \frametitle{Connettività IPv6}
1214
5e5a1b42454d
  Un nodo configurato per IPv6 può essere di tre tipi.
1215
5e5a1b42454d
1216
5e5a1b42454d
  \begin{description}
1217
5e5a1b42454d
  \item[tunnel] la connettivit\`a IPv4 \`e nativa, mentre quella IPv6 si ottiene attraverso un tunnel IPv4.
1218
5e5a1b42454d
  \item[IPv6 only] il nodo ha connettivit\`a IPv6 nativa e non ha lo stack protocollare IPv4
1219
5e5a1b42454d
  \item[dual-stack] il nodo ha entrambi gli stack protocolari attivi in modalit\`a nativa.
1220
5e5a1b42454d
  \end{description}
1221
5e5a1b42454d
\end{frame}
1222
5e5a1b42454d
1223
5e5a1b42454d
\subsection{Tunneling} % (fold)
1224
9125f2880637
\begin{frame}[t]\frametitle{Tunneling}
1225
9125f2880637
\begin{colorblock}{Scopo}
1226
9125f2880637
	Le tecniche di tunneling consentono di bypassare tronconi della rete che non 
1227
9125f2880637
	supportano IPv6 incapsulando il pacchetto in uno o pi\`u datagrammi IPv4.
1228
9125f2880637
\end{colorblock}
1229
9125f2880637
\pause
1230
9125f2880637
\vspace{.5cm}
1231
9125f2880637
\begin{colorblock}{Metodi}
1232
9125f2880637
	\begin{itemize}
1233
9125f2880637
	\item<2-> Tunneling a livello Rete (\texttt{proto-41})
1234
9125f2880637
	\item<3-> Tunneling a livello Trasporto (\texttt{AYIYA})
1235
9125f2880637
	\end{itemize}
1236
9125f2880637
\end{colorblock}
1237
9125f2880637
\end{frame}
1238
9125f2880637
1239
9125f2880637
\begin{frame}[shrink]\frametitle{Tunneling a livello Rete - \texttt{proto-41}}
1240
9125f2880637
	\begin{colorblock}{\texttt{proto-41} (rfc3056)}
1241
9125f2880637
		Noto anche come \emph{6to4} implementa la tecnica IPv6-in-IPv4 che consiste nell'inserire
1242
9125f2880637
		il pacchetto completo IPv6 come payload di uno o più pacchetti IPv4.
1243
9125f2880637
	\end{colorblock}
1244
9125f2880637
	\pause
1245
9125f2880637
	\vspace{.5cm}
1246
9125f2880637
	\begin{center}
1247
9125f2880637
	\begin{bytefield}{32} 
1248
9125f2880637
		\wordbox{1}{Frame Ethernet}\\
1249
9125f2880637
		\wordbox{1}{Header IPv4}\\
1250
9125f2880637
		\wordbox[lrt]{1}{Pacchetto IPv6} \\ 
1251
9125f2880637
		\skippedwords \\ 
1252
9125f2880637
		\wordbox[lrb]{1}{} \\
1253
9125f2880637
	\end{bytefield}
1254
9125f2880637
	\end{center}
1255
9125f2880637
\end{frame}
1256
9125f2880637
	
1257
9125f2880637
\begin{frame}[t]\frametitle{Tunneling a livello Rete - \texttt{proto-41} (cont.)}
1258
9125f2880637
1259
9125f2880637
		\begin{colorblock}{Tunneling automatico (senza configurazione)}
1260
0ae04ada4dba
		Si cerca di raggiungere un \emph{relay router IPv6} (\texttt{192.88.99.1} anycast IPv4) in grado di instradare il nostro pacchetto in modo nativo. \\
1261
9125f2880637
	 	A questo scopo è stata riservata la rete \texttt{2002::/16} 
1262
9125f2880637
	 	che associa ad ogni indirizzo IPv4 un prefix di 48 bit composto
1263
9125f2880637
	 	da \texttt{2002} più i 32 bit dell'indirizzo IPv4 convertito in esadecimale.\\
1264
9125f2880637
		\end{colorblock}
1265
9125f2880637
		\pause
1266
9125f2880637
		\vspace{.15cm}
1267
9125f2880637
		\begin{center}
1268
9125f2880637
		\begin{tabular}{c c l}
1269
9125f2880637
		       & \tiny{32 bit} & \\
1270
9125f2880637
		       & $\overbrace{ {\color{chameleongreen1}\texttt{192.0.2.42}} }$ & \\
1271
9125f2880637
		       &  $\downarrow$ \tiny{to hex} & \\
1272
9125f2880637
		$\underbrace{\texttt{2002}}$: & {\color{chameleongreen1}\texttt{c000:022a}} & \texttt{::/48} \\
1273
9125f2880637
		\tiny{16 bit} & &
1274
9125f2880637
		\end{tabular}
1275
9125f2880637
		\end{center}
1276
9125f2880637
	
1277
9125f2880637
\end{frame}
1278
9125f2880637
1279
9125f2880637
\begin{frame}[t]\frametitle{Tunneling a livello Rete - \texttt{proto-41} (cont.)}
1280
9125f2880637
	\begin{colorblock}{Tunneling non automatico (con configurazione)}
1281
9125f2880637
	Il proto-41 può essere anche usato in modo non automatico per collegare
1282
9125f2880637
	due punti della rete di un AS che non dispongono di 
1283
9125f2880637
	router abilitati al traffico IPv6.  \\
1284
9125f2880637
	In questo caso è necessario configurare dei punti di accesso agli estremi che 
1285
9125f2880637
	intendiamo collegare per gestire la trasformazione IPv4$\leftrightarrow$IPv6.
1286
9125f2880637
\end{colorblock}
1287
9125f2880637
1288
9125f2880637
\end{frame}
1289
9125f2880637
1290
9125f2880637
1291
9125f2880637
\begin{frame}[shrink]\frametitle{Tunneling a livello Rete - \texttt{proto-41} (cont.)}
1292
9125f2880637
\begin{colorblock}{Tunneling non automatico}
1293
9125f2880637
	\input{protocol41}
1294
9125f2880637
\end{colorblock}
1295
9125f2880637
1296
9125f2880637
\end{frame}
1297
0ae04ada4dba
1298
0ae04ada4dba
\begin{frame}
1299
0ae04ada4dba
\frametitle{AYIYA}
1300
0ae04ada4dba
\begin{colorblock}{\texttt{AYIYA} - Anything In Anything}
1301
0ae04ada4dba
AYIYA definisce un metodo per configurare un tunnel per un client IPv4 
1302
0ae04ada4dba
che si trovi dietro un NAT, in questo caso si utilizzano i protocolli 
1303
0ae04ada4dba
UDP o TCP per instradare il traffico IPv6.
1304
0ae04ada4dba
1305
0ae04ada4dba
Otteniamo quindi un tunnel di tipo \texttt{IPv6-in-UDP-in-IPv4} o 
1306
0ae04ada4dba
\texttt{IPv6-in-TCP-in-IPv4} che aggiunge connettività IPv6 al nostro nodo.
1307
0ae04ada4dba
\end{colorblock}
1308
0ae04ada4dba
\pause
1309
0ae04ada4dba
\vspace{.5cm}
1310
0ae04ada4dba
\resizebox{!}{0.4\textheight}{
1311
0ae04ada4dba
  \hspace{4cm}
1312
0ae04ada4dba
  \begin{bytefield}{32} 
1313
0ae04ada4dba
    \wordbox{1}{Frame Ethernet}\\
1314
0ae04ada4dba
    \wordbox{1}{Header IPv4}\\
1315
0ae04ada4dba
    \wordbox{1}{TCP o UDP}\\
1316
0ae04ada4dba
    \wordbox[lrt]{1}{Pacchetto IPv6} \\ 
1317
0ae04ada4dba
    \skippedwords \\ 
1318
0ae04ada4dba
    \wordbox[lrb]{1}{} \\
1319
0ae04ada4dba
  \end{bytefield}
1320
0ae04ada4dba
}
1321
0ae04ada4dba
\end{frame}
1322
5e5a1b42454d
1323
5e5a1b42454d
\subsection{IPv6 only}
1324
5e5a1b42454d
\begin{frame}
1325
5e5a1b42454d
  \frametitle{IPv6 only}
1326
5e5a1b42454d
  \begin{colorblock}{Solo IPv6? Siamo sicuri?}
1327
5e5a1b42454d
    \begin{itemize}
1328
5e5a1b42454d
    \item<2->I tempi non sono ancora maturi per una rete
1329
5e5a1b42454d
      esclusivamente IPv6.  Si resterebbe tagliati fuori da tutta
1330
5e5a1b42454d
      l'attuale infrastruttura IPv4.
1331
5e5a1b42454d
1332
5e5a1b42454d
    \item<3-> Rimane comunque evidente il fatto che in futuro la
1333
5e5a1b42454d
      maggioranza degli host saranno esclusivamente IPv6. \pause
1334
5e5a1b42454d
1335
5e5a1b42454d
    \item<4-> Tuttavia esiste una tecnica, chiamata NAT-PT, che
1336
5e5a1b42454d
      permette ad una rete IPv6 only di comunicare con gli host IPv4. 
1337
5e5a1b42454d
    \end{itemize}
1338
5e5a1b42454d
  \end{colorblock}
1339
5e5a1b42454d
\end{frame}
1340
5e5a1b42454d
\begin{frame}
1341
5e5a1b42454d
  \frametitle{IPv6 only NAT-PT}
1342
5e5a1b42454d
  \begin{colorblock}{Schema NAT-PT} 
1343
5e5a1b42454d
    \include{nat-pt}
1344
5e5a1b42454d
  \end{colorblock}
1345
5e5a1b42454d
  \vspace{.25cm} \pause
1346
5e5a1b42454d
1347
5e5a1b42454d
\begin{colorblock}{Funzionamento}
1348
5e5a1b42454d
\only<presentation:2>{Il gateway NAT-PT far\`a advertising di un prefix fittizio di
1349
5e5a1b42454d
  dimensione 96 bit e convertirà tutte le risposte del server DNS che
1350
5e5a1b42454d
  contengono solo record IPv4 in record IPv6 costruiti accodando al
1351
5e5a1b42454d
  prefisso in questione l'indirizzo IPv4 convertito in forma
1352
5e5a1b42454d
  esadecimale.}  
1353
5e5a1b42454d
\only<presentation:3>{Quando Alice vorrà comunicare con Bob, manderà un
1354
5e5a1b42454d
  pacchetto all'indirizzo IPv6
1355
5e5a1b42454d
  alterato dal gateway.}
1356
5e5a1b42454d
\only<presentation:4>{
1357
5e5a1b42454d
  Il gateway~NAT-PT, una volta ricevuto il pacchetto, lo tradurr\`a in
1358
5e5a1b42454d
  uno IPv4 assegnando ad Alice una porta ed un IP dalla rete
1359
5e5a1b42454d
  \texttt{78.134.19.0/24},
1360
5e5a1b42454d
  similmente a ciò che avviene per le reti private IPv4.}
1361
5e5a1b42454d
\only<presentation:5>{
1362
5e5a1b42454d
  Quando Bob risponder\`a al pacchetto il gateway si preoccuper\`a di
1363
5e5a1b42454d
  fare l'operazione inversa garantendo cos\`i la comunicazione fra la
1364
5e5a1b42454d
  rete solo IPv6 e la rete solo IPv4.}
1365
5e5a1b42454d
\end{colorblock}
1366
5e5a1b42454d
\end{frame}
1367
9125f2880637
1368
0ae04ada4dba
\begin{frame}
1369
5e5a1b42454d
  \frametitle{IPv6 only NAT-PT (cont.)}
1370
5e5a1b42454d
  \begin{colorblock}{C'\`e qualcosa di strano...}
1371
5e5a1b42454d
    \pause Se ci fermiamo un attimo a riflettere sulla struttura del
1372
5e5a1b42454d
    NAT-PT ci verr\`a subito in mente che se uno dei vantaggi di IPv6
1373
5e5a1b42454d
    \`e la rimozione dei NAT, \textbf{che senso ha introdurre una
1374
5e5a1b42454d
      nuova tecnologia di NAT? Nessuno!} Infatti il NAT-PT viene
1375
5e5a1b42454d
    sconsigliato a meno di installazioni particolari in cui i nodi non
1376
5e5a1b42454d
    implementano lo stack IPv4.
1377
5e5a1b42454d
    
1378
5e5a1b42454d
  \end{colorblock}
1379
5e5a1b42454d
\end{frame}
1380
5e5a1b42454d
1381
5e5a1b42454d
\subsection{Dual-stack}
1382
5e5a1b42454d
\begin{frame}
1383
5e5a1b42454d
  \frametitle{Dual-stack}
1384
5e5a1b42454d
  Un nodo dual-stack implementa in modo nativo entrambe le versioni del
1385
5e5a1b42454d
  protocollo IP.  \pause
1386
5e5a1b42454d
1387
5e5a1b42454d
  \begin{colorblock}{Contro}
1388
5e5a1b42454d
    \begin{itemize}
1389
5e5a1b42454d
    \item<2-> doppia tabella di routing
1390
40d45ba2de56
    \item<3-> doppie librerie di sistema per il networking
1391
5e5a1b42454d
    \item<4-> doppie utility di sistema per la gestione della rete
1392
5e5a1b42454d
      (ping/ping6, traceroute/traceroute6, \ldots)
1393
5e5a1b42454d
    \end{itemize}
1394
5e5a1b42454d
  \end{colorblock}
1395
5e5a1b42454d
  \pause
1396
5e5a1b42454d
1397
5e5a1b42454d
  \begin{colorblock}{Pro}
1398
5e5a1b42454d
    \begin{itemize}
1399
5e5a1b42454d
    \item<5-> nessuna necessit\`a di sw per la gestione dei tunnel
1400
5e5a1b42454d
    \item<6-> possibilit\`a di raggiungere sia servizi IPv6 che IPv4
1401
5e5a1b42454d
      senza complicare la struttura della rete (vedi NAT-PT)
1402
5e5a1b42454d
    \item<7-> tutti i \emph{contro} citati sono irrilevanti sui
1403
5e5a1b42454d
      computer in commercio oggi
1404
5e5a1b42454d
    \end{itemize}
1405
5e5a1b42454d
  \end{colorblock}
1406
5e5a1b42454d
\end{frame}
1407
40d45ba2de56
1408
b0824ccd5f09
\section{Implementare IPv6}
1409
f6c754e3eeb6
1410
f6c754e3eeb6
\subsection{Tunnel Broker}
1411
f6c754e3eeb6
\begin{frame}\frametitle{Tunnel Broker}
1412
f6c754e3eeb6
\setbeamercovered{invisible}
1413
f6c754e3eeb6
\begin{colorblock}{Definizione - RFC3053}
1414
0ae04ada4dba
  I tunnel broker sono dei fornitori di connettività IPv6 attraverso la rete
1415
0ae04ada4dba
  IPv4.
1416
f6c754e3eeb6
\end{colorblock}
1417
f6c754e3eeb6
\pause
1418
f6c754e3eeb6
1419
f6c754e3eeb6
\vspace{1cm}
1420
f6c754e3eeb6
1421
f6c754e3eeb6
\tikzstyle{net}+=[on chain]
1422
f6c754e3eeb6
1423
f6c754e3eeb6
\begin{center}
1424
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick}]
1425
f6c754e3eeb6
	\node [net,join] (client) {\pgfuseimage{schermo}}; 
1426
f6c754e3eeb6
	\node [net,join] (rete) {\pgfuseimage{nuvola}};
1427
f6c754e3eeb6
	\node [net,join] (broker) {\pgfuseimage{router}};
1428
f6c754e3eeb6
	\uncover<3-> {\node [net,join] (ipv6) {\pgfuseimage{nuvola}}; }
1429
f6c754e3eeb6
	
1430
f6c754e3eeb6
	%label
1431
f6c754e3eeb6
	\node [below of=client] {\small client};
1432
f6c754e3eeb6
	\node at (rete) [anchor=center] {\small IPv4};
1433
f6c754e3eeb6
	\node [below of=broker] {\small tunnel broker};
1434
f6c754e3eeb6
	\uncover<3-> { \node at (ipv6) [anchor=center] {\small IPv6};}
1435
f6c754e3eeb6
	
1436
f6c754e3eeb6
	%archi
1437
f6c754e3eeb6
	\uncover<4-> {
1438
f6c754e3eeb6
		\path (client) edge[<->,dashed,thick,bend right] node[below]{\small IPv6-in-IPv4} (broker);
1439
f6c754e3eeb6
%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
1440
f6c754e3eeb6
	}
1441
f6c754e3eeb6
\end{tikzpicture}
1442
f6c754e3eeb6
\end{center}
1443
f6c754e3eeb6
1444
f6c754e3eeb6
\end{frame}
1445
f6c754e3eeb6
1446
f6c754e3eeb6
\tikzstyle{na} = [baseline=-.5ex]
1447
f6c754e3eeb6
\tikzstyle{every picture}+=[remember picture]
1448
f6c754e3eeb6
1449
f6c754e3eeb6
\subsection{SOHO}
1450
f6c754e3eeb6
\begin{frame}
1451
f6c754e3eeb6
\frametitle{Small Office Home Office (SOHO)}
1452
f6c754e3eeb6
\begin{columns}
1453
f6c754e3eeb6
\column{.3\textwidth} % column designated by a command
1454
f6c754e3eeb6
\begin{itemize}
1455
f6c754e3eeb6
	\item LAN standard
1456
f6c754e3eeb6
	\item<2-> Router Advertisement\tikz[na] \node[coordinate] (adv) {};
1457
f6c754e3eeb6
	\item<3-> Connettività IPv6 attraverso un tunnel broker \tikz[na] \node[coordinate] (tb) {};
1458
f6c754e3eeb6
\end{itemize}
1459
f6c754e3eeb6
\column{.7\textwidth}
1460
f6c754e3eeb6
\setbeamercovered{invisible}
1461
f6c754e3eeb6
1462
f6c754e3eeb6
\tikzstyle{net}+=[on chain]
1463
f6c754e3eeb6
\tikzstyle{lnet}+=[on chain=going below]
1464
f6c754e3eeb6
1465
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick}] 
1466
f6c754e3eeb6
	\node [net,join] (ipv4) {\pgfuseimage{nuvola}};
1467
f6c754e3eeb6
	{ [start branch=lan]
1468
f6c754e3eeb6
		\node [lnet,join=with ipv4,label=180:\tiny router] (router) {\pgfuseimage{router}};
1469
f6c754e3eeb6
		\node [subnet,lnet,join] { \begin{tikzpicture}
1470
f6c754e3eeb6
			\node [] (client1) {\pgfuseimage{schermo}};
1471
f6c754e3eeb6
			\node [right of=client1] (client2) {\pgfuseimage{schermo}};
1472
f6c754e3eeb6
			\node [right of=client2] (client3) {\pgfuseimage{case}}; 
1473
f6c754e3eeb6
		\end{tikzpicture}
1474
f6c754e3eeb6
	   };
1475
f6c754e3eeb6
	}
1476
f6c754e3eeb6
	\uncover<3-> {
1477
f6c754e3eeb6
		\node [net,join=with ipv4,right of=ipv4,label=90:\tiny tunnel broker] (broker) {\pgfuseimage{router}};
1478
f6c754e3eeb6
		\node [net,join] (ipv6) {\pgfuseimage{nuvola}};
1479
f6c754e3eeb6
	}
1480
f6c754e3eeb6
	
1481
f6c754e3eeb6
	%label
1482
f6c754e3eeb6
	%\node [below of=client] {\small client};
1483
f6c754e3eeb6
	\node at (ipv4) [anchor=center] {\tiny IPv4};
1484
f6c754e3eeb6
	\uncover<3-> {
1485
f6c754e3eeb6
		\node at (ipv6) [anchor=center] {\tiny IPv6};
1486
f6c754e3eeb6
%	}
1487
f6c754e3eeb6
	
1488
f6c754e3eeb6
	%archi
1489
f6c754e3eeb6
	%\uncover<4-> {
1490
f6c754e3eeb6
		\path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\tiny IPv6-in-IPv4} (broker);
1491
f6c754e3eeb6
%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
1492
f6c754e3eeb6
	}
1493
f6c754e3eeb6
\end{tikzpicture}
1494
f6c754e3eeb6
\end{columns}
1495
f6c754e3eeb6
1496
f6c754e3eeb6
%collegamenti
1497
f6c754e3eeb6
\begin{tikzpicture}[overlay]
1498
f6c754e3eeb6
	\path[->]<2> (adv) edge [bend right,olink] (router);
1499
f6c754e3eeb6
	\path[->]<3> (tb) edge [bend right,olink] (6to4);
1500
f6c754e3eeb6
\end{tikzpicture}
1501
f6c754e3eeb6
\end{frame}
1502
f6c754e3eeb6
1503
f6c754e3eeb6
\subsection{Enterprise}
1504
f6c754e3eeb6
\begin{frame}
1505
f6c754e3eeb6
\frametitle{Enterprise}
1506
f6c754e3eeb6
\begin{columns}
1507
f6c754e3eeb6
\column{.35\textwidth} % column designated by a command
1508
f6c754e3eeb6
\begin{itemize}
1509
f6c754e3eeb6
	\item Rete enterprise
1510
f6c754e3eeb6
	\item<2-> Routing OSPFv3 \tikz[na] \node[coordinate] (ospf) {};
1511
f6c754e3eeb6
	\item<3-> Aggiornamento del server DNS \tikz[na] \node[coordinate] (agg dns) {};
1512
f6c754e3eeb6
	\item<4-> Server DHCP \tikz[na] \node[coordinate] (dhcp) {};
1513
f6c754e3eeb6
	\item<4-> Relay agent DHCP \tikz[na] \node[coordinate] (relay) {};
1514
f6c754e3eeb6
	\item<5-> Router Advertisement \tikz[na] \node[coordinate] (ra) {};
1515
f6c754e3eeb6
	\item<6-> Rimozione dei NAT \tikz[na] \node[coordinate] (no nat) {};
1516
f6c754e3eeb6
	\item<7-> Aggiornamento dei servizi \tikz[na] \node[coordinate] (servizi) {};
1517
f6c754e3eeb6
\end{itemize}
1518
f6c754e3eeb6
\column{.65\textwidth}
1519
f6c754e3eeb6
\setbeamercovered{invisible}
1520
f6c754e3eeb6
1521
f6c754e3eeb6
\tikzstyle{net}+=[on chain=going below]
1522
f6c754e3eeb6
\tikzstyle{lnet}+=[on chain=going right]
1523
f6c754e3eeb6
1524
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick},node distance=3mm] 
1525
f6c754e3eeb6
	\node [net] (net) {\pgfuseimage{nuvola}};
1526
f6c754e3eeb6
	\node [net,join,label=180:\tiny ASBR] (asbr) {\pgfuseimage{router}};
1527
f6c754e3eeb6
	{ [start branch=lans] } % just a declaration, 
1528
f6c754e3eeb6
	{ [start branch=br2]
1529
f6c754e3eeb6
		\node [on chain=going below right,join,label=90:\tiny BR2] (mybr2) {\pgfuseimage{router}};
1530
f6c754e3eeb6
	}
1531
f6c754e3eeb6
	\node [net,on chain=going below left,join,join=with asbr,label=180:\tiny BR1] (br1) {\pgfuseimage{router}};
1532
f6c754e3eeb6
	\node [subnet,net,join] { \begin{tikzpicture}[ node distance=1cm]
1533
f6c754e3eeb6
			\node [] (c4) {\pgfuseimage{schermo}};
1534
f6c754e3eeb6
			\node [right of=c4] (c5) {\pgfuseimage{schermo}};
1535
f6c754e3eeb6
			\node [right of=c5] (c6) {\pgfuseimage{schermo}}; 
1536
f6c754e3eeb6
			\end{tikzpicture} };
1537
f6c754e3eeb6
	
1538
f6c754e3eeb6
	{ [continue branch=lans] 
1539
f6c754e3eeb6
	\node [subnet,on chain, right of=asbr, xshift=3.5cm,join=with asbr] { \begin{tikzpicture}[ node distance=1cm]
1540
f6c754e3eeb6
		\node [label=-90:\tiny{DNS}] (dns) {\pgfuseimage{case}};
1541
f6c754e3eeb6
		\node [label=-90:\tiny Web server,right of=dns] (web server) {\pgfuseimage{case}}; 
1542
f6c754e3eeb6
		\uncover<4->{\node [label=-90:\tiny{DHCPv6},right of=web server] (dhcpv6) {\pgfuseimage{case}};}
1543
f6c754e3eeb6
		\end{tikzpicture} };
1544
f6c754e3eeb6
	\node [subnet,net,join=with mybr2] { \begin{tikzpicture}[ node distance=1cm]
1545
f6c754e3eeb6
		\node [] (c1) {\pgfuseimage{schermo}};
1546
f6c754e3eeb6
		\node [right of=c1] (c2) {\pgfuseimage{schermo}};
1547
f6c754e3eeb6
		\node [right of=c2] (c3) {\pgfuseimage{schermo}};
1548
f6c754e3eeb6
		
1549
f6c754e3eeb6
	\node [subnet,below of=c2,yshift=-.15cm,xshift=.1cm] (nat) { \begin{tikzpicture}[ node distance=1cm]
1550
f6c754e3eeb6
			\node [] (n1) {\pgfuseimage{schermo}}; 
1551
f6c754e3eeb6
			\node [right of=n1] (n2) {\pgfuseimage{schermo}};
1552
f6c754e3eeb6
			\end{tikzpicture}};
1553
f6c754e3eeb6
		\node [left of=nat,xshift=-.25cm] (natter) {\pgfuseimage{case}}; 
1554
f6c754e3eeb6
		
1555
f6c754e3eeb6
		\end{tikzpicture} };
1556
f6c754e3eeb6
	}
1557
f6c754e3eeb6
	
1558
f6c754e3eeb6
%label
1559
f6c754e3eeb6
	\node at (net) [anchor=center] {\tiny Internet};
1560
f6c754e3eeb6
%	\uncover<3-> {
1561
f6c754e3eeb6
%		\node at (ipv6) [anchor=center] {\small IPv6};
1562
f6c754e3eeb6
%%	}
1563
f6c754e3eeb6
%	
1564
f6c754e3eeb6
%	%archi
1565
f6c754e3eeb6
%	%\uncover<4-> {
1566
f6c754e3eeb6
%		\path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\small IPv6-in-IPv4} (broker);
1567
f6c754e3eeb6
%%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
1568
f6c754e3eeb6
%	}
1569
f6c754e3eeb6
\end{tikzpicture}
1570
f6c754e3eeb6
\end{columns}
1571
f6c754e3eeb6
1572
f6c754e3eeb6
%collegamenti
1573
f6c754e3eeb6
\begin{tikzpicture}[overlay]
1574
f6c754e3eeb6
	\path[->]<2> (ospf) edge [olink] (asbr) edge [bend right,olink] (mybr2) edge [bend right,olink] (br1);
1575
f6c754e3eeb6
	\path[->]<3> (agg dns) edge [bend right,olink] (dns);
1576
f6c754e3eeb6
	\path[->]<4> (dhcp) edge [bend left,olink] (dhcpv6);
1577
f6c754e3eeb6
	\path[->]<4> (relay) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1);
1578
f6c754e3eeb6
	\path[->]<5> (ra) edge [bend left,olink] (asbr) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1);
1579
f6c754e3eeb6
	\path[->]<6> (no nat) edge [olink] (natter);
1580
f6c754e3eeb6
	\path[->]<7> (servizi) edge [bend right, olink] (web server);
1581
f6c754e3eeb6
\end{tikzpicture}
1582
f6c754e3eeb6
\end{frame}
1583
f6c754e3eeb6
1584
40d45ba2de56
\subsection{Esercizi pratici}
1585
5e5a1b42454d
\begin{frame}
1586
5e5a1b42454d
  \frametitle{Fare pratica con IPv6}
1587
40d45ba2de56
  I tunnel broker ci possono permettre di provare IPv6 anche se il
1588
5e5a1b42454d
  nostro ISP ancora non ce lo fornisce.  \pause
1589
5e5a1b42454d
1590
5e5a1b42454d
  \begin{colorblock}{SixXS - \url{http://www.sixxs.net}}
1591
5e5a1b42454d
    \begin{itemize}
1592
5e5a1b42454d
    \item POP anche in Italia
1593
5e5a1b42454d
    \item il primo tunnel è un \texttt{/128}
1594
5e5a1b42454d
    \item sistema a punteggio (bisogna usarlo per bene)
1595
5e5a1b42454d
    \item con i punti si pu\`o richiedere un prefix \texttt{/48}
1596
5e5a1b42454d
    \item supporto per \texttt{proto-41} e \texttt{AYIYA}
1597
5e5a1b42454d
    \end{itemize}
1598
5e5a1b42454d
  \end{colorblock}
1599
5e5a1b42454d
  \begin{colorblock}{Hurricane Electric - \url{http://www.tunnelbroker.net}}
1600
5e5a1b42454d
    \begin{itemize}
1601
5e5a1b42454d
    \item scarsa presenza in Europa (tunnel broker americano)
1602
5e5a1b42454d
    \item ottieni subito un prefix \texttt{/64}
1603
5e5a1b42454d
    \item supportano solo \texttt{proto-41}
1604
5e5a1b42454d
    \end{itemize}
1605
5e5a1b42454d
  \end{colorblock}
1606
5e5a1b42454d
\end{frame}
1607
5e5a1b42454d
\begin{frame}
1608
5e5a1b42454d
  \frametitle{Certificazione IPv6}
1609
5e5a1b42454d
  \begin{colorblock}{Hurricane Electric IPv6 Certification}
1610
5e5a1b42454d
    Hurricane Electric prevede una certificazione gratuita e
1611
5e5a1b42454d
    divertente per mettere alla prova le proprie consocienze su
1612
5e5a1b42454d
    IPv6. Inizialmente baster\`a collegarsi in IPv6 al sito per
1613
5e5a1b42454d
    ottenere i primi livelli, successivamente si dov\`a dimostrare di
1614
40d45ba2de56
    gestire un webserver IPv6 e di ricevere email inviate tramite IPv6.
1615
5e5a1b42454d
  \end{colorblock}
1616
5e5a1b42454d
  \begin{columns}
1617
5e5a1b42454d
    \column{.5\textwidth} Il sito per la certificazione è \\
1618
5e5a1b42454d
    \url{http://ipv6.he.net/certification/}.
1619
5e5a1b42454d
1620
5e5a1b42454d
    \column{.5\textwidth}
1621
5e5a1b42454d
    \includegraphics[width=\textwidth]{certificato}
1622
5e5a1b42454d
  \end{columns}
1623
5e5a1b42454d
1624
5e5a1b42454d
\end{frame}
1625
5e5a1b42454d
1626
40d45ba2de56
\section*{Riferimenti Bibliografici}
1627
40d45ba2de56
\begin{frame}
1628
40d45ba2de56
  \frametitle{\refname}
1629
c4ed9b387327
  \begin{thebibliography}{Hagen06}
1630
4eeb9c8e2bc5
  \bibitem{Caiazza09} A.~Caiazza
1631
4eeb9c8e2bc5
    \newblock Introduzione a IPv6
1632
4eeb9c8e2bc5
    \newblock \url{http://bit.ly/introduzione_ipv6}
1633
c4ed9b387327
  \bibitem{Hagen06} S.~Hagen
1634
40d45ba2de56
    \newblock IPv6 Essentials, 2nd Ed.
1635
40d45ba2de56
    \newblock \emph{O'Reilly}, 2006
1636
40d45ba2de56
  \end{thebibliography}
1637
40d45ba2de56
\end{frame}
1638
40d45ba2de56
1639
35a9caac5cef
\section*{Licenza}
1640
ef7af8537f95
\begin{frame}\frametitle{Licenza Creative Commons\newline{}\small Attribuzione-Non commerciale-Condividi allo stesso modo 2.5 Italia}
1641
ef7af8537f95
\small
1642
ef7af8537f95
\begin{colorblock}{Tu sei libero:}
1643
ef7af8537f95
	\tiny
1644
ef7af8537f95
	\begin{itemize}
1645
ef7af8537f95
	\item di riprodurre, distribuire, comunicare al pubblico, esporre in pubblico, rappresentare, eseguire e recitare quest'opera
1646
ef7af8537f95
	\item di modificare quest'opera
1647
ef7af8537f95
	\end{itemize}
1648
ef7af8537f95
\end{colorblock}
1649
ef7af8537f95
1650
ef7af8537f95
\begin{colorblock}{Alle seguenti condizioni:}
1651
ef7af8537f95
	\begin{itemize}
1652
ef7af8537f95
	\tiny
1653
ef7af8537f95
	\item \textbf{Attribuzione.} Devi attribuire la paternità dell'opera nei modi indicati dall'autore o da chi ti ha dato l'opera in licenza e in modo tale da non suggerire che essi avallino te o il modo in cui tu usi l'opera.
1654
ef7af8537f95
	\item \textbf{Non commerciale.} Non puoi usare quest'opera per fini commerciali.
1655
ef7af8537f95
	\item \textbf{Condividi allo stesso modo.} Se alteri o trasformi quest'opera, o se la usi per crearne un'altra, puoi distribuire l'opera risultante solo con una licenza identica o equivalente a questa.
1656
ef7af8537f95
	\end{itemize}
1657
ef7af8537f95
\end{colorblock}
1658
ef7af8537f95
1659
ef7af8537f95
\tiny
1660
ef7af8537f95
\begin{itemize}
1661
ef7af8537f95
	\item Ogni volta che usi o distribuisci quest'opera, devi farlo secondo i termini di questa licenza, che va comunicata con chiarezza.
1662
ef7af8537f95
	\item In ogni caso, puoi concordare col titolare dei diritti utilizzi di quest'opera non consentiti da questa licenza.
1663
ef7af8537f95
	\item Questa licenza lascia impregiudicati i diritti morali.
1664
f6c754e3eeb6
\end{itemize}
1665
f6c754e3eeb6
	
1666
f6c754e3eeb6
\end{frame}
1667
f6c754e3eeb6
\end{document}
1668
0ae04ada4dba
1669
0ae04ada4dba
%%% Local Variables: 
1670
0ae04ada4dba
%%% mode: latex
1671
0ae04ada4dba
%%% TeX-master: "ipv6.slides"
1672
0ae04ada4dba
%%% End: