Entradas

Mostrando las entradas etiquetadas como ipv6

Configuración de un DNS IPv6 local en Linux con Bind

Hoy escribiré sobre como crear un DNS dentro de nuestra LAN utilizando IPv6. Como en un tema anterior ya escribí sobre algo de teoría del DNS y Bind9 y su respectiva instalación pasaremos directamente a la configuración de los archivos para un DNS IPv6. Si tienen dudas de teoría consulten el post anterior aquí . Para Ubuntu y similares Utilizaremos las siguientes IPv6 de sitio de ejemplo: Servidor DNS - fec0::a987:200:27ff:fe59:bfd6 Cliente - fec0::a987:21f:d0ff:fe45:4e76 para el cliente Con una máscara de red de 64 bits  Por lo que nuestra dirección IPv6 de red es fec0:0:0:a987::/64 Y los siguientes dominios de ejemplo: Servidor - rukia.com y también responderá por www.rukia.com Cliente - goku.rukia.com Los archivos a configurar se encuentran en el directorio /etc/bind Primero editamos este archivo: /etc/bind/named.conf.default-zones Por default el archivo contiene lo siguiente: zone "." { type hint; file "/etc/bind/db.root"; }; ...

Basic IPv6 network configuration for Linux

Today I'll write on how to configure Linux with IPv6. Today we'll go directly to the practice since in an older post I wrote about IPv6 addresses. Verify if the system has IPv6 enabled The IPv6 module is integrated since kernel 2.4.x even though it's not always enable. With this command we can verify if it is or not enable: test -f /proc/net/if_inet6 && echo "Enable" If it returns the message "Enable" this means that it's enable (obvious). If not we activate it with the next commands. For Ubuntu or similars: modprobe ipv6 And if we want the IPv6 module to be loaded at boot time we add the word ipv6 to the end of this file: /etc/modules For Fedora or similars We edit this file: /etc/sysconfig/network And we add this line to the file: NETWORKING_IPV6=yes Now that we added it we restart the network service. Also if we want to allow the forwarding of IPv6 packages in our computer we apply these co...

Configuración básica de red IPv6 en Linux

Hoy escribiré sobre como configurar Linux con IPv6. Ya en un tema anterior hable sobre como formar las direcciones IPv6 y los tipos de dirección que existen. Así que hoy iremos directo sobre la práctica. El tema es corto pero es que es así de sencillo configurar un equipo con IPv6, a lo mejor muchos ya saben pero también Linux siempre tiene gente nueva que busca estas cosas que para muchos ya son muy "sencillas". Verificar que el sistema tiene activado IPv6 El módulo de IPv6 ya viene integrado en todos los kernel 2.4.x aunque no siempre se encuentra activado. Con este comando podemos verificar si lo está o no: test -f /proc/net/if_inet6 && echo "Si activado" Si nos devuelve el mensaje "Si activado" quiere decir que ya se encuentra activado IPv6. De lo contrario lo activamos con estos comandos. Para Ubuntu o similares: modprobe ipv6 Para que el módulo IPv6 cargue automáticamente cuando inicia el sistema se agrega la pa...

How to build an IPv6 address

Imagen
An IPv6 address is composed by 8 fields of 16 bits and is represented like this: x:x:x:x:x:x:x:x Where each x is an hexadecimal value. If, in one of the fields we have zeros at the left it is not necessary to write them, also if a field has only zeros its representation can be simplified. For example: 1080:0:0:0:8:800:200C:417A Simplified will be like this: 1080::8:800:200C:417A 0:0:0:0:0:0:0:1 Simplified: ::1 Addresses are formed like this: Where: Site prefix: Composed of 48 bits. Describes the public topology that the ISP asigns. Subnet ID: Composed of 16 bits. Is assign by the user or the site administrator. The subnet ID describes the private topology, also denominated site topology. Interface ID: Composed of 64 bits. Contains the interface ID, also denominated token. The interface ID is configurated automatically using the MAC address of the interface or manually with the EUI64 format. To convert the MAC address using the EUI64 format we just have to use this sim...

Como formar una dirección IPv6

Imagen
Hola, hoy voy a explicar la representación de las direcciones IPv6 en honor a su lanzamiento esta semana. Una dirección IPv6 está compuesta por 8 campos de 16 bits y se representa de la siguiente manera: x:x:x:x:x:x:x:x Donde cada x es un valor hexadecimal. Si en uno de los campos hay ceros hacia la izquierda no es necesario escribirlos, también si un campo consta de sólo ceros se puede simplificar su escritura. Por ejemplo: 1080:0:0:0:8:800:200C:417A Simplificada sería: 1080::8:800:200C:417A 0:0:0:0:0:0:0:1 Simplificada: ::1 Las direcciones están conformadas de la siguiente forma: Donde: Prefijo de sitio: Compuesto de 48 bits. Describe la topología pública que el ISP suele asignar al sitio. ID de subred: Compuesto de 16 bits. Es asignada por el usuario o el administrador del sitio. El ID de subred describe la topología privada, denominada también topología del sitio ID de interfaz: Compuesto de 64 bits. Contiene el ID de interfaz, también denominad...