Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "Cestino/TunnelIpv6"
Differenze tra le versioni 1 e 29 (in 28 versioni)
Versione 1 del 18/11/2009 20.11.24
Dimensione: 3672
Commento:
Versione 29 del 10/08/2010 18.08.09
Dimensione: 4787
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
'''Come creare un Tunnel IPv6 in soli 10 minuti su Ubuntu/Xubuntu/Edubuntu/Kubuntu..''' #format wiki
#language it
[[BR]]
[[Indice]]
Linea 4: Linea 7:
= Introduzione =

IPv6 è nuovo protocollo rilasciato dalla'IETF per rimpiazzare l' IPv4 (Internet Protocol version 4), questo nuovo protocollo ha molte funzionalità in più... Un esempio di mask IPv6 è : "2001:470:1f09:a0a::3/64" ...
Linea 6: Linea 12:
= Generalità =
Linea 7: Linea 14:
Nelle piattaforme GNU/Linux generalmente c'è sempre un IPv6 nativo che i provider non supportano e quindi ci dobbiamo limitare a creare un Tunnel Broker che ci assegna una classe IPv6, tra :/48 ; :/64 ; :/128 . Come Default ogni Tunnel ti assegna una :/64 .  Nelle piattaforme GNU/Linux generalmente c'è sempre un IPv6 nativo che i provider non supportano e quindi ci dobbiamo limitare a creare un Tunnel Broker che ci assegna una classe IPv6, tra :/48 ; :/64 ; :/128 . Come Default ogni Tunnel ti assegna una :/64 .
Linea 9: Linea 16:
= Preparativi =
'''Tunnel Broker:'''
Linea 10: Linea 19:
Iniziamo a registrarci su un Tunnel Broker, e uno dei più famosi ed utilizzati e più stabili:   Adesso non ci resta che registrare un Tunnel Broker, tra i tanti uno dei più veloci e stabili è:
Linea 17: Linea 25:
= Configurazione =
'''Come Installare sul proprio sistema IPv6:'''
Linea 18: Linea 28:
''' '''
Linea 19: Linea 30:

