90 likes | 294 Views
NIC Chile un caso de adopción de IPv6 Ejemplos de configuraciones. Septiembre 2007. Direcciones IPv6. 2001:1398::/32: Prefijo asignado a NIC Chile ::1/128 : localhost fe80::/10 : link local ff00::/8 : multicast ff01::1/128 : todos los nodos (broadcast) 0::ffff:a.b.c.d : IPv4 mapped
E N D
NIC Chile un caso de adopción de IPv6Ejemplos de configuraciones Septiembre 2007
Direcciones IPv6 • 2001:1398::/32: Prefijo asignado a NIC Chile • ::1/128 : localhost • fe80::/10 : link local • ff00::/8 : multicast • ff01::1/128 : todos los nodos (broadcast) • 0::ffff:a.b.c.d : IPv4 mapped • 0::a.b.c.d : IPv4 compatible • ::/0 : Default route • 2000::/3 : Espacio único global de direcciones
! router bgp 27678 bgp router-id 200.1.123.3 network 200.1.121.0/24 neighbor 200.x.x.x remote-as xxxx neighbor 200.x.x.x password xxxx neighbor 2800:x:x::x remote-as xxxx ! address-family ipv6 network 2001:1398::/32 … Configuración de BGP
Tuneles IPv6 sobre IPv4 • FreeBSD ifconfig gif0 create ifconfig gif0 tunnel 200.x.x.x 201.y.y.y ifconfig gif0 up ifconfig gif0 inet6 2001:1398:x::2 prefixlen 112 • Linux ip tunnel add tun64 mode sit remote 201.y.y.y local 200.x.x.x ttl 64 dev ethx ip link set tun64 mtu 1280 up ip addr add 2001:1398:x::1/112 dev tun64
Configuración de firewall IPv6 • FreeBSD ip6fw add 32000 allow all 2001:1398::/48 to any ip6fw add 65535 deny all from any to any • Linux ip6tables -A INPUT -p icmpv6 -j ACCEPT ip6tables -A INPUT -p tcp --dport 80 -j ACCEPT ip6tables -A INPUT -j REJECT --reject-with icmp6-port-unreachable ip6tables -A FORWARD -j REJECT --reject-with icmp6-port-unreachable
Direcciones IPv6 root-servers • B-ROOT-SERVERS.NET :2001:478:65::53 • F-ROOT-SERVERS.NET :2001:500::1035 • H-ROOT-SERVERS.NET :2001:500:1::803f:235 • K-ROOT-SERVERS.NET :2001:7fd::1 • M-ROOT-SERVERS.NET :2001:dc3::35
Comandos usuales • Ver rutas route -n -A inet6 # linux netstat -rn -f inet6 # freebsd • Ver interfaces ifconfig ip addr # linux • Análisis tcpdump ping6 traceroute6
Links de interes • http://www.ipv6.org/v6-www.html • http://ipv6gate.sixxs.net • http://www.hexago. Com • http://www.go6.net • http://www.iana.org/assignments/ipv6-unicast-address-assignmentset • http://www.iana.org • http://www.root-servers.org • http://www.google.cl • http://www.6tap.net/cgi-bin/6tap-lg_starlight.cgi
Relator Eduardo Mercader Orta Jefe de Sistemas NIC Chile emercade@nic.cl