Posts Tagged ‘IPv6’

IPv4 address exhaustion

Wednesday, February 2nd, 2011


IPv4 IPv6 Statistics 2 February 2011
Internet user, you should know that IPv4 address exhaustion is becoming closer, or let’s use a more appropriate term: imminent!

As you can see from the image on the right (a screenshot taken from the Hurricane Electric web site) the countdown for the estimated date of IPv4 address exhaustion will reach 0 tomorrow! In fact, the last free IPv4 /8 block has been assigned in these days by IANA.

Who is IANA? IANA is the authority that distributes addresses to the regional Internet registries (such as RIPE), for assignment to end users and local Internet registries (such as ISPs). The IPv4 address list has 256 blocks, each block has 16,777,216 /8 addresses, so we have 4.3 billion IPv4 total addresses.

What will happen now?

You may have heard about IPv6, the ‘new’ Internet Protocol, established in 1998 to supplant IPv4. Whereas IPv4 uses 32 bit addresses, IPv6 uses 128 bit addresses, which dramatically increase number of available addresses from 4.3 billion to:

340,282,366,920,938,463,463,374,607,431,768,211,456

But, is the world ready to migrate? I don’t think so.

Someone can say migration has already started. In fact every modern OS has an IPv4/IPv6 dual-stack  implementation, but this is not true for network devices, such as most of the routers, switches, etc. Moreover world lack of IPv6 ready services (such as the main one, DNS, we only have a few IPv6 ready DNS) and, most of all, a global TCP/IP network infrastructure that is not IPv6 compliant yet. There are also a lot of security issues. NAT is no more necessary with IPv6, and hiding IP topology will not be a security strategy anymore.

Rispolveriamo la Fonera: sottorete IPv6

Tuesday, October 5th, 2010

Erano un po’ di giorni che guardavo la mia vecchia Fonera (oggetto di alcuni post precedenti), e pensavo a quanti giocattolini avessi comprato, usato per un po’, e lasciato marcire da qualche parte. Poi ieri, girando per la rete, sono arrivato sul sito di un Tunnel Broker IPv6 (Hurricane Electric) che permette, previa registrazione gratuita, di avere connettività sul mondo IPv6 (con una sottorete /64) tramite tunnel IPv4 con uno dei suoi server. Anni fa avevo già provato questo genere di servizi, al tempo un po’ più difficili da trovare per connessioni private a IP dinamico, un po’ per farci esperimenti, ma più che altro per fare il figo (ogni informatico che si rispetti ha avuto un passato da lameruccio :D ) su IRCNet con IPv6 e DNS AAAA, di quelli superfantasiosi. Ora però mi incuriosiva il fatto di poter sfruttare l’intera sottorete per distribuire indirizzi v6 sui pc di casa. Allora mi sono detto, perché non rispolverare la Fonera e creare una bella sottorete IPv6 dinamica? :D

Detto, fatto! Eh si, quando mi prende non riesco a dire di no.

Ho preso la Fonera. Ci ho flashato l’ultimo firmware OpenWrt Kamikaze (anche perché non ricordavo le password di accesso a quella già installata -.-’). Ho ripulito l’OpenWrt dei servizi inutili per risparmiare memoria. Ho configurato il tunnel con il tunnel broker. Installato e configurato Radvd, per l’assegnazione degli IPv6 ai client della sottorete, basati sul loro MAC address. Ed infine ho sistemato il tutto in scriptini, per l’aggiornamento automatico del tunnel (a casa abbiamo IP dinamico e la Fonera ha l’interfaccia WAN in DHCP sul router ADSL, dietro NAT).

Facciamo il resoconto. Uscite: una Fonera da 5 euro e una serata davanti la console. Entrate: una sottorete dinamica con IPv4 e IPv6 (e un po’ di esperienza). Tutto sommato penso ne sia valsa la pena. =)