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
e16e32db07d5
parent
ef7af8537f95
branch
default

Struttura/Tipi e Visibilità/Header

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
ef7af8537f95
          watermark=licenza_small,% Watermark used in every page.
28
ef7af8537f95
          watermarkheight=5px,% 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
f6c754e3eeb6
37
f6c754e3eeb6
\newenvironment{colorblock}
38
f6c754e3eeb6
{\begin{beamerboxesrounded}[upper=uppercolor,lower=lowercolor,shadow=true]}
39
f6c754e3eeb6
{\end{beamerboxesrounded}}
40
f6c754e3eeb6
41
f6c754e3eeb6
\newenvironment{tl_itm_year}[1]
42
f6c754e3eeb6
{\begin{colorblock}{#1}\begin{itemize}}
43
f6c754e3eeb6
{\end{itemize}\end{colorblock}}
44
f6c754e3eeb6
45
f6c754e3eeb6
\newcommand{\tlelement}[3] {\only<#1>{\begin{tl_itm_year}{#2} #3 \end{tl_itm_year}}}
46
f6c754e3eeb6
47
e16e32db07d5
48
e16e32db07d5
\usepackage{multirow}
49
e16e32db07d5
\usepackage{array}
50
e16e32db07d5
\newcolumntype{x}[1]{%
51
e16e32db07d5
>{\centering\hspace{0pt}}p{#1}}%
52
e16e32db07d5
\newcommand{\tn}{\tabularnewline}
53
e16e32db07d5
\newcommand{\tnhl}{\tabularnewline\hline}
54
e16e32db07d5
55
f6c754e3eeb6
%\beamertemplatetransparentcoveredhigh
56
f6c754e3eeb6
% =-> Package relativi alla gestione della Lingua.
57
f6c754e3eeb6
\usepackage[italian]{babel}
58
f6c754e3eeb6
59
f6c754e3eeb6
\usepackage[utf8]{inputenc}
60
f6c754e3eeb6
%\usepackage{lmodern} % <- Aggiunta nel caso si abiliti T1 e siano assenti i Font Cm-Super.
61
f6c754e3eeb6
%\usepackage[T1]{fontenc}  % <---- Aggiunta Consigliata.
62
f6c754e3eeb6
% O altro. Ricorda che 'encoding' e 'font' dovrebbero combaciare.
63
f6c754e3eeb6
% Se T1 non risulta ottimo, prova a cancellare la riga con fontenc.
64
f6c754e3eeb6
65
f6c754e3eeb6
% Package relativi all'uso di materiale matematico.
66
f6c754e3eeb6
%\usepackage{amsmath}
67
f6c754e3eeb6
%\usepackage{amsfonts}
68
f6c754e3eeb6
%\usepackage{amssymb}
69
f6c754e3eeb6
% Per costruzione Tabelle.
70
f6c754e3eeb6
%\usepackage{booktabs}
71
f6c754e3eeb6
%Per gestione "figure in testo"
72
f6c754e3eeb6
%\usepackage{wrapfig}
73
f6c754e3eeb6
% Per gestione url.
74
f6c754e3eeb6
\usepackage{url}
75
f6c754e3eeb6
% Package relativi all'uso di codice di programmazione [alternativa a verbatim].
76
f6c754e3eeb6
% \usepackage{listings}
77
f6c754e3eeb6
% Package per la gestione "frecce".
78
f6c754e3eeb6
%\usepackage{pifont}
79
f6c754e3eeb6
\usepackage{bytefield}
80
e16e32db07d5
%definiamo i bitbox colorati
81
e16e32db07d5
\newcommand{\colorbitbox}[3]{% 
82
e16e32db07d5
\rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}% 
83
e16e32db07d5
\bitbox{#2}{#3}}
84
f6c754e3eeb6
\usepackage{tikz}
85
f6c754e3eeb6
\usetikzlibrary{fit,arrows,calc,chains,positioning}
86
f6c754e3eeb6
87
f6c754e3eeb6
%immagini per tikz
88
f6c754e3eeb6
\pgfdeclareimage{schermo}{immagini/schermo}
89
f6c754e3eeb6
\pgfdeclareimage{case}{immagini/case}
90
f6c754e3eeb6
\pgfdeclareimage{router}{immagini/router}
91
f6c754e3eeb6
\pgfdeclareimage{nuvola}{immagini/nuvola}
92
f6c754e3eeb6
\pgfdeclareimage{firewall}{immagini/firewall}
93
f6c754e3eeb6
94
f6c754e3eeb6
95
f6c754e3eeb6
%stili per tikz
96
f6c754e3eeb6
\tikzstyle{subnet}+=[rectangle,very thin,draw=gray]
97
f6c754e3eeb6
\tikzstyle{olink}+=[color=chameleongreen1,thick]
98
f6c754e3eeb6
99
f6c754e3eeb6
100
f6c754e3eeb6
%corregge il warning sulla dimensione dei font
101
f6c754e3eeb6
\renewcommand{\fontsubfuzz}{1pt}
102
f6c754e3eeb6
103
f6c754e3eeb6
% Directory ove sono presenti le Immagini.
104
f6c754e3eeb6
\graphicspath{{immagini/}}
105
f6c754e3eeb6
106
f6c754e3eeb6
107
f6c754e3eeb6
% Titolo !
108
ef7af8537f95
\title{Introduzione a IPv6}
109
f6c754e3eeb6
110
f6c754e3eeb6
\author{Alessio Caiazza}
111
f6c754e3eeb6
112
f6c754e3eeb6
\institute{
113
f6c754e3eeb6
\scriptsize
114
ef7af8537f95
%Relatori: \\
115
ef7af8537f95
%Ing. Tommaso Pecorella \\
116
ef7af8537f95
%Prof. Romano Fantacci \\
117
ef7af8537f95
%\vspace{0.25in}
118
ef7af8537f95
Gestione e sicurezza delle reti di telecomunicazione \\
119
f6c754e3eeb6
Università degli Studi di Firenze \\ 
120
ef7af8537f95
Facoltà di Ingegneria%\\Dipartimento di Informatica
121
f6c754e3eeb6
}
122
f6c754e3eeb6
123
ef7af8537f95
\date{\today}
124
ef7af8537f95
%\date{28 settembre 2009}
125
f6c754e3eeb6
126
f6c754e3eeb6
% Per inserire il Logo dell'Univ.
127
f6c754e3eeb6
\pgfdeclareimage[height=1.15cm]{LogoUniF}{immagini/LogoUniF}
128
f6c754e3eeb6
\logo{\pgfuseimage{LogoUniF}}
129
f6c754e3eeb6
130
f6c754e3eeb6
131
f6c754e3eeb6
132
f6c754e3eeb6
% Inizio Presentazione.
133
f6c754e3eeb6
\begin{document}
134
f6c754e3eeb6
135
f6c754e3eeb6
% Prima pagina
136
f6c754e3eeb6
\begin{frame}[t,plain]
137
f6c754e3eeb6
\titlepage
138
f6c754e3eeb6
\end{frame}
139
f6c754e3eeb6
% Indice
140
f6c754e3eeb6
%\frame{\tableofcontents}
141
f6c754e3eeb6
142
f6c754e3eeb6
\section{Perch\'e IPv6}
143
f6c754e3eeb6
144
f6c754e3eeb6
\subsection{Timeline}
145
f6c754e3eeb6
\begin{frame}[t]\frametitle{Gli indirizzi IP stanno finendo?}
146
f6c754e3eeb6
\begin{tikzpicture}[timeline/.style={->,color=chameleongreen1,thick},
147
f6c754e3eeb6
                     every text node/.style={tiny text},
148
f6c754e3eeb6
                     year label/.style={anchor=south west,rotate=45},
149
f6c754e3eeb6
                     today/.style={<-,very thick,draw,color=chameleongreen3},
150
f6c754e3eeb6
                     fact label/.style={anchor=east,yshift=-.7cm,rotate=45},]
151
f6c754e3eeb6
	\draw[timeline] (-.5,0) -- (11.5,0);
152
f6c754e3eeb6
	%red line
153
f6c754e3eeb6
	\setbeamercovered{invisible}
154
f6c754e3eeb6
	\uncover<8->{ \draw[timeline,color=red] (8,0) -- (11.5,0);}
155
f6c754e3eeb6
	\uncover<11->{
156
f6c754e3eeb6
	\draw (9,0) node[year label] (2011) {\small \color{red}{2011}} +(0,-3pt) -- +(0,3pt);
157
f6c754e3eeb6
	\draw (9.5,0) node[year label] (2012) {\small \color{red}{2012}} +(0,-3pt) -- +(0,3pt);
158
f6c754e3eeb6
	\path[today,color=red] (2011) -- +(0,+1cm);
159
f6c754e3eeb6
	\path[today,color=red] (2012) -- +(0,+1cm);
160
f6c754e3eeb6
	}
161
f6c754e3eeb6
	\setbeamercovered{dynamic}
162
f6c754e3eeb6
	\draw (0,0) node[year label] (1993) {\small 1993} +(0,-3pt) -- +(0,3pt);
163
f6c754e3eeb6
	\draw (1,0) node[year label] (1995) {\small 1995} +(0,-3pt) -- +(0,3pt);
164
f6c754e3eeb6
	\draw (2,0) node[year label] (1997) {\small 1997} +(0,-3pt) -- +(0,3pt);
165
f6c754e3eeb6
	\draw (3,0) node[year label] (1999) {\small 1999} +(0,-3pt) -- +(0,3pt);
166
f6c754e3eeb6
	\draw (3.5,0) node[year label] (2000) {\small 2000} +(0,-3pt) -- +(0,3pt);
167
f6c754e3eeb6
	\draw (5,0) node[year label] (2003) {\small 2003} +(0,-3pt) -- +(0,3pt);
168
f6c754e3eeb6
	\draw (5.5,0) node[year label] (2004) {\small 2004} +(0,-3pt) -- +(0,3pt);
169
f6c754e3eeb6
	\draw (6,0) node[year label] (2005) {\small 2005} +(0,-3pt) -- +(0,3pt);
170
f6c754e3eeb6
	\draw (6.5,0) node[year label] (2006) {\small 2006} +(0,-3pt) -- +(0,3pt);
171
f6c754e3eeb6
	\draw (7.5,0) node[year label] (2008) {\small 2008} +(0,-3pt) -- +(0,3pt);
172
f6c754e3eeb6
	\draw (8,0) node[year label] (2009) {\small 2009} +(0,-3pt) -- +(0,3pt);
173
f6c754e3eeb6
	\draw (11,0) node[year label] (2016) {\small 2016} +(0,-3pt) -- +(0,3pt);
174
f6c754e3eeb6
	%freccie today
175
f6c754e3eeb6
	\only<1>{\path[today] (1993) -- +(0,+1cm);}
176
f6c754e3eeb6
	\only<2>{\path[today] (1995) -- +(0,+1cm);}
177
f6c754e3eeb6
	\only<3>{\path[today] (1997) -- +(0,+1cm);}
178
f6c754e3eeb6
	\only<4>{\path[today] (1999) -- +(0,+1cm);}
179
f6c754e3eeb6
	\only<5>{\path[today] (2000) -- +(0,+1cm);}
180
f6c754e3eeb6
	\only<6>{\path[today] (2003) -- +(0,+1cm);}
181
f6c754e3eeb6
	\only<7>{\path[today] (2004) -- +(0,+1cm);}
182
f6c754e3eeb6
	\only<8>{\path[today] (2005) -- +(0,+1cm);}
183
f6c754e3eeb6
	\only<9>{\path[today] (2006) -- +(0,+1cm);}
184
f6c754e3eeb6
	\only<10>{\path[today] (2008) -- +(0,+1cm);}
185
f6c754e3eeb6
	\only<11>{\path[today] (2009) -- +(0,+1cm);}
186
f6c754e3eeb6
	%fatti
187
f6c754e3eeb6
	\draw (1993) node[fact label] {\tiny CIDR}; 
188
f6c754e3eeb6
	\uncover<2->{ \draw (1995) node[fact label] {\tiny IPv6}; }
189
f6c754e3eeb6
	\uncover<3->{ \draw (1997) node[fact label] {\tiny SURFNet}; }
190
f6c754e3eeb6
	\uncover<4->{ \draw (1999) node[fact label] {\tiny IPv6 Forum}; }
191
f6c754e3eeb6
	\uncover<5->{ \draw (2000) node[fact label] {\tiny SixXS}; }
192
f6c754e3eeb6
	\uncover<6->{ \draw (2003) node[fact label] {\tiny Parte 6bone - Asia}; }
193
f6c754e3eeb6
	\uncover<7->{ \draw (2004) node[fact label] {\tiny Supporto a IPv6 dai vendor}; }
194
f6c754e3eeb6
	\uncover<8->{ \draw (2005) node[fact label] {\tiny USA};}
195
f6c754e3eeb6
	\uncover<9->{ \draw (2006) node[fact label] {\tiny Termina 6bone}; }
196
f6c754e3eeb6
	\uncover<10->{ \draw (2008) node[fact label] {\tiny Root DNS - UE - Beijing}; }
197
f6c754e3eeb6
	\uncover<11->{ \draw (2009) node[fact label] {\tiny OGGI}; }
198
f6c754e3eeb6
\end{tikzpicture}
199
f6c754e3eeb6
200
f6c754e3eeb6
\tlelement{1}{1993}{\item Viene introdotto CIDR per arginare il problema della fine degli indirizzi IP.}
201
f6c754e3eeb6
\tlelement{2}{1995}{\item Nasce ufficialmente IPv6 (RFC 1752).}
202
f6c754e3eeb6
\tlelement{3}{1997}{\item SURFNet, maintainer della rete accademica olandese, migra a IPv6.}
203
f6c754e3eeb6
\tlelement{4}{1999}{\item Nascita di IPv6Forum e delle task force regionali.}
204
f6c754e3eeb6
\tlelement{5}{2000}{\item Nasce SixXS, uno dei più grandi tunnel broker.}
205
f6c754e3eeb6
\tlelement{6}{2003}{\item Parte il testbed 6bone\item Giappone, Cina e Corea del Sud annunciano di voler diventare leader nel settore IPv6.}
206
f6c754e3eeb6
\tlelement{7}{2004}{\item La maggior parte degli apparati di rete supportano IPv6.}
207
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.}
208
f6c754e3eeb6
\tlelement{9}{2006}{\item Viene dichiarata conclusa con successo la sperimentazione 6bone.}
209
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.}
210
f6c754e3eeb6
\tlelement{11}{2009} {\item A oggi gli studi di Geoff Huston individuano la fine degli indirizzi IPv4 fra agosto 2011 e giugno 2012.}
211
f6c754e3eeb6
\end{frame}
212
f6c754e3eeb6
213
f6c754e3eeb6
\subsection{IPv6}
214
f6c754e3eeb6
\begin{frame}\frametitle{IPv6}
215
f6c754e3eeb6
IPv6 \`e la nuova versione del protocollo IP, \`e stato progettato per risolvere le debolezze di IPv4 e per esaltarne i punti di forza.
216
f6c754e3eeb6
217
f6c754e3eeb6
%\begin{itemize}[<+->]
218
f6c754e3eeb6
%	\item Un indirizzo IPv6 \texttt{2001:0db8:85a3:08d3:1319:8a2e:0370:7344}
219
f6c754e3eeb6
%	\item la notazione CIDR per i prefix
220
f6c754e3eeb6
%\end{itemize}
221
f6c754e3eeb6
222
f6c754e3eeb6
\vspace{1.5cm}
223
f6c754e3eeb6
224
f6c754e3eeb6
\pause
225
f6c754e3eeb6
\begin{colorblock}{Vantaggi di IPv6}
226
f6c754e3eeb6
\begin{itemize}
227
f6c754e3eeb6
\item Maggior spazio di indirizzamento
228
f6c754e3eeb6
\item Abolizione dei NAT
229
f6c754e3eeb6
\item Header semplificato
230
f6c754e3eeb6
\item Autoconfigurazione
231
f6c754e3eeb6
\end{itemize}
232
f6c754e3eeb6
\end{colorblock}
233
f6c754e3eeb6
\end{frame}
234
f6c754e3eeb6
235
f6c754e3eeb6
\subsection{Address Space}
236
f6c754e3eeb6
\begin{frame}[plain]
237
f6c754e3eeb6
\setbeamercovered{invisible}
238
f6c754e3eeb6
\tikzstyle{every picture}+=[remember picture]
239
f6c754e3eeb6
\tikzstyle{v6 arrow}+=[<<-,ultra thick,draw]
240
f6c754e3eeb6
\tikzstyle{ipv4}+=[rectangle,minimum size=1cm,fill=chameleongreen1,draw=chameleongreen3]
241
f6c754e3eeb6
\tikzstyle{na} = [baseline=-.5ex]
242
f6c754e3eeb6
243
f6c754e3eeb6
\begin{tikzpicture}[remember picture,overlay]
244
f6c754e3eeb6
  \node at ($(current page.center) + (0,2cm) $) [ipv4] (ipv4) {} ;
245
f6c754e3eeb6
  \coordinate (ipv6) at ($ (ipv4) + (2cm,-.5cm) $);
246
f6c754e3eeb6
247
f6c754e3eeb6
  \path[->]<2-> (ipv4_text) edge [bend right] (ipv4);
248
f6c754e3eeb6
  \path[->]<4-> (ipv6_text) edge [bend right] (ipv6);
249
f6c754e3eeb6
  \begin{actionenv}<6->
250
f6c754e3eeb6
  %\path[v6 arrow] (current page.north west) -- +(-1cm,-1cm);
251
f6c754e3eeb6
  \path[v6 arrow] (current page.north) -- +(0,-.5cm); %(current page.south);
252
f6c754e3eeb6
  \path[v6 arrow] (current page.south) -- +(0,+.5cm);
253
f6c754e3eeb6
  \path[v6 arrow] (current page.west) -- +(+.5cm,0);
254
f6c754e3eeb6
  \path[v6 arrow] (current page.east) -- +(-.5cm,0);
255
f6c754e3eeb6
  \end{actionenv}
256
f6c754e3eeb6
\end{tikzpicture}
257
f6c754e3eeb6
258
f6c754e3eeb6
\vspace{12em}
259
f6c754e3eeb6
260
f6c754e3eeb6
\begin{itemize}
261
f6c754e3eeb6
\item<2-> Spazio di indirizzamento IPv4 \tikz[na] \node[coordinate] (ipv4_text) {};
262
f6c754e3eeb6
  \begin{itemize}
263
f6c754e3eeb6
  \item<3-> $2^{32} = 4`294`967`296 $ indirizzi
264
f6c754e3eeb6
  \end{itemize}
265
f6c754e3eeb6
\item<4-> Spazio di indirizzamento IPv6 \tikz[na] \node[coordinate] (ipv6_text) {};
266
f6c754e3eeb6
  \begin{itemize}
267
f6c754e3eeb6
  \item<5-> $2^{128} = 340`282`366`920`938`463`463`374`607`431`768`211`456$ indirizzi
268
f6c754e3eeb6
  \item<6-> Per mantenere le proporzioni dovremmo colorare di bianco l'intera superficie del Sistema Solare!
269
f6c754e3eeb6
  \item<7-> Pi\`u di $6.66 \cdot 10^{23}$ indirizzi per metro quadrato della superficie terrestre (cioè 666 mila miliardi di miliardi).
270
f6c754e3eeb6
  \end{itemize}
271
f6c754e3eeb6
\end{itemize}
272
f6c754e3eeb6
273
f6c754e3eeb6
\end{frame}
274
f6c754e3eeb6
275
f6c754e3eeb6
\subsection{NAT}
276
f6c754e3eeb6
\begin{frame}\frametitle{Network Address Translation (NAT)}
277
f6c754e3eeb6
%\begin{actionenv}<only@1-6>
278
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
279
f6c754e3eeb6
280
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.
281
f6c754e3eeb6
%\pause
282
f6c754e3eeb6
	
283
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:
284
f6c754e3eeb6
285
f6c754e3eeb6
\begin{itemize}
286
f6c754e3eeb6
\item L'instradamento dei pacchetti viene a dipendere anche da caratteristiche di livello di trasporto.
287
f6c754e3eeb6
\item Le configurazioni NAT possono diventare molto complesse e di difficile comprensione.
288
f6c754e3eeb6
\item L'apparato che effettua il NAT ha bisogno di mantenere in memoria lo stato delle connessioni attive in ciascun momento.
289
f6c754e3eeb6
\item Alcune applicazioni inseriscono nel payload informazioni relative al livello IP o TCP/UDP.
290
f6c754e3eeb6
\item IL NAT penalizza fortemente il peer-to-peer e tutti i programmi per la condivisione di file.
291
f6c754e3eeb6
\end{itemize}
292
f6c754e3eeb6
%\end{actionenv}
293
f6c754e3eeb6
%\begin{actionenv}<only@7>
294
f6c754e3eeb6
%%questo riporta l'immagine in alto
295
f6c754e3eeb6
%%\vspace{-7cm}
296
f6c754e3eeb6
%\begin{center}
297
f6c754e3eeb6
%	\includegraphics[scale=.37]{nat}
298
f6c754e3eeb6
%\end{center}
299
f6c754e3eeb6
%\end{actionenv}
300
f6c754e3eeb6
%	
301
f6c754e3eeb6
\end{frame}
302
f6c754e3eeb6
303
f6c754e3eeb6
\subsection{Header semplificato}
304
f6c754e3eeb6
\begin{frame}[fragile]\frametitle{Header semplificato}
305
f6c754e3eeb6
\begin{columns}
306
f6c754e3eeb6
\begin{column}{5.5cm}
307
f6c754e3eeb6
\begin{bytefield}{32} 
308
f6c754e3eeb6
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
309
f6c754e3eeb6
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
310
f6c754e3eeb6
\bitbox{20}{Flow Label} \\ 
311
f6c754e3eeb6
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
312
f6c754e3eeb6
\bitbox{8}{Hop Limit} \\
313
f6c754e3eeb6
\wordbox{4}{Source Address}\\
314
f6c754e3eeb6
\wordbox{4}{Destination Address} 
315
f6c754e3eeb6
\end{bytefield}
316
f6c754e3eeb6
\end{column}
317
f6c754e3eeb6
\begin{column}{5.5cm}
318
f6c754e3eeb6
\begin{actionenv}<only@2->
319
f6c754e3eeb6
\begin{colorblock}{Vantaggi di IPv6}
320
f6c754e3eeb6
\begin{itemize}
321
f6c754e3eeb6
\item<2-> Lunghezza fissa 40 byte
322
f6c754e3eeb6
\item<3-> Rimosso il controllo di errore
323
f6c754e3eeb6
\item<4-> Rimossa la frammentazione
324
f6c754e3eeb6
\item<5-> Header Extensions
325
f6c754e3eeb6
\end{itemize}
326
f6c754e3eeb6
\end{colorblock}
327
f6c754e3eeb6
\end{actionenv}
328
f6c754e3eeb6
\end{column}
329
f6c754e3eeb6
\end{columns}
330
f6c754e3eeb6
\end{frame}
331
f6c754e3eeb6
332
f6c754e3eeb6
333
f6c754e3eeb6
\subsection{Autoconfigurazione}
334
f6c754e3eeb6
\begin{frame}\frametitle{Autoconfigurazione}
335
f6c754e3eeb6
\begin{itemize}
336
f6c754e3eeb6
337
f6c754e3eeb6
%\begin{columns} % the "c" option specifies center vertical alignment
338
f6c754e3eeb6
%\column{.4\textwidth} % column designated by a command
339
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)
340
f6c754e3eeb6
341
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)
342
f6c754e3eeb6
%\column{.6\textwidth}
343
f6c754e3eeb6
%\includegraphics[scale=.35]{calcio}
344
f6c754e3eeb6
%\end{columns}
345
f6c754e3eeb6
\end{itemize}
346
f6c754e3eeb6
\end{frame}
347
f6c754e3eeb6
348
e16e32db07d5
\section{IPv6 nel dettaglio} % (fold)
349
e16e32db07d5
\label{sec:ipv6_nel_dettaglio}
350
e16e32db07d5
\subsection{Struttura di un indirizzo} % (fold)
351
e16e32db07d5
\label{sub:struttura_di_un_indirizzo}
352
e16e32db07d5
\begin{frame}\frametitle{Struttura di un indirizzo}
353
e16e32db07d5
	Un indirizzo IPv6 \`e un dato a 128 bit. Si utilizza una rappresentazione a 
354
e16e32db07d5
	gruppi di 4 cifre esadecimali separati dal simbolo ``\texttt{:}''\\
355
e16e32db07d5
	\begin{center}
356
e16e32db07d5
		\texttt{2001:0db8:2c05:0000:0000:0000:0000:0027}
357
e16e32db07d5
	\end{center}
358
e16e32db07d5
	\pause
359
e16e32db07d5
	o in modo pi\`u contratto\\
360
e16e32db07d5
	\begin{center}
361
e16e32db07d5
		\texttt{2001:db8:2c05::27}
362
e16e32db07d5
	\end{center}
363
e16e32db07d5
	\`e infatti possibile omettere gli zeri di sinistra in ogni blocco e si pu\`o 
364
e16e32db07d5
	introdurre \underline{una sola volta} la notazione ``\texttt{::}'' che viene espansa in gruppi
365
e16e32db07d5
	di \texttt{0000} fino a completare l'indirizzo.
366
e16e32db07d5
\end{frame}
367
e16e32db07d5
368
e16e32db07d5
\begin{frame}\frametitle{Struttura di un indirizzo (cont.)}
369
e16e32db07d5
	Si definisce \emph{site} una rete amministrata da un unico gestore,
370
e16e32db07d5
	il \emph{global routing prefix} è lo spazio di indirizzamento assegnatogli,
371
e16e32db07d5
	la \emph{subnet ID} è la parte rimanente ad ottenere il \emph{prefix} (prefisso) di
372
e16e32db07d5
	lunghezza 64~bit, i rimanenti bit identificano l'interfaccia di rete
373
e16e32db07d5
	a cui è assegnato l'indirizzo e si chiamano \emph{interface ID}.
374
e16e32db07d5
	
375
e16e32db07d5
	\vspace{1.5cm}
376
e16e32db07d5
%	\begin{figure}
377
e16e32db07d5
	   \begin{tabular}{| x{3.5cm} | x{1.7cm} | x{5cm} |}
378
e16e32db07d5
	   	\hline
379
e16e32db07d5
	   	Global routing prefix & Subnet ID & Interface ID \tnhl 
380
e16e32db07d5
	   	\multicolumn{1}{c}{n bit} &
381
e16e32db07d5
	   	\multicolumn{1}{c}{64-n bit} &
382
e16e32db07d5
	   	\multicolumn{1}{c}{64 bit}
383
e16e32db07d5
	   \end{tabular}
384
e16e32db07d5
%	\caption{Struttura di un indirizzo global unicast}
385
e16e32db07d5
%	\label{fig:Struttura di un indirizzo Global Unicast}
386
e16e32db07d5
%	\end{figure}
387
e16e32db07d5
388
e16e32db07d5
\end{frame}
389
e16e32db07d5
% subsection struttura_di_un_indirizzo (end)
390
e16e32db07d5
391
e16e32db07d5
\subsection{Tipo e visibilità}
392
e16e32db07d5
\begin{frame}\frametitle{Visibilità di un indirizzo}
393
e16e32db07d5
\begin{colorblock}{Global}
394
e16e32db07d5
Gli indirizzi \emph{global} sono raggiungibili da tutta la rete IPv6
395
e16e32db07d5
\end{colorblock}\pause
396
e16e32db07d5
\begin{colorblock}{Site-local (deprecati)}
397
e16e32db07d5
Gli indirizzi \emph{site-local} sono indirizzi privati interni ad un site che non 
398
e16e32db07d5
devono essere instradati al di fuori della propria infrastruttura. Questa categoria di visibilità è attualmente deprecata.
399
e16e32db07d5
\end{colorblock}\pause
400
e16e32db07d5
\begin{colorblock}{Link-local}
401
e16e32db07d5
Gli indirizzi \emph{link-local} non devono mai essere inoltrati fuori dal link di origine.\\
402
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.
403
e16e32db07d5
\end{colorblock}
404
e16e32db07d5
\end{frame}
405
e16e32db07d5
406
e16e32db07d5
\begin{frame}\frametitle{Tipo di indirizzo}
407
e16e32db07d5
\begin{colorblock}{Unicast} % (fold)
408
e16e32db07d5
Un indirizzo \emph{unicast} identifica univocamente un'interfaccia.\\
409
e16e32db07d5
Per gli indirizzi \textit{global unicast} lo IANA ha registrato il prefisso \texttt{2000::/3},
410
e16e32db07d5
mentre il prefix \texttt{2001:db8::/32} è stato riservato per la scrittura di documentazione.
411
e16e32db07d5
\end{colorblock}
412
e16e32db07d5
\pause
413
e16e32db07d5
\begin{colorblock}{Multicast} 
414
e16e32db07d5
Un indirizzo \emph{multicast} individua un gruppo di interfacce, i pacchetti destinati 
415
e16e32db07d5
all'indirizzo vengono instradati a tutti i nodi partecipanti al multicast.
416
e16e32db07d5
\end{colorblock}
417
e16e32db07d5
\pause
418
e16e32db07d5
\begin{colorblock}{Anycast} 
419
e16e32db07d5
Un indirizzo \emph{anycast} individua un gruppo di interfacce, i pacchetti destinati ad un 
420
e16e32db07d5
indirizzo anycast vengono instradati verso una sola interfaccia, solitamente la più vicina.
421
e16e32db07d5
\end{colorblock}
422
e16e32db07d5
\end{frame}
423
e16e32db07d5
424
e16e32db07d5
\subsection{Header}
425
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv4}
426
e16e32db07d5
\begin{bytefield}{32} 
427
e16e32db07d5
\bitheader{0,3,4,7,8,15,16,18,19,31} \\ 
428
e16e32db07d5
\bitbox{4}{Ver.} & \colorbitbox{lightgray}{4}{IHL} & \bitbox{8}{TOS} &
429
e16e32db07d5
\bitbox{16}{Total length} \\ 
430
e16e32db07d5
\colorbitbox{lightgray}{16}{Identification} & \colorbitbox{lightgray}{3}{Flags} & \colorbitbox{lightgray}{13}{Fragment Offset} \\
431
e16e32db07d5
\bitbox{8}{TTL} & \bitbox{8}{Protocol} & \colorbitbox{lightgray}{16}{Header Checksum} \\
432
e16e32db07d5
\wordbox{1}{Source Address}\\
433
e16e32db07d5
\wordbox{1}{Destination Address}\\
434
e16e32db07d5
\colorbitbox{lightgray}{32}{Options (facoltativo)}  
435
e16e32db07d5
\end{bytefield}
436
e16e32db07d5
\vspace{0.5cm}\pause
437
e16e32db07d5
438
e16e32db07d5
Dimensione variabile tra 20 e 60 byte.\\I campi in grigio sono stati rimossi in IPv6.
439
e16e32db07d5
\end{frame}
440
e16e32db07d5
441
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6}
442
e16e32db07d5
\begin{columns}
443
e16e32db07d5
\begin{column}{5.5cm}
444
e16e32db07d5
\begin{bytefield}{32} 
445
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
446
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
447
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
448
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
449
e16e32db07d5
\bitbox{8}{Hop Limit} \\
450
e16e32db07d5
\wordbox{4}{Source Address}\\
451
e16e32db07d5
\wordbox{4}{Destination Address} 
452
e16e32db07d5
\end{bytefield}
453
e16e32db07d5
\end{column}
454
e16e32db07d5
\begin{column}{5.5cm}
455
e16e32db07d5
%\begin{actionenv}<only@2->
456
e16e32db07d5
%\begin{colorblock}{Vantaggi di IPv6}
457
e16e32db07d5
%\begin{itemize}
458
e16e32db07d5
%\item<2-> Lunghezza fissa 40 byte
459
e16e32db07d5
%\item<3-> Rimosso il controllo di errore
460
e16e32db07d5
%\item<4-> Rimossa la frammentazione
461
e16e32db07d5
%\item<5-> Header Extensions
462
e16e32db07d5
%\end{itemize}
463
e16e32db07d5
%\end{colorblock}
464
e16e32db07d5
%\end{actionenv}
465
e16e32db07d5
\end{column}
466
e16e32db07d5
\end{columns}
467
e16e32db07d5
\end{frame}
468
e16e32db07d5
469
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Version}
470
e16e32db07d5
\begin{columns}
471
e16e32db07d5
\begin{column}{1.5cm}
472
e16e32db07d5
\begin{bytefield}{32} 
473
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
474
e16e32db07d5
\colorbitbox{chameleongreen2}{4}{Ver.} & \bitbox{8}{Traffic Class} & 
475
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
476
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
477
e16e32db07d5
\bitbox{8}{Hop Limit} \\
478
e16e32db07d5
\wordbox{4}{Source Address}\\
479
e16e32db07d5
\wordbox{4}{Destination Address} 
480
e16e32db07d5
\end{bytefield}
481
e16e32db07d5
\end{column}
482
e16e32db07d5
\begin{column}{8.5cm}
483
e16e32db07d5
\begin{colorblock}{Version (4 bit)}
484
e16e32db07d5
Specifica la versione del protocollo, in questo caso 6.
485
e16e32db07d5
\end{colorblock}
486
e16e32db07d5
\end{column}
487
e16e32db07d5
\end{columns}
488
e16e32db07d5
\end{frame}
489
e16e32db07d5
490
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Traffic Class}
491
e16e32db07d5
\begin{columns}
492
e16e32db07d5
\begin{column}{1.5cm}
493
e16e32db07d5
\begin{bytefield}{32} 
494
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
495
e16e32db07d5
\bitbox{4}{Ver.} & \colorbitbox{chameleongreen2}{8}{Traffic Class} & 
496
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
497
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
498
e16e32db07d5
\bitbox{8}{Hop Limit} \\
499
e16e32db07d5
\wordbox{4}{Source Address}\\
500
e16e32db07d5
\wordbox{4}{Destination Address} 
501
e16e32db07d5
\end{bytefield}
502
e16e32db07d5
\end{column}
503
e16e32db07d5
\begin{column}{8.5cm}
504
e16e32db07d5
\begin{colorblock}{Traffic Class (1 byte)}
505
e16e32db07d5
Sostituisce il campo \texttt{Type of Service} di IPv4. Serve a gestire differenti tipologie di traffico in base alla loro priorità.
506
e16e32db07d5
\end{colorblock}
507
e16e32db07d5
\end{column}
508
e16e32db07d5
\end{columns}
509
e16e32db07d5
\end{frame}
510
e16e32db07d5
511
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Flow Label}
512
e16e32db07d5
\begin{columns}
513
e16e32db07d5
\begin{column}{1.5cm}
514
e16e32db07d5
\begin{bytefield}{32} 
515
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
516
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
517
e16e32db07d5
\colorbitbox{chameleongreen2}{20}{Flow Label} \\ 
518
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
519
e16e32db07d5
\bitbox{8}{Hop Limit} \\
520
e16e32db07d5
\wordbox{4}{Source Address}\\
521
e16e32db07d5
\wordbox{4}{Destination Address} 
522
e16e32db07d5
\end{bytefield}
523
e16e32db07d5
\end{column}
524
e16e32db07d5
\begin{column}{8.5cm}
525
e16e32db07d5
\begin{colorblock}{Flow Label (20 bit)}
526
e16e32db07d5
Serve a marchiare i flussi per permetterne una gestione differenziata, attualmente è considerato un campo sperimentale.
527
e16e32db07d5
\end{colorblock}
528
e16e32db07d5
\end{column}
529
e16e32db07d5
\end{columns}
530
e16e32db07d5
\end{frame}
531
e16e32db07d5
532
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Payload Length}
533
e16e32db07d5
\begin{columns}
534
e16e32db07d5
\begin{column}{1.5cm}
535
e16e32db07d5
\begin{bytefield}{32} 
536
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
537
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
538
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
539
e16e32db07d5
\colorbitbox{chameleongreen2}{16}{Payload Length} & \bitbox{8}{Next Header} &
540
e16e32db07d5
\bitbox{8}{Hop Limit} \\
541
e16e32db07d5
\wordbox{4}{Source Address}\\
542
e16e32db07d5
\wordbox{4}{Destination Address} 
543
e16e32db07d5
\end{bytefield}
544
e16e32db07d5
\end{column}
545
e16e32db07d5
\begin{column}{8.5cm}
546
e16e32db07d5
\begin{colorblock}{Payload Length (2 byte)}
547
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.
548
e16e32db07d5
\end{colorblock}
549
e16e32db07d5
\end{column}
550
e16e32db07d5
\end{columns}
551
e16e32db07d5
\end{frame}
552
e16e32db07d5
553
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Next Header}
554
e16e32db07d5
\begin{columns}
555
e16e32db07d5
\begin{column}{1.5cm}
556
e16e32db07d5
\begin{bytefield}{32} 
557
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
558
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
559
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
560
e16e32db07d5
\bitbox{16}{Payload Length} & \colorbitbox{chameleongreen2}{8}{Next Header} &
561
e16e32db07d5
\bitbox{8}{Hop Limit} \\
562
e16e32db07d5
\wordbox{4}{Source Address}\\
563
e16e32db07d5
\wordbox{4}{Destination Address} 
564
e16e32db07d5
\end{bytefield}
565
e16e32db07d5
\end{column}
566
e16e32db07d5
\begin{column}{8.5cm}
567
e16e32db07d5
\begin{colorblock}{Next Header (1 byte)}
568
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}
569
e16e32db07d5
\end{colorblock}
570
e16e32db07d5
\end{column}
571
e16e32db07d5
\end{columns}
572
e16e32db07d5
\end{frame}
573
e16e32db07d5
574
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Hop Limit}
575
e16e32db07d5
\begin{columns}
576
e16e32db07d5
\begin{column}{1.5cm}
577
e16e32db07d5
\begin{bytefield}{32} 
578
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
579
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
580
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
581
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
582
e16e32db07d5
\colorbitbox{chameleongreen2}{8}{Hop Limit} \\
583
e16e32db07d5
\wordbox{4}{Source Address}\\
584
e16e32db07d5
\wordbox{4}{Destination Address} 
585
e16e32db07d5
\end{bytefield}
586
e16e32db07d5
\end{column}
587
e16e32db07d5
\begin{column}{8.5cm}
588
e16e32db07d5
\begin{colorblock}{Hop Limit (1 byte)}
589
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.
590
e16e32db07d5
\end{colorblock}
591
e16e32db07d5
\end{column}
592
e16e32db07d5
\end{columns}
593
e16e32db07d5
\end{frame}
594
e16e32db07d5
595
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Source Address}
596
e16e32db07d5
\begin{columns}
597
e16e32db07d5
\begin{column}{1.5cm}
598
e16e32db07d5
\begin{bytefield}{32} 
599
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
600
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
601
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
602
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
603
e16e32db07d5
\bitbox{8}{Hop Limit} \\
604
e16e32db07d5
\rlap{\wordbox{4}{\color{chameleongreen2}\rule{\width}{\height}}}\wordbox{4}{Source Address}\\
605
e16e32db07d5
\wordbox{4}{Destination Address} 
606
e16e32db07d5
\end{bytefield}
607
e16e32db07d5
\end{column}
608
e16e32db07d5
\begin{column}{8.5cm}
609
e16e32db07d5
\begin{colorblock}{Source Address (16 byte)}
610
e16e32db07d5
Indirizzo sorgente del datagramma.
611
e16e32db07d5
\end{colorblock}
612
e16e32db07d5
\end{column}
613
e16e32db07d5
\end{columns}
614
e16e32db07d5
\end{frame}
615
e16e32db07d5
616
e16e32db07d5
\begin{frame}[fragile]\frametitle{Header IPv6 - Destination Address}
617
e16e32db07d5
\begin{columns}
618
e16e32db07d5
\begin{column}{1.5cm}
619
e16e32db07d5
\begin{bytefield}{32} 
620
e16e32db07d5
\bitheader{0,3,4,11,12,15,16,23,24,31} \\ 
621
e16e32db07d5
\bitbox{4}{Ver.} & \bitbox{8}{Traffic Class} & 
622
e16e32db07d5
\bitbox{20}{Flow Label} \\ 
623
e16e32db07d5
\bitbox{16}{Payload Length} & \bitbox{8}{Next Header} &
624
e16e32db07d5
\bitbox{8}{Hop Limit} \\
625
e16e32db07d5
\wordbox{4}{Source Address}\\
626
e16e32db07d5
\rlap{\wordbox{4}{\color{chameleongreen2}\rule{\width}{\height}}}\wordbox{4}{Destination Address} 
627
e16e32db07d5
\end{bytefield}
628
e16e32db07d5
\end{column}
629
e16e32db07d5
\begin{column}{8.5cm}
630
e16e32db07d5
\begin{colorblock}{Destination Address (16 byte)}
631
e16e32db07d5
Indirizzo destinazione del datagramma.
632
e16e32db07d5
\end{colorblock}
633
e16e32db07d5
\end{column}
634
e16e32db07d5
\end{columns}
635
e16e32db07d5
\end{frame}
636
e16e32db07d5
% section ipv6_nel_dettaglio (end)
637
e16e32db07d5
638
f6c754e3eeb6
\section{Come fare}
639
f6c754e3eeb6
640
f6c754e3eeb6
\subsection{Tunnel Broker}
641
f6c754e3eeb6
\begin{frame}\frametitle{Tunnel Broker}
642
f6c754e3eeb6
\setbeamercovered{invisible}
643
f6c754e3eeb6
\begin{colorblock}{Definizione - RFC3053}
644
f6c754e3eeb6
	I tunnel broker sono dei fornitori di connettività IPv6 attraverso la rete
645
f6c754e3eeb6
	IPv4.
646
f6c754e3eeb6
\end{colorblock}
647
f6c754e3eeb6
\pause
648
f6c754e3eeb6
649
f6c754e3eeb6
\vspace{1cm}
650
f6c754e3eeb6
651
f6c754e3eeb6
\tikzstyle{net}+=[on chain]
652
f6c754e3eeb6
653
f6c754e3eeb6
\begin{center}
654
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick}]
655
f6c754e3eeb6
	\node [net,join] (client) {\pgfuseimage{schermo}}; 
656
f6c754e3eeb6
	\node [net,join] (rete) {\pgfuseimage{nuvola}};
657
f6c754e3eeb6
	\node [net,join] (broker) {\pgfuseimage{router}};
658
f6c754e3eeb6
	\uncover<3-> {\node [net,join] (ipv6) {\pgfuseimage{nuvola}}; }
659
f6c754e3eeb6
	
660
f6c754e3eeb6
	%label
661
f6c754e3eeb6
	\node [below of=client] {\small client};
662
f6c754e3eeb6
	\node at (rete) [anchor=center] {\small IPv4};
663
f6c754e3eeb6
	\node [below of=broker] {\small tunnel broker};
664
f6c754e3eeb6
	\uncover<3-> { \node at (ipv6) [anchor=center] {\small IPv6};}
665
f6c754e3eeb6
	
666
f6c754e3eeb6
	%archi
667
f6c754e3eeb6
	\uncover<4-> {
668
f6c754e3eeb6
		\path (client) edge[<->,dashed,thick,bend right] node[below]{\small IPv6-in-IPv4} (broker);
669
f6c754e3eeb6
%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
670
f6c754e3eeb6
	}
671
f6c754e3eeb6
\end{tikzpicture}
672
f6c754e3eeb6
\end{center}
673
f6c754e3eeb6
674
f6c754e3eeb6
\end{frame}
675
f6c754e3eeb6
676
f6c754e3eeb6
\tikzstyle{na} = [baseline=-.5ex]
677
f6c754e3eeb6
\tikzstyle{every picture}+=[remember picture]
678
f6c754e3eeb6
679
f6c754e3eeb6
\subsection{SOHO}
680
f6c754e3eeb6
\begin{frame}
681
f6c754e3eeb6
\frametitle{Small Office Home Office (SOHO)}
682
f6c754e3eeb6
\begin{columns}
683
f6c754e3eeb6
\column{.3\textwidth} % column designated by a command
684
f6c754e3eeb6
\begin{itemize}
685
f6c754e3eeb6
	\item LAN standard
686
f6c754e3eeb6
	\item<2-> Router Advertisement\tikz[na] \node[coordinate] (adv) {};
687
f6c754e3eeb6
	\item<3-> Connettività IPv6 attraverso un tunnel broker \tikz[na] \node[coordinate] (tb) {};
688
f6c754e3eeb6
\end{itemize}
689
f6c754e3eeb6
\column{.7\textwidth}
690
f6c754e3eeb6
\setbeamercovered{invisible}
691
f6c754e3eeb6
692
f6c754e3eeb6
\tikzstyle{net}+=[on chain]
693
f6c754e3eeb6
\tikzstyle{lnet}+=[on chain=going below]
694
f6c754e3eeb6
695
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick}] 
696
f6c754e3eeb6
	\node [net,join] (ipv4) {\pgfuseimage{nuvola}};
697
f6c754e3eeb6
	{ [start branch=lan]
698
f6c754e3eeb6
		\node [lnet,join=with ipv4,label=180:\tiny router] (router) {\pgfuseimage{router}};
699
f6c754e3eeb6
		\node [subnet,lnet,join] { \begin{tikzpicture}
700
f6c754e3eeb6
			\node [] (client1) {\pgfuseimage{schermo}};
701
f6c754e3eeb6
			\node [right of=client1] (client2) {\pgfuseimage{schermo}};
702
f6c754e3eeb6
			\node [right of=client2] (client3) {\pgfuseimage{case}}; 
703
f6c754e3eeb6
		\end{tikzpicture}
704
f6c754e3eeb6
	   };
705
f6c754e3eeb6
	}
706
f6c754e3eeb6
	\uncover<3-> {
707
f6c754e3eeb6
		\node [net,join=with ipv4,right of=ipv4,label=90:\tiny tunnel broker] (broker) {\pgfuseimage{router}};
708
f6c754e3eeb6
		\node [net,join] (ipv6) {\pgfuseimage{nuvola}};
709
f6c754e3eeb6
	}
710
f6c754e3eeb6
	
711
f6c754e3eeb6
	%label
712
f6c754e3eeb6
	%\node [below of=client] {\small client};
713
f6c754e3eeb6
	\node at (ipv4) [anchor=center] {\tiny IPv4};
714
f6c754e3eeb6
	\uncover<3-> {
715
f6c754e3eeb6
		\node at (ipv6) [anchor=center] {\tiny IPv6};
716
f6c754e3eeb6
%	}
717
f6c754e3eeb6
	
718
f6c754e3eeb6
	%archi
719
f6c754e3eeb6
	%\uncover<4-> {
720
f6c754e3eeb6
		\path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\tiny IPv6-in-IPv4} (broker);
721
f6c754e3eeb6
%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
722
f6c754e3eeb6
	}
723
f6c754e3eeb6
\end{tikzpicture}
724
f6c754e3eeb6
\end{columns}
725
f6c754e3eeb6
726
f6c754e3eeb6
%collegamenti
727
f6c754e3eeb6
\begin{tikzpicture}[overlay]
728
f6c754e3eeb6
	\path[->]<2> (adv) edge [bend right,olink] (router);
729
f6c754e3eeb6
	\path[->]<3> (tb) edge [bend right,olink] (6to4);
730
f6c754e3eeb6
\end{tikzpicture}
731
f6c754e3eeb6
\end{frame}
732
f6c754e3eeb6
733
f6c754e3eeb6
\subsection{Enterprise}
734
f6c754e3eeb6
\begin{frame}
735
f6c754e3eeb6
\frametitle{Enterprise}
736
f6c754e3eeb6
\begin{columns}
737
f6c754e3eeb6
\column{.35\textwidth} % column designated by a command
738
f6c754e3eeb6
\begin{itemize}
739
f6c754e3eeb6
	\item Rete enterprise
740
f6c754e3eeb6
	\item<2-> Routing OSPFv3 \tikz[na] \node[coordinate] (ospf) {};
741
f6c754e3eeb6
	\item<3-> Aggiornamento del server DNS \tikz[na] \node[coordinate] (agg dns) {};
742
f6c754e3eeb6
	\item<4-> Server DHCP \tikz[na] \node[coordinate] (dhcp) {};
743
f6c754e3eeb6
	\item<4-> Relay agent DHCP \tikz[na] \node[coordinate] (relay) {};
744
f6c754e3eeb6
	\item<5-> Router Advertisement \tikz[na] \node[coordinate] (ra) {};
745
f6c754e3eeb6
	\item<6-> Rimozione dei NAT \tikz[na] \node[coordinate] (no nat) {};
746
f6c754e3eeb6
	\item<7-> Aggiornamento dei servizi \tikz[na] \node[coordinate] (servizi) {};
747
f6c754e3eeb6
\end{itemize}
748
f6c754e3eeb6
\column{.65\textwidth}
749
f6c754e3eeb6
\setbeamercovered{invisible}
750
f6c754e3eeb6
751
f6c754e3eeb6
\tikzstyle{net}+=[on chain=going below]
752
f6c754e3eeb6
\tikzstyle{lnet}+=[on chain=going right]
753
f6c754e3eeb6
754
f6c754e3eeb6
\begin{tikzpicture}[start chain,every join/.style={<->,thick},node distance=3mm] 
755
f6c754e3eeb6
	\node [net] (net) {\pgfuseimage{nuvola}};
756
f6c754e3eeb6
	\node [net,join,label=180:\tiny ASBR] (asbr) {\pgfuseimage{router}};
757
f6c754e3eeb6
	{ [start branch=lans] } % just a declaration, 
758
f6c754e3eeb6
	{ [start branch=br2]
759
f6c754e3eeb6
		\node [on chain=going below right,join,label=90:\tiny BR2] (mybr2) {\pgfuseimage{router}};
760
f6c754e3eeb6
	}
761
f6c754e3eeb6
	\node [net,on chain=going below left,join,join=with asbr,label=180:\tiny BR1] (br1) {\pgfuseimage{router}};
762
f6c754e3eeb6
	\node [subnet,net,join] { \begin{tikzpicture}[ node distance=1cm]
763
f6c754e3eeb6
			\node [] (c4) {\pgfuseimage{schermo}};
764
f6c754e3eeb6
			\node [right of=c4] (c5) {\pgfuseimage{schermo}};
765
f6c754e3eeb6
			\node [right of=c5] (c6) {\pgfuseimage{schermo}}; 
766
f6c754e3eeb6
			\end{tikzpicture} };
767
f6c754e3eeb6
	
768
f6c754e3eeb6
	{ [continue branch=lans] 
769
f6c754e3eeb6
	\node [subnet,on chain, right of=asbr, xshift=3.5cm,join=with asbr] { \begin{tikzpicture}[ node distance=1cm]
770
f6c754e3eeb6
		\node [label=-90:\tiny{DNS}] (dns) {\pgfuseimage{case}};
771
f6c754e3eeb6
		\node [label=-90:\tiny Web server,right of=dns] (web server) {\pgfuseimage{case}}; 
772
f6c754e3eeb6
		\uncover<4->{\node [label=-90:\tiny{DHCPv6},right of=web server] (dhcpv6) {\pgfuseimage{case}};}
773
f6c754e3eeb6
		\end{tikzpicture} };
774
f6c754e3eeb6
	\node [subnet,net,join=with mybr2] { \begin{tikzpicture}[ node distance=1cm]
775
f6c754e3eeb6
		\node [] (c1) {\pgfuseimage{schermo}};
776
f6c754e3eeb6
		\node [right of=c1] (c2) {\pgfuseimage{schermo}};
777
f6c754e3eeb6
		\node [right of=c2] (c3) {\pgfuseimage{schermo}};
778
f6c754e3eeb6
		
779
f6c754e3eeb6
	\node [subnet,below of=c2,yshift=-.15cm,xshift=.1cm] (nat) { \begin{tikzpicture}[ node distance=1cm]
780
f6c754e3eeb6
			\node [] (n1) {\pgfuseimage{schermo}}; 
781
f6c754e3eeb6
			\node [right of=n1] (n2) {\pgfuseimage{schermo}};
782
f6c754e3eeb6
			\end{tikzpicture}};
783
f6c754e3eeb6
		\node [left of=nat,xshift=-.25cm] (natter) {\pgfuseimage{case}}; 
784
f6c754e3eeb6
		
785
f6c754e3eeb6
		\end{tikzpicture} };
786
f6c754e3eeb6
	}
787
f6c754e3eeb6
	
788
f6c754e3eeb6
%label
789
f6c754e3eeb6
	\node at (net) [anchor=center] {\tiny Internet};
790
f6c754e3eeb6
%	\uncover<3-> {
791
f6c754e3eeb6
%		\node at (ipv6) [anchor=center] {\small IPv6};
792
f6c754e3eeb6
%%	}
793
f6c754e3eeb6
%	
794
f6c754e3eeb6
%	%archi
795
f6c754e3eeb6
%	%\uncover<4-> {
796
f6c754e3eeb6
%		\path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\small IPv6-in-IPv4} (broker);
797
f6c754e3eeb6
%%		\path (broker) edge[<->,dashed,thick,bend right] (ipv6);
798
f6c754e3eeb6
%	}
799
f6c754e3eeb6
\end{tikzpicture}
800
f6c754e3eeb6
\end{columns}
801
f6c754e3eeb6
802
f6c754e3eeb6
%collegamenti
803
f6c754e3eeb6
\begin{tikzpicture}[overlay]
804
f6c754e3eeb6
	\path[->]<2> (ospf) edge [olink] (asbr) edge [bend right,olink] (mybr2) edge [bend right,olink] (br1);
805
f6c754e3eeb6
	\path[->]<3> (agg dns) edge [bend right,olink] (dns);
806
f6c754e3eeb6
	\path[->]<4> (dhcp) edge [bend left,olink] (dhcpv6);
807
f6c754e3eeb6
	\path[->]<4> (relay) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1);
808
f6c754e3eeb6
	\path[->]<5> (ra) edge [bend left,olink] (asbr) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1);
809
f6c754e3eeb6
	\path[->]<6> (no nat) edge [olink] (natter);
810
f6c754e3eeb6
	\path[->]<7> (servizi) edge [bend right, olink] (web server);
811
f6c754e3eeb6
\end{tikzpicture}
812
f6c754e3eeb6
\end{frame}
813
f6c754e3eeb6
814
f6c754e3eeb6
\section{Risultati}
815
f6c754e3eeb6
816
ef7af8537f95
\section{Licenza}
817
ef7af8537f95
\begin{frame}\frametitle{Licenza Creative Commons\newline{}\small Attribuzione-Non commerciale-Condividi allo stesso modo 2.5 Italia}
818
ef7af8537f95
\small
819
ef7af8537f95
\begin{colorblock}{Tu sei libero:}
820
ef7af8537f95
	\tiny
821
ef7af8537f95
	\begin{itemize}
822
ef7af8537f95
	\item di riprodurre, distribuire, comunicare al pubblico, esporre in pubblico, rappresentare, eseguire e recitare quest'opera
823
ef7af8537f95
	\item di modificare quest'opera
824
ef7af8537f95
	\end{itemize}
825
ef7af8537f95
\end{colorblock}
826
ef7af8537f95
827
ef7af8537f95
\begin{colorblock}{Alle seguenti condizioni:}
828
ef7af8537f95
	\begin{itemize}
829
ef7af8537f95
	\tiny
830
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.
831
ef7af8537f95
	\item \textbf{Non commerciale.} Non puoi usare quest'opera per fini commerciali.
832
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.
833
ef7af8537f95
	\end{itemize}
834
ef7af8537f95
\end{colorblock}
835
ef7af8537f95
836
ef7af8537f95
\tiny
837
ef7af8537f95
\begin{itemize}
838
ef7af8537f95
	\item Ogni volta che usi o distribuisci quest'opera, devi farlo secondo i termini di questa licenza, che va comunicata con chiarezza.
839
ef7af8537f95
	\item In ogni caso, puoi concordare col titolare dei diritti utilizzi di quest'opera non consentiti da questa licenza.
840
ef7af8537f95
	\item Questa licenza lascia impregiudicati i diritti morali.
841
f6c754e3eeb6
\end{itemize}
842
f6c754e3eeb6
	
843
f6c754e3eeb6
\end{frame}
844
f6c754e3eeb6
\end{document}