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 againintro_ipv6 / Presentazione.tex
- commit
- 0a549da557af
- parent
- 4f42eed27b14
- branch
- default
pian piano verso l'autoconfigurazione... ma che fatica!
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 |
0a549da557af
|
% watermark=licenza_small,% Watermark used in every page. |
28 |
0a549da557af
|
% 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 |
499b63f1404f
|
\begin{column}{1.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 |
499b63f1404f
|
\begin{column}{8.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 |
499b63f1404f
|
|
637 |
499b63f1404f
|
\begin{frame}\frametitle{Header IPv6 - I campi rimossi} |
638 |
499b63f1404f
|
\begin{colorblock}{Gli svantaggi dei campi rimossi in IPv6} |
639 |
499b63f1404f
|
\pause |
640 |
499b63f1404f
|
\begin{description} |
641 |
499b63f1404f
|
\item[Checksum] Questo campo deve essere ricalcolato da ogni router a causa del decremento del \texttt{TTL}\pause |
642 |
499b63f1404f
|
\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 probabilemtne verrà frammentato di nuovo durante il tragitto)\pause |
643 |
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 |
644 |
499b63f1404f
|
\end{description} |
645 |
499b63f1404f
|
\end{colorblock} |
646 |
499b63f1404f
|
\end{frame} |
647 |
499b63f1404f
|
|
648 |
499b63f1404f
|
\subsubsection{Extension headers} |
649 |
499b63f1404f
|
\begin{frame}\frametitle{Header IPv6 - Extension header} |
650 |
499b63f1404f
|
In IPv6 \`e possibile estendere l'header attraverso gli |
651 |
499b63f1404f
|
\textit{Extension header}, la loro presenza \`e indicata dal campo |
652 |
499b63f1404f
|
\texttt{Next Header} e se non sono di pertinenza del nodo di transito |
653 |
499b63f1404f
|
vengono ignorati inoltrando il pacchetto secondo le informazioni presenti |
654 |
499b63f1404f
|
nell'header.\pause |
655 |
499b63f1404f
|
|
656 |
499b63f1404f
|
\vspace{0.5cm} |
657 |
499b63f1404f
|
Questi \textit{Extension headers} sono considerati a tutti gli effetti parte |
658 |
499b63f1404f
|
del payload e ne influenzano la dimensione.\pause |
659 |
499b63f1404f
|
|
660 |
499b63f1404f
|
\vspace{0.5cm} |
661 |
499b63f1404f
|
Alcuni esempi sono \texttt{Hop-by-Hop Option header}, |
662 |
499b63f1404f
|
\texttt{Routing header}, \texttt{Fragment header}, |
663 |
499b63f1404f
|
\texttt{Destination Options header}, \texttt{Authentication header} ed |
664 |
499b63f1404f
|
\texttt{Encryption Security Payload header} |
665 |
499b63f1404f
|
|
666 |
499b63f1404f
|
\end{frame} |
667 |
499b63f1404f
|
\begin{frame}\frametitle{Header IPv6 - Extension header (cont.)} |
668 |
499b63f1404f
|
\begin{colorblock}{\texttt{Fragment header} ? Ma non avevamo rimosso la frammentazione?} |
669 |
499b63f1404f
|
\pause |
670 |
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.\\ |
671 |
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) |
672 |
499b63f1404f
|
\end{colorblock} |
673 |
499b63f1404f
|
\end{frame} |
674 |
499b63f1404f
|
\begin{frame}\frametitle{Header IPv6 - Extension header (cont.)} |
675 |
499b63f1404f
|
\begin{colorblock}{Ma con gli header extension non si torna ad avere una dimensione variabile della testata?} |
676 |
499b63f1404f
|
\pause |
677 |
499b63f1404f
|
No! \emph{Questi \textit{Extension headers} sono considerati a tutti gli effetti parte |
678 |
499b63f1404f
|
del payload e ne influenzano la dimensione.} |
679 |
499b63f1404f
|
Quindi saranno a tutti gli effetti parte del dato trasportato a meno che il nodo in transito non sia interessato alla specifica estensione, che è indicata dal campo \texttt{Next Header} |
680 |
499b63f1404f
|
\end{colorblock} |
681 |
499b63f1404f
|
\end{frame} |
682 |
0a549da557af
|
|
683 |
0a549da557af
|
\begin{frame}\frametitle{1 interfaccia $\Leftrightarrow$ N indirizzi} |
684 |
0a549da557af
|
In IPv6 la relazione interfaccia - indirizzo è di tipo 1:N. Non esiste un indirizzo predefinito ed altri secondari, sono tutti allo stesso livello di importanza. \pause |
685 |
0a549da557af
|
\begin{colorblock}{Vantaggi?} |
686 |
0a549da557af
|
\pause |
687 |
0a549da557af
|
Se consideramo la tipica infrastruttura di hosting web con qualche decina di siti per ogni singolo server, con un solo indirizzo IPv4, è evidente che è un problema fornire il supporto per SSL, perch\'e la trasmissione del certificato per istaurare il tunnel sicuro avviene prima di comunicare quale sito vogliamo raggiungere. Con IPv6 basterà assegnare alla stessa macchina un indirizzo per ogni sito ed a ognuno di questi uno specifico certificato per SSL. |
688 |
0a549da557af
|
\end{colorblock} |
689 |
0a549da557af
|
\end{frame} |
690 |
e16e32db07d5
|
% section ipv6_nel_dettaglio (end) |
691 |
e16e32db07d5
|
|
692 |
0a549da557af
|
\section{Automatismi e routing} % (fold) |
693 |
0a549da557af
|
\label{sec:automatismi_e_routing} |
694 |
0a549da557af
|
|
695 |
0a549da557af
|
\begin{frame}\frametitle{Autoconfigurazione} |
696 |
0a549da557af
|
Una delle novità introdotte da IPv6 è l'autoconfigurazione dei nodi di rete, che anche in assenza |
697 |
0a549da557af
|
di un router sono in grado di generare autonomamente un indirizzo link-local unicast per garantire la |
698 |
0a549da557af
|
comunicazione fra i nodi interconnessi. |
699 |
0a549da557af
|
|
700 |
0a549da557af
|
La generazione di questo tipo di indirizzo è il primo passo da eseguire per poter ottenere |
701 |
0a549da557af
|
un indirizzo global unicast. |
702 |
0a549da557af
|
|
703 |
0a549da557af
|
Con gli indirizzi link-local unicast e con il protocollo ICMPv6 si va di fatto a spostare più in |
704 |
0a549da557af
|
alto di un livello il compito di ARP, rendendolo indipendente dalla |
705 |
0a549da557af
|
tecnologia utilizzata per il livello due della rete. |
706 |
0a549da557af
|
\end{frame} |
707 |
0a549da557af
|
|
708 |
0a549da557af
|
\begin{frame}\frametitle{Indirizzo link-local unicast autoconfigurato} |
709 |
0a549da557af
|
\begin{colorblock}{Global Routing Prefix} |
710 |
0a549da557af
|
Gli indirizzi link-local sono tutti nel prefix \texttt{FE80::/10}. |
711 |
0a549da557af
|
|
712 |
0a549da557af
|
All'interno di questo prefix è stato riservato il GRP \texttt{FE80::/64} per gli indirizzi |
713 |
0a549da557af
|
link-local unicast autoconfigurati. |
714 |
0a549da557af
|
\end{colorblock} \pause |
715 |
0a549da557af
|
\vspace{0.5cm} |
716 |
0a549da557af
|
\begin{colorblock}{Interface ID} |
717 |
0a549da557af
|
Per assegnare la interface ID si utilizza l'EUI-64, un campo di 64 bit generato a partire |
718 |
0a549da557af
|
dall'indirizzo MAC dell'interfaccia di rete. |
719 |
0a549da557af
|
\end{colorblock} |
720 |
0a549da557af
|
\end{frame} |
721 |
0a549da557af
|
|
722 |
0a549da557af
|
\begin{frame}[fragile]\frametitle{Extended Unique Identifier (EUI-64) - Algoritmo} |
723 |
0a549da557af
|
|
724 |
0a549da557af
|
%\setlength{\byteheight}{4ex} |
725 |
0a549da557af
|
\settowidth{\bitwidth}{\tiny 9i} |
726 |
0a549da557af
|
\begin{bytefield}{64} |
727 |
0a549da557af
|
\bitheader{0,8,16,24,32,40,48,56,64} \\ |
728 |
0a549da557af
|
\wordgroupr{\tiny{MAC}} |
729 |
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]} |
730 |
0a549da557af
|
\endwordgroupr \\ |
731 |
0a549da557af
|
\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause |
732 |
0a549da557af
|
\bitbox{8}{MAC[0]} & \bitbox{8}{MAC[1]} &\bitbox{8}{MAC[2]} & |
733 |
0a549da557af
|
\colorbitbox{chameleongreen2}{16}{\texttt{0xFF FE}} & |
734 |
0a549da557af
|
\bitbox{8}{MAC[3]} & \bitbox{8}{MAC[4]} &\bitbox{8}{MAC[5]} \\ |
735 |
0a549da557af
|
\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause |
736 |
0a549da557af
|
\wordgroupr{\tiny{EUI-64}} |
737 |
0a549da557af
|
\colorbitbox{chameleongreen2}{8}{\texttt{0x02}} & \bitbox{8}{MAC[1]} &\bitbox{8}{MAC[2]} & |
738 |
0a549da557af
|
\bitbox{16}{\texttt{0xFF FE}} & |
739 |
0a549da557af
|
\bitbox{8}{MAC[3]} & \bitbox{8}{MAC[4]} &\bitbox{8}{MAC[5]} |
740 |
0a549da557af
|
\endwordgroupr |
741 |
0a549da557af
|
\end{bytefield} |
742 |
0a549da557af
|
|
743 |
0a549da557af
|
\end{frame} |
744 |
0a549da557af
|
|
745 |
0a549da557af
|
\begin{frame}[fragile]\frametitle{EUI-64 - esempio} |
746 |
0a549da557af
|
Vediamo un esempio pratico con l'indirizzo MAC \texttt{00:16:cb:8c:de:8b} \pause |
747 |
0a549da557af
|
|
748 |
0a549da557af
|
\vspace{0.5cm} |
749 |
0a549da557af
|
|
750 |
0a549da557af
|
%\setlength{\byteheight}{4ex} |
751 |
0a549da557af
|
\settowidth{\bitwidth}{\tiny 9i} |
752 |
0a549da557af
|
\begin{bytefield}{64} |
753 |
0a549da557af
|
\bitheader{0,8,16,24,32,40,48,56,64} \\ |
754 |
0a549da557af
|
\wordgroupr{\tiny{MAC}} |
755 |
0a549da557af
|
\bitbox{8}{\texttt{0x00}} & \bitbox{8}{\texttt{0x16}} &\bitbox{8}{\texttt{0xcb}} |
756 |
0a549da557af
|
&\bitbox{8}{\texttt{0x8c}} &\bitbox{8}{\texttt{0xde}} &\bitbox{8}{\texttt{0x8b}} |
757 |
0a549da557af
|
\endwordgroupr \\ |
758 |
0a549da557af
|
\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause |
759 |
0a549da557af
|
\bitbox{8}{\texttt{0x00}} & \bitbox{8}{\texttt{0x16}} &\bitbox{8}{\texttt{0xcb}} & |
760 |
0a549da557af
|
\colorbitbox{chameleongreen2}{16}{\texttt{0xff fe}} & \bitbox{8}{\texttt{0x8c}} & |
761 |
0a549da557af
|
\bitbox{8}{\texttt{0xde}} & |
762 |
0a549da557af
|
\bitbox{8}{\texttt{0x8b}} \\ |
763 |
0a549da557af
|
\wordbox[]{1}{$\Downarrow$ \\[1ex]} \\ \pause |
764 |
0a549da557af
|
\wordgroupr{\tiny{EUI-64}} |
765 |
0a549da557af
|
\colorbitbox{chameleongreen2}{8}{\texttt{0x02}} & \bitbox{8}{\texttt{0x16}} & |
766 |
0a549da557af
|
\bitbox{8}{\texttt{0xcb}} & |
767 |
0a549da557af
|
\bitbox{16}{\texttt{0xff fe}} & \bitbox{8}{\texttt{0x8c}} &\bitbox{8}{\texttt{0xde}} & |
768 |
0a549da557af
|
\bitbox{8}{\texttt{0x8b}} \\ |
769 |
0a549da557af
|
\endwordgroupr |
770 |
0a549da557af
|
\end{bytefield} |
771 |
0a549da557af
|
\pause |
772 |
0a549da557af
|
|
773 |
0a549da557af
|
\vspace{0.25cm} |
774 |
0a549da557af
|
|
775 |
0a549da557af
|
L'indirizzo link-local EUI-64 è \texttt{fe80::2:16:cb:ff:fe:8c:de:8b} |
776 |
0a549da557af
|
\end{frame} |
777 |
0a549da557af
|
|
778 |
0a549da557af
|
\begin{frame}[allowframebreaks]\frametitle{Configurazione stateless - Definizioni} % (fold) |
779 |
0a549da557af
|
\label{sub:configurazione_stateless} |
780 |
0a549da557af
|
La configurazione stateless offre la possibilità di ottenere un indirizzo global unicast e un router |
781 |
0a549da557af
|
verso cui instradare i pacchetti in modo automatico. |
782 |
0a549da557af
|
|
783 |
0a549da557af
|
Il procedimento fa uso di pacchetti ICMPv6 dedicati a questo scopo. |
784 |
0a549da557af
|
|
785 |
0a549da557af
|
\vspace{0.25cm} |
786 |
0a549da557af
|
\textbf{Definizioni:} |
787 |
0a549da557af
|
%\subsubsection{Definizioni} % (fold) |
788 |
0a549da557af
|
%\label{ssub:definizioni} |
789 |
0a549da557af
|
\begin{description} |
790 |
0a549da557af
|
\item[tentative address] (indirizzo incerto) un indirizzo di cui si sta verificando l'unicità sul link, |
791 |
0a549da557af
|
ancora non è stato assegnato all'interfaccia. |
792 |
0a549da557af
|
\item[preferred address] (indirizzo preferito) un indirizzo assegnato all'interfaccia che può essere usato dai |
793 |
0a549da557af
|
protocolli di livello superiore senza alcuna restrizione. Può figurare come |
794 |
0a549da557af
|
indirizzo di sorgente o di destinazione. |
795 |
0a549da557af
|
\item[deprecated address] (indirizzo deprecato) un indirizzo assegnato all'interfaccia il cui uso è |
796 |
0a549da557af
|
scoraggiato, ma non proibito. I pacchetti inviati e ricevuti con questo indirizzo sono trattati |
797 |
0a549da557af
|
normalmente, ma le nuove comunicazioni non dovrebbero utilizzarlo. |
798 |
0a549da557af
|
Un indirizzo deprecato può essere ancora utilizzato per quei protocolli in cui cambiare in favore |
799 |
0a549da557af
|
di un nuovo indirizzo preferito causerebbe problemi alla connessione (ad esempio una sessione |
800 |
0a549da557af
|
TCP attiva.) |
801 |
0a549da557af
|
\item[valid address] (indirizzo valido) un indirizzo deprecato o preferito. |
802 |
0a549da557af
|
\item[invalid address] (indirizzo non valido) un indirizzo che non è assegnato a nessuna interfaccia. |
803 |
0a549da557af
|
Un indirizzo valido diventa non valido quando il suo \emph{valid~lifetime} scade. |
804 |
0a549da557af
|
Gli indirizzi non validi non devono essere utilizzati come indirizzo di sorgente o di destinazione. |
805 |
0a549da557af
|
\item[preferred lifetime] il periodo di tempo in cui l'indirizzo deve essere considerato preferito. |
806 |
0a549da557af
|
Alla scadenza l'indirizzo diventa deprecato. |
807 |
0a549da557af
|
\item[valid lifetime] il periodo di tempo in cui l'indirizzo deve essere considerato valido. Questo |
808 |
0a549da557af
|
valore deve essere maggiore o uguale del \emph{preferred~lifetime}. Alla sua scadenza l'indirizzo diventa |
809 |
0a549da557af
|
non valido. |
810 |
0a549da557af
|
\end{description} |
811 |
0a549da557af
|
\end{frame} |
812 |
0a549da557af
|
% subsubsection definizioni (end) |
813 |
0a549da557af
|
|
814 |
0a549da557af
|
\begin{frame}\frametitle{Configurazione stateless - Procedimento} |
815 |
0a549da557af
|
\begin{colorblock}{Indirizzo link-local} |
816 |
0a549da557af
|
\begin{itemize} |
817 |
0a549da557af
|
\item<+-> generazione di un \emph{tentative address} link-local con il metodo EUI-64 |
818 |
0a549da557af
|
\item<+-> invio di un pacchetto ICMPv6 Neighbor Solicitation con campo \texttt{Target Address} impostato sull'indirizzo da verificare |
819 |
0a549da557af
|
\item<+-> se un nodo utilizza questo indirizzo risponde con un pacchetto ICMPv6 Neighbor Advertisement avvisando che l'indirizzo è già in uso. |
820 |
0a549da557af
|
\item<+-> se non si ricevono Neighbor Advertisement l'indirizzo diventa \emph{valid address} |
821 |
0a549da557af
|
\end{itemize} |
822 |
0a549da557af
|
\end{colorblock} |
823 |
0a549da557af
|
\vspace{.5cm} |
824 |
0a549da557af
|
\uncover<5->{Il fallimento di questa procedura obbliga ad una configurazione manuale dell'host.} |
825 |
0a549da557af
|
\end{frame} |
826 |
0a549da557af
|
|
827 |
0a549da557af
|
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)} % (fold) |
828 |
0a549da557af
|
\begin{colorblock}{Indirizzo global} |
829 |
0a549da557af
|
\begin{itemize} |
830 |
0a549da557af
|
\item<+-> Una volta ottenuto un indirizzo link-local valido, un host cerca di determinare la presenza di router sul proprio link. |
831 |
0a549da557af
|
\item<+-> I router inviano periodicamente dei pacchetti multicast di Router Advertisement in cui annunciano i prefix di loro competenza |
832 |
0a549da557af
|
\begin{itemize} |
833 |
0a549da557af
|
\item<+-> Router Solicitation all'indirizzo \texttt{FF02::2} per forzare l'invio |
834 |
0a549da557af
|
\end{itemize} |
835 |
0a549da557af
|
\item<+-> il pacchetto di Router Advertisement contiene le istruzioni per ottenre un indirizzo |
836 |
0a549da557af
|
\begin{itemize}[<5->] |
837 |
0a549da557af
|
\item \emph{autonomous address-configuration} (flag~A) |
838 |
0a549da557af
|
\item \emph{managed address configuration} (flag~M) |
839 |
0a549da557af
|
\item \emph{other statefull configuration} (flag~O) |
840 |
0a549da557af
|
\end{itemize} |
841 |
0a549da557af
|
\end{itemize} |
842 |
0a549da557af
|
\end{colorblock} |
843 |
0a549da557af
|
\end{frame} |
844 |
0a549da557af
|
|
845 |
0a549da557af
|
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)} |
846 |
0a549da557af
|
\begin{colorblock}{\emph{autonomous address-configuration} (flag~A)} |
847 |
0a549da557af
|
Se il nodo è riuscito a |
848 |
0a549da557af
|
completare in modo automatico l'assegnazione di un indirizzo link-local, allora può assegnarsi |
849 |
0a549da557af
|
come \emph{preferred address} un indirizzo composto dal prefix annunciato e dalla interface ID calcolata secondo lo standard EUI-64. |
850 |
0a549da557af
|
|
851 |
0a549da557af
|
\vspace{.5cm} |
852 |
0a549da557af
|
|
853 |
0a549da557af
|
\begin{tabular}{| x{5cm} | x{5cm} |} |
854 |
0a549da557af
|
\hline |
855 |
0a549da557af
|
Prefix annunciato & EUI-64 \tnhl |
856 |
0a549da557af
|
\multicolumn{1}{c}{64 bit} & |
857 |
0a549da557af
|
\multicolumn{1}{c}{64 bit} |
858 |
0a549da557af
|
\end{tabular} |
859 |
0a549da557af
|
|
860 |
0a549da557af
|
\vspace{.5cm} |
861 |
0a549da557af
|
|
862 |
0a549da557af
|
Altrimenti registra l'indirizzo come \emph{tentative address} e lo verifica con i pacchetti ICMPv6. |
863 |
0a549da557af
|
\end{colorblock} |
864 |
0a549da557af
|
\end{frame} |
865 |
0a549da557af
|
|
866 |
0a549da557af
|
\begin{frame}\frametitle{Configurazione stateless - Procedimento (cont.)} |
867 |
0a549da557af
|
\begin{colorblock}{\emph{managed address configuration} (flag~M) - statefull DHCP} |
868 |
0a549da557af
|
Indica la presenza di un server DHCPv6. |
869 |
0a549da557af
|
\end{colorblock} |
870 |
0a549da557af
|
|
871 |
0a549da557af
|
\vspace{.5cm} \pause |
872 |
0a549da557af
|
|
873 |
0a549da557af
|
\begin{colorblock}{\emph{other statefull configuration} (flag~O) - stateless DHCP} |
874 |
0a549da557af
|
Indica la presenza di un server DHCPv6 per la richiesta di parametri \underline{diversi dall'indirizzo IP}. |
875 |
0a549da557af
|
\end{colorblock} |
876 |
0a549da557af
|
\end{frame} |
877 |
0a549da557af
|
|
878 |
0a549da557af
|
%In tutti gli altri casi è necessario che l'indirizzo sia segnato come \emph{tentative address} e |
879 |
0a549da557af
|
%verificato con i pacchetti ICMP. |
880 |
0a549da557af
|
%\end{frame} |
881 |
0a549da557af
|
% subsubsection procedimento (end) |
882 |
0a549da557af
|
% subsection configurazione_stateless (end) |
883 |
0a549da557af
|
% section automatismi_e_routing (end) |
884 |
0a549da557af
|
|
885 |
f6c754e3eeb6
|
\section{Come fare} |
886 |
f6c754e3eeb6
|
|
887 |
f6c754e3eeb6
|
\subsection{Tunnel Broker} |
888 |
f6c754e3eeb6
|
\begin{frame}\frametitle{Tunnel Broker} |
889 |
f6c754e3eeb6
|
\setbeamercovered{invisible} |
890 |
f6c754e3eeb6
|
\begin{colorblock}{Definizione - RFC3053} |
891 |
f6c754e3eeb6
|
I tunnel broker sono dei fornitori di connettività IPv6 attraverso la rete |
892 |
f6c754e3eeb6
|
IPv4. |
893 |
f6c754e3eeb6
|
\end{colorblock} |
894 |
f6c754e3eeb6
|
\pause |
895 |
f6c754e3eeb6
|
|
896 |
f6c754e3eeb6
|
\vspace{1cm} |
897 |
f6c754e3eeb6
|
|
898 |
f6c754e3eeb6
|
\tikzstyle{net}+=[on chain] |
899 |
f6c754e3eeb6
|
|
900 |
f6c754e3eeb6
|
\begin{center} |
901 |
f6c754e3eeb6
|
\begin{tikzpicture}[start chain,every join/.style={<->,thick}] |
902 |
f6c754e3eeb6
|
\node [net,join] (client) {\pgfuseimage{schermo}}; |
903 |
f6c754e3eeb6
|
\node [net,join] (rete) {\pgfuseimage{nuvola}}; |
904 |
f6c754e3eeb6
|
\node [net,join] (broker) {\pgfuseimage{router}}; |
905 |
f6c754e3eeb6
|
\uncover<3-> {\node [net,join] (ipv6) {\pgfuseimage{nuvola}}; } |
906 |
f6c754e3eeb6
|
|
907 |
f6c754e3eeb6
|
%label |
908 |
f6c754e3eeb6
|
\node [below of=client] {\small client}; |
909 |
f6c754e3eeb6
|
\node at (rete) [anchor=center] {\small IPv4}; |
910 |
f6c754e3eeb6
|
\node [below of=broker] {\small tunnel broker}; |
911 |
f6c754e3eeb6
|
\uncover<3-> { \node at (ipv6) [anchor=center] {\small IPv6};} |
912 |
f6c754e3eeb6
|
|
913 |
f6c754e3eeb6
|
%archi |
914 |
f6c754e3eeb6
|
\uncover<4-> { |
915 |
f6c754e3eeb6
|
\path (client) edge[<->,dashed,thick,bend right] node[below]{\small IPv6-in-IPv4} (broker); |
916 |
f6c754e3eeb6
|
% \path (broker) edge[<->,dashed,thick,bend right] (ipv6); |
917 |
f6c754e3eeb6
|
} |
918 |
f6c754e3eeb6
|
\end{tikzpicture} |
919 |
f6c754e3eeb6
|
\end{center} |
920 |
f6c754e3eeb6
|
|
921 |
f6c754e3eeb6
|
\end{frame} |
922 |
f6c754e3eeb6
|
|
923 |
f6c754e3eeb6
|
\tikzstyle{na} = [baseline=-.5ex] |
924 |
f6c754e3eeb6
|
\tikzstyle{every picture}+=[remember picture] |
925 |
f6c754e3eeb6
|
|
926 |
f6c754e3eeb6
|
\subsection{SOHO} |
927 |
f6c754e3eeb6
|
\begin{frame} |
928 |
f6c754e3eeb6
|
\frametitle{Small Office Home Office (SOHO)} |
929 |
f6c754e3eeb6
|
\begin{columns} |
930 |
f6c754e3eeb6
|
\column{.3\textwidth} % column designated by a command |
931 |
f6c754e3eeb6
|
\begin{itemize} |
932 |
f6c754e3eeb6
|
\item LAN standard |
933 |
f6c754e3eeb6
|
\item<2-> Router Advertisement\tikz[na] \node[coordinate] (adv) {}; |
934 |
f6c754e3eeb6
|
\item<3-> Connettività IPv6 attraverso un tunnel broker \tikz[na] \node[coordinate] (tb) {}; |
935 |
f6c754e3eeb6
|
\end{itemize} |
936 |
f6c754e3eeb6
|
\column{.7\textwidth} |
937 |
f6c754e3eeb6
|
\setbeamercovered{invisible} |
938 |
f6c754e3eeb6
|
|
939 |
f6c754e3eeb6
|
\tikzstyle{net}+=[on chain] |
940 |
f6c754e3eeb6
|
\tikzstyle{lnet}+=[on chain=going below] |
941 |
f6c754e3eeb6
|
|
942 |
f6c754e3eeb6
|
\begin{tikzpicture}[start chain,every join/.style={<->,thick}] |
943 |
f6c754e3eeb6
|
\node [net,join] (ipv4) {\pgfuseimage{nuvola}}; |
944 |
f6c754e3eeb6
|
{ [start branch=lan] |
945 |
f6c754e3eeb6
|
\node [lnet,join=with ipv4,label=180:\tiny router] (router) {\pgfuseimage{router}}; |
946 |
f6c754e3eeb6
|
\node [subnet,lnet,join] { \begin{tikzpicture} |
947 |
f6c754e3eeb6
|
\node [] (client1) {\pgfuseimage{schermo}}; |
948 |
f6c754e3eeb6
|
\node [right of=client1] (client2) {\pgfuseimage{schermo}}; |
949 |
f6c754e3eeb6
|
\node [right of=client2] (client3) {\pgfuseimage{case}}; |
950 |
f6c754e3eeb6
|
\end{tikzpicture} |
951 |
f6c754e3eeb6
|
}; |
952 |
f6c754e3eeb6
|
} |
953 |
f6c754e3eeb6
|
\uncover<3-> { |
954 |
f6c754e3eeb6
|
\node [net,join=with ipv4,right of=ipv4,label=90:\tiny tunnel broker] (broker) {\pgfuseimage{router}}; |
955 |
f6c754e3eeb6
|
\node [net,join] (ipv6) {\pgfuseimage{nuvola}}; |
956 |
f6c754e3eeb6
|
} |
957 |
f6c754e3eeb6
|
|
958 |
f6c754e3eeb6
|
%label |
959 |
f6c754e3eeb6
|
%\node [below of=client] {\small client}; |
960 |
f6c754e3eeb6
|
\node at (ipv4) [anchor=center] {\tiny IPv4}; |
961 |
f6c754e3eeb6
|
\uncover<3-> { |
962 |
f6c754e3eeb6
|
\node at (ipv6) [anchor=center] {\tiny IPv6}; |
963 |
f6c754e3eeb6
|
% } |
964 |
f6c754e3eeb6
|
|
965 |
f6c754e3eeb6
|
%archi |
966 |
f6c754e3eeb6
|
%\uncover<4-> { |
967 |
f6c754e3eeb6
|
\path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\tiny IPv6-in-IPv4} (broker); |
968 |
f6c754e3eeb6
|
% \path (broker) edge[<->,dashed,thick,bend right] (ipv6); |
969 |
f6c754e3eeb6
|
} |
970 |
f6c754e3eeb6
|
\end{tikzpicture} |
971 |
f6c754e3eeb6
|
\end{columns} |
972 |
f6c754e3eeb6
|
|
973 |
f6c754e3eeb6
|
%collegamenti |
974 |
f6c754e3eeb6
|
\begin{tikzpicture}[overlay] |
975 |
f6c754e3eeb6
|
\path[->]<2> (adv) edge [bend right,olink] (router); |
976 |
f6c754e3eeb6
|
\path[->]<3> (tb) edge [bend right,olink] (6to4); |
977 |
f6c754e3eeb6
|
\end{tikzpicture} |
978 |
f6c754e3eeb6
|
\end{frame} |
979 |
f6c754e3eeb6
|
|
980 |
f6c754e3eeb6
|
\subsection{Enterprise} |
981 |
f6c754e3eeb6
|
\begin{frame} |
982 |
f6c754e3eeb6
|
\frametitle{Enterprise} |
983 |
f6c754e3eeb6
|
\begin{columns} |
984 |
f6c754e3eeb6
|
\column{.35\textwidth} % column designated by a command |
985 |
f6c754e3eeb6
|
\begin{itemize} |
986 |
f6c754e3eeb6
|
\item Rete enterprise |
987 |
f6c754e3eeb6
|
\item<2-> Routing OSPFv3 \tikz[na] \node[coordinate] (ospf) {}; |
988 |
f6c754e3eeb6
|
\item<3-> Aggiornamento del server DNS \tikz[na] \node[coordinate] (agg dns) {}; |
989 |
f6c754e3eeb6
|
\item<4-> Server DHCP \tikz[na] \node[coordinate] (dhcp) {}; |
990 |
f6c754e3eeb6
|
\item<4-> Relay agent DHCP \tikz[na] \node[coordinate] (relay) {}; |
991 |
f6c754e3eeb6
|
\item<5-> Router Advertisement \tikz[na] \node[coordinate] (ra) {}; |
992 |
f6c754e3eeb6
|
\item<6-> Rimozione dei NAT \tikz[na] \node[coordinate] (no nat) {}; |
993 |
f6c754e3eeb6
|
\item<7-> Aggiornamento dei servizi \tikz[na] \node[coordinate] (servizi) {}; |
994 |
f6c754e3eeb6
|
\end{itemize} |
995 |
f6c754e3eeb6
|
\column{.65\textwidth} |
996 |
f6c754e3eeb6
|
\setbeamercovered{invisible} |
997 |
f6c754e3eeb6
|
|
998 |
f6c754e3eeb6
|
\tikzstyle{net}+=[on chain=going below] |
999 |
f6c754e3eeb6
|
\tikzstyle{lnet}+=[on chain=going right] |
1000 |
f6c754e3eeb6
|
|
1001 |
f6c754e3eeb6
|
\begin{tikzpicture}[start chain,every join/.style={<->,thick},node distance=3mm] |
1002 |
f6c754e3eeb6
|
\node [net] (net) {\pgfuseimage{nuvola}}; |
1003 |
f6c754e3eeb6
|
\node [net,join,label=180:\tiny ASBR] (asbr) {\pgfuseimage{router}}; |
1004 |
f6c754e3eeb6
|
{ [start branch=lans] } % just a declaration, |
1005 |
f6c754e3eeb6
|
{ [start branch=br2] |
1006 |
f6c754e3eeb6
|
\node [on chain=going below right,join,label=90:\tiny BR2] (mybr2) {\pgfuseimage{router}}; |
1007 |
f6c754e3eeb6
|
} |
1008 |
f6c754e3eeb6
|
\node [net,on chain=going below left,join,join=with asbr,label=180:\tiny BR1] (br1) {\pgfuseimage{router}}; |
1009 |
f6c754e3eeb6
|
\node [subnet,net,join] { \begin{tikzpicture}[ node distance=1cm] |
1010 |
f6c754e3eeb6
|
\node [] (c4) {\pgfuseimage{schermo}}; |
1011 |
f6c754e3eeb6
|
\node [right of=c4] (c5) {\pgfuseimage{schermo}}; |
1012 |
f6c754e3eeb6
|
\node [right of=c5] (c6) {\pgfuseimage{schermo}}; |
1013 |
f6c754e3eeb6
|
\end{tikzpicture} }; |
1014 |
f6c754e3eeb6
|
|
1015 |
f6c754e3eeb6
|
{ [continue branch=lans] |
1016 |
f6c754e3eeb6
|
\node [subnet,on chain, right of=asbr, xshift=3.5cm,join=with asbr] { \begin{tikzpicture}[ node distance=1cm] |
1017 |
f6c754e3eeb6
|
\node [label=-90:\tiny{DNS}] (dns) {\pgfuseimage{case}}; |
1018 |
f6c754e3eeb6
|
\node [label=-90:\tiny Web server,right of=dns] (web server) {\pgfuseimage{case}}; |
1019 |
f6c754e3eeb6
|
\uncover<4->{\node [label=-90:\tiny{DHCPv6},right of=web server] (dhcpv6) {\pgfuseimage{case}};} |
1020 |
f6c754e3eeb6
|
\end{tikzpicture} }; |
1021 |
f6c754e3eeb6
|
\node [subnet,net,join=with mybr2] { \begin{tikzpicture}[ node distance=1cm] |
1022 |
f6c754e3eeb6
|
\node [] (c1) {\pgfuseimage{schermo}}; |
1023 |
f6c754e3eeb6
|
\node [right of=c1] (c2) {\pgfuseimage{schermo}}; |
1024 |
f6c754e3eeb6
|
\node [right of=c2] (c3) {\pgfuseimage{schermo}}; |
1025 |
f6c754e3eeb6
|
|
1026 |
f6c754e3eeb6
|
\node [subnet,below of=c2,yshift=-.15cm,xshift=.1cm] (nat) { \begin{tikzpicture}[ node distance=1cm] |
1027 |
f6c754e3eeb6
|
\node [] (n1) {\pgfuseimage{schermo}}; |
1028 |
f6c754e3eeb6
|
\node [right of=n1] (n2) {\pgfuseimage{schermo}}; |
1029 |
f6c754e3eeb6
|
\end{tikzpicture}}; |
1030 |
f6c754e3eeb6
|
\node [left of=nat,xshift=-.25cm] (natter) {\pgfuseimage{case}}; |
1031 |
f6c754e3eeb6
|
|
1032 |
f6c754e3eeb6
|
\end{tikzpicture} }; |
1033 |
f6c754e3eeb6
|
} |
1034 |
f6c754e3eeb6
|
|
1035 |
f6c754e3eeb6
|
%label |
1036 |
f6c754e3eeb6
|
\node at (net) [anchor=center] {\tiny Internet}; |
1037 |
f6c754e3eeb6
|
% \uncover<3-> { |
1038 |
f6c754e3eeb6
|
% \node at (ipv6) [anchor=center] {\small IPv6}; |
1039 |
f6c754e3eeb6
|
%% } |
1040 |
f6c754e3eeb6
|
% |
1041 |
f6c754e3eeb6
|
% %archi |
1042 |
f6c754e3eeb6
|
% %\uncover<4-> { |
1043 |
f6c754e3eeb6
|
% \path (router) edge[<->,dashed,thick,out=0,in=-90] node[right] (6to4) {\small IPv6-in-IPv4} (broker); |
1044 |
f6c754e3eeb6
|
%% \path (broker) edge[<->,dashed,thick,bend right] (ipv6); |
1045 |
f6c754e3eeb6
|
% } |
1046 |
f6c754e3eeb6
|
\end{tikzpicture} |
1047 |
f6c754e3eeb6
|
\end{columns} |
1048 |
f6c754e3eeb6
|
|
1049 |
f6c754e3eeb6
|
%collegamenti |
1050 |
f6c754e3eeb6
|
\begin{tikzpicture}[overlay] |
1051 |
f6c754e3eeb6
|
\path[->]<2> (ospf) edge [olink] (asbr) edge [bend right,olink] (mybr2) edge [bend right,olink] (br1); |
1052 |
f6c754e3eeb6
|
\path[->]<3> (agg dns) edge [bend right,olink] (dns); |
1053 |
f6c754e3eeb6
|
\path[->]<4> (dhcp) edge [bend left,olink] (dhcpv6); |
1054 |
f6c754e3eeb6
|
\path[->]<4> (relay) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1); |
1055 |
f6c754e3eeb6
|
\path[->]<5> (ra) edge [bend left,olink] (asbr) edge [bend left,olink] (mybr2) edge [bend right,olink] (br1); |
1056 |
f6c754e3eeb6
|
\path[->]<6> (no nat) edge [olink] (natter); |
1057 |
f6c754e3eeb6
|
\path[->]<7> (servizi) edge [bend right, olink] (web server); |
1058 |
f6c754e3eeb6
|
\end{tikzpicture} |
1059 |
f6c754e3eeb6
|
\end{frame} |
1060 |
f6c754e3eeb6
|
|
1061 |
f6c754e3eeb6
|
\section{Risultati} |
1062 |
f6c754e3eeb6
|
|
1063 |
ef7af8537f95
|
\section{Licenza} |
1064 |
ef7af8537f95
|
\begin{frame}\frametitle{Licenza Creative Commons\newline{}\small Attribuzione-Non commerciale-Condividi allo stesso modo 2.5 Italia} |
1065 |
ef7af8537f95
|
\small |
1066 |
ef7af8537f95
|
\begin{colorblock}{Tu sei libero:} |
1067 |
ef7af8537f95
|
\tiny |
1068 |
ef7af8537f95
|
\begin{itemize} |
1069 |
ef7af8537f95
|
\item di riprodurre, distribuire, comunicare al pubblico, esporre in pubblico, rappresentare, eseguire e recitare quest'opera |
1070 |
ef7af8537f95
|
\item di modificare quest'opera |
1071 |
ef7af8537f95
|
\end{itemize} |
1072 |
ef7af8537f95
|
\end{colorblock} |
1073 |
ef7af8537f95
|
|
1074 |
ef7af8537f95
|
\begin{colorblock}{Alle seguenti condizioni:} |
1075 |
ef7af8537f95
|
\begin{itemize} |
1076 |
ef7af8537f95
|
\tiny |
1077 |
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. |
1078 |
ef7af8537f95
|
\item \textbf{Non commerciale.} Non puoi usare quest'opera per fini commerciali. |
1079 |
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. |
1080 |
ef7af8537f95
|
\end{itemize} |
1081 |
ef7af8537f95
|
\end{colorblock} |
1082 |
ef7af8537f95
|
|
1083 |
ef7af8537f95
|
\tiny |
1084 |
ef7af8537f95
|
\begin{itemize} |
1085 |
ef7af8537f95
|
\item Ogni volta che usi o distribuisci quest'opera, devi farlo secondo i termini di questa licenza, che va comunicata con chiarezza. |
1086 |
ef7af8537f95
|
\item In ogni caso, puoi concordare col titolare dei diritti utilizzi di quest'opera non consentiti da questa licenza. |
1087 |
ef7af8537f95
|
\item Questa licenza lascia impregiudicati i diritti morali. |
1088 |
f6c754e3eeb6
|
\end{itemize} |
1089 |
f6c754e3eeb6
|
|
1090 |
f6c754e3eeb6
|
\end{frame} |
1091 |
f6c754e3eeb6
|
\end{document} |