Dopo essersi registrati facciamo il Log IN (Entrata nell'account creato poco fa), e subito dopo essere entrati sul lato destro potete trovare la scritta "User Functions" e cliccate su Create a regular Tunnel. Vi chiederà:
Dopo aver installato fare il Log IN (Entrata nell'account creato poco fa), e subito dopo essere entrati sul lato destro potete trovare la scritta "User Functions" e cliccate su Create a regular Tunnel. Vi chiederà:
Linea 28: Linea 38:
'''Esempio: ''' '''Esempio:  '''
Linea 30: Linea 40:
1. Passare a user root:
Linea 31: Linea 42:
{{{
sudo -s
 }}}
Linea 32: Linea 46:
2. Alzare il tunnel IPv4:
Linea 33: Linea 48:
{{{
ifconfig sit0 up }}}
Linea 34: Linea 51:
Copy and Paste the following into a command window: 3. Indicare al nostro Sistema Operativo su quale Server IPv4 si deve appoggiare per creare il tunnel:
Linea 36: Linea 53:
ifconfig sit0 up {{{
ifconfig sit0 inet6 tunnel ::SERVER-IPv4 (SERVER IPv4 che avete scelto precedentemente) }}}
Linea 38: Linea 56:
ifconfig sit0 inet6 tunnel ::SERVER-IPv4 (SERVER IPv4 che avete scelto precedentemente) 4. Alzare il tunnel IPv6:
Linea 40: Linea 58:
ifconfig sit1 up {{{
ifconfig sit1 up }}}
Linea 42: Linea 61:
ifconfig sit1 inet6 add 2001:470:1f0a:ab5::2/64 (IPv6 assegnatovi dal sito ad esempio il mio) 5. Indicare al nostro Sistema Operativo la classe che ci ha assegnato il Tunnel Broker:
Linea 44: Linea 63:
route -A inet6 add ::/0 dev sit1 {{{
ifconfig sit1 inet6 add 2001:470:1f0a:ab5::2/64 (IPv6 assegnatovi dal sito, questo è un esempio) }}}
Linea 46: Linea 66:
6. Applicare e lanciare le modifiche fatte:
Linea 47: Linea 68:
{{{
route -A inet6 add ::/0 dev sit1 }}}
Linea 48: Linea 71:
''' '''
Linea 49: Linea 73:
''' '''
Linea 50: Linea 75:
'''Dopo l'ultimo comando se digitiamo nel Terminale "ifconfig" '''
Linea 51: Linea 77:
{{{
niky@ubuntu:~$ ifconfig }}}
Linea 52: Linea 80:
'''Dopo quest'ultimo comandi se digitiamo nel Terminale "ifconfig" ''' {{{
eth0 Link encap:Ethernet HWaddr 00:0b:6a:22:a1:a7 }}}
Linea 54: Linea 83:
niky@ubuntu:~$ ifconfig  . {{{
indirizzo inet6: fe80::20b:6aff:fe22:a1a7/64 Scope:Link
}}}
 . {{{
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
}}}
 . {{{
RX packets:7380471 errors:0 dropped:0 overruns:0 frame:0
}}}
 . {{{
TX packets:5334257 errors:0 dropped:0 overruns:0 carrier:0
}}}
 . {{{
collisioni:0 txqueuelen:1000}}}
 . {{{
 Byte RX:4144951770 (4.1 GB) Byte TX:707383955 (707.3 MB)
}}}
 . {{{
Interrupt:19 Indirizzo base:0xd800
}}}
 .
Linea 56: Linea 105:
eth0 Link encap:Ethernet HWaddr 00:0b:6a:22:a1:a7 {{{
lo Link encap:Loopback locale }}}
Linea 58: Linea 108:
 . indirizzo inet6: fe80::20b:6aff:fe22:a1a7/64 Scope:Link
 
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7380471 errors:0 dropped:0 overruns:0 frame:0
 
TX packets:5334257 errors:0 dropped:0 overruns:0 carrier:0
 collisioni:0 txqueuelen:1000
 Byte RX:4144951770 (4.1 GB) Byte TX:707383955 (707.3 MB)
 Interrupt:19 Indirizzo base:0xd800
 . {{{
indirizzo inet:127.0.0.1 Maschera:255.0.0.0}}}
 . {{{
indirizzo inet6: ::1
/128 Scope:Host}}}
 . {{{
UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:580791}}}
 . {{{
errors:0 dropped:0 overruns:0 frame:0  }}}
 . {{{
TX packets:580791 errors:0 dropped:0 overruns:0 carrier:0}}}
 . {{{

 collisioni:0 txqueuelen:0}}}
 . {{{

 Byte RX:110562389 (110.5 MB) Byte TX:110562389 (110.5 MB) }}}
 .
Linea 66: Linea 125:
lo Link encap:Loopback locale {{{
sit0 Link encap:IPv6 in IPv4 }}}
Linea 68: Linea 128:
 . indirizzo inet:127.0.0.1  Maschera:255.0.0.0
 indirizzo inet6: ::1
/128 Scope:Host
 
UP LOOPBACK RUNNING MTU:16436 Metric:1
 
RX packets:580791 errors:0 dropped:0 overruns:0 frame:0
 
TX packets:580791 errors:0 dropped:0 overruns:0 carrier:0
 
collisioni:0 txqueuelen:0
 
Byte RX:110562389 (110.5 MB) Byte TX:110562389 (110.5 MB)
 . {{{
indirizzo inet6: ::79.26.142.184/96 Scope:Compat
}}}
 . {{{
indirizzo inet6: :
:127.0.0.1/96 Scope:Unknown
}}}
 . {{{
UP RUNNING NOARP MTU:1480 Metric:1  }}}
 . {{{
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  }}}
 . {{{
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  }}}
 . {{{
collisioni:0 txqueuelen:0  }}}
 . {{{
Byte RX:0 (0.6 MB) Byte TX:0 (0.6 MB)  }}}
 .
Linea 76: Linea 151:
sit0 Link encap:IPv6 in IPv4 {{{
sit1 Link encap:IPv6 in IPv4 }}}
Linea 78: Linea 154:
 . indirizzo inet6: ::79.26.142.184/96 Scope:Compat
indirizzo inet6: ::127.0.0.1/96 Scope:Unknown
 
UP RUNNING NOARP MTU:1480 Metric:1
 
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 
collisioni:0 txqueuelen:0
 
Byte RX:0 (0.6 B-) Byte TX:0 (0.6 B-)
 . {{{
indirizzo inet6: 2001:470:1f0a:ab5::3/64
}}}
 . {{{
Scope:Global indirizzo inet6: fe80::4f16:beda/64 Scope:Link  }}}
 . {{{
UP POINTOPOINT RUNNING NOARP MTU:1472 Metric:1  }}}
 . {{{
RX packets:23033 errors:0 dropped:0 overruns:0 frame:0  }}}
 . {{{
TX packets:33585 errors:0 dropped:0 overruns:0 carrier:4
}}}
 . {{{
collisioni:0 txqueuelen:0  }}}
 . {{{
Byte RX:10689023 (10.6 MB) Byte TX:2793751 (2.7 MB)  }}}
 .
Linea 86: Linea 177:
sit1 Link encap:IPv6 in IPv4

 . indirizzo inet6: 2001:470:1f0a:ab5::3/64 Scope:Global
 indirizzo inet6: fe80::4f16:beda/64 Scope:Link
 UP POINTOPOINT RUNNING NOARP MTU:1472 Metric:1
 RX packets:23033 errors:0 dropped:0 overruns:0 frame:0
 TX packets:33585 errors:0 dropped:0 overruns:0 carrier:4
 collisioni:0 txqueuelen:0
 Byte RX:10689023 (10.6 MB) Byte TX:2793751 (2.7 MB)

niky@ubuntu:~$





{{{
niky@ubuntu:~$ }}}
Linea 106: Linea 182:
 Grazie per aver letto questa. Per contatti nikyr0x@alice.it - irc.freenode.org -> #ubuntu-it ; #ubuntu-it-chat  . Grazie per aver letto questa guida. Per contatti nikyr0x91@hotmail.it - irc.freenode.org -> #ubuntu-it ; #ubuntu-it-chat


----
CategoryNuoviDocumenti

BR Indice

Introduzione

IPv6 è nuovo protocollo rilasciato dalla'IETF per rimpiazzare l' IPv4 (Internet Protocol version 4), questo nuovo protocollo ha molte funzionalità in più... Un esempio di mask IPv6 è : "2001:470:1f09:a0a::3/64" ...

Generalità

Nelle piattaforme GNU/Linux generalmente c'è sempre un IPv6 nativo che i provider non supportano e quindi ci dobbiamo limitare a creare un Tunnel Broker che ci assegna una classe IPv6, tra :/48 ; :/64 ; :/128 . Come Default ogni Tunnel ti assegna una :/64 .

Preparativi

Tunnel Broker:

Adesso non ci resta che registrare un Tunnel Broker, tra i tanti uno dei più veloci e stabili è:

[http://www.tunnelbroker.net/ ]

http://www.tunnelbroker.net/ - - - Hurricane Electric Internet Services

Configurazione

Come Installare sul proprio sistema IPv6:

Dopo aver installato fare il Log IN (Entrata nell'account creato poco fa), e subito dopo essere entrati sul lato destro potete trovare la scritta "User Functions" e cliccate su Create a regular Tunnel. Vi chiederà:

IPv4 endpoint: "VOSTRO IPV4" You are viewing from IP: We recommend you use: "Scegliete un server a vostro piacere"

Cliccate su "Submit" e successivamente vi porta nella pagina Tunnel Details e li vedrete che vi assegnato in auto una classe :/64 .

Adesso non ci resta che creare il tunnel IPv6 sul nostro Sistema Operativo; Stesso nella pagina Web "Tunnel Details" troviamo in fondo alla pagina "Example OS Configurations (Windows, Linux, etc.):" , specifichiamo il nostro Sistema Operativo e stesso il Tunnel vi darà un esempio dei comandi da lanciare per creare il tunnel sul nostro pc.

Esempio:

1. Passare a user root:

sudo -s

2. Alzare il tunnel IPv4:

ifconfig sit0 up  

3. Indicare al nostro Sistema Operativo su quale Server IPv4 si deve appoggiare per creare il tunnel:

ifconfig sit0 inet6 tunnel ::SERVER-IPv4 (SERVER IPv4 che avete scelto precedentemente) 

4. Alzare il tunnel IPv6:

ifconfig sit1 up 

5. Indicare al nostro Sistema Operativo la classe che ci ha assegnato il Tunnel Broker:

ifconfig sit1 inet6 add 2001:470:1f0a:ab5::2/64 (IPv6 assegnatovi dal sito, questo è un esempio) 

6. Applicare e lanciare le modifiche fatte:

route -A inet6 add ::/0 dev sit1 

Dopo l'ultimo comando se digitiamo nel Terminale "ifconfig"

niky@ubuntu:~$ ifconfig 

eth0      Link encap:Ethernet  HWaddr 00:0b:6a:22:a1:a7 
  • indirizzo inet6: fe80::20b:6aff:fe22:a1a7/64 Scope:Link 
  • UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
  • RX packets:7380471 errors:0 dropped:0 overruns:0 frame:0 
  • TX packets:5334257 errors:0 dropped:0 overruns:0 carrier:0 
  • collisioni:0 txqueuelen:1000
  •  Byte RX:4144951770 (4.1 GB)  Byte TX:707383955 (707.3 MB) 
  • Interrupt:19 Indirizzo base:0xd800 

lo        Link encap:Loopback locale 
  • indirizzo inet:127.0.0.1  Maschera:255.0.0.0
  • indirizzo inet6: ::1/128 Scope:Host
  • UP LOOPBACK RUNNING  MTU:16436  Metric:1 RX packets:580791
  • errors:0 dropped:0 overruns:0 frame:0 
  • TX packets:580791 errors:0 dropped:0 overruns:0 carrier:0
  •  collisioni:0 txqueuelen:0
  •  Byte RX:110562389 (110.5 MB)  Byte TX:110562389 (110.5 MB) 

sit0      Link encap:IPv6 in IPv4 
  • indirizzo inet6: ::79.26.142.184/96 Scope:Compat 
  • indirizzo inet6: ::127.0.0.1/96 Scope:Unknown 
  • UP RUNNING NOARP  MTU:1480  Metric:1 
  • RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
  • TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
  • collisioni:0 txqueuelen:0 
  • Byte RX:0 (0.6 MB)  Byte TX:0 (0.6 MB) 

sit1      Link encap:IPv6 in IPv4 
  • indirizzo inet6: 2001:470:1f0a:ab5::3/64 
  • Scope:Global indirizzo inet6: fe80::4f16:beda/64 Scope:Link 
  • UP POINTOPOINT RUNNING NOARP  MTU:1472  Metric:1 
  • RX packets:23033 errors:0 dropped:0 overruns:0 frame:0 
  • TX packets:33585 errors:0 dropped:0 overruns:0 carrier:4 
  • collisioni:0 txqueuelen:0 
  • Byte RX:10689023 (10.6 MB)  Byte TX:2793751 (2.7 MB) 

niky@ubuntu:~$ 

Notiamo che è installato l'IPv6 sul nostro Sistema Operativo, non ci resta che usarla.

  • Grazie per aver letto questa guida. Per contatti nikyr0x91@hotmail.it - irc.freenode.org -> #ubuntu-it ; #ubuntu-it-chat


CategoryNuoviDocumenti