Questa pagina è inviata in inglese a causa della sua indisponibilità in vostra lingua selezionata Linux
Setup :
Tested with the kernel 2.2.17 & 2.4.5, it's working. Do not use not the 2.4.4,
it is _ really _ buggy. Therefore, download linux-2.4.5.tar.gz
dans /usr/src/. After, decompress it #> tar -xzf linux-2.4.5.tar.gz.
in conf (make menuconfig), choice
Code maturity level options -->
[*] Prompt for developpement and/or incomplete code drivers
Network Options -->
[*] Kernel/User netlink socket
<*> Netlink device emulation
[*] TCP/IP Networking
[*] IP: Multicasting
<*> IP: Tunneling
<*> IP: GRE tunnels over IP
[*] The IPv6 Protocol [& suboptions like EUI-64]
build it (make dep; make bzImage), install in lilo & Reboot :)
script :
you need the package Net-tools with the support ipv6.The sources can be obtained on this Adress
Net-tools
If you have the Net-tools IPv6:
ifconfig t0 up
ifconfig t0 inet6 tunnel ::[ipv4_du_tunnel_broker]
ifconfig t1 up
ifconfig t1 inet6 add [votre_ipv6_publique]/127
route -A inet6 add ::/0 dev t1
If you have the package
route2 :
modprobe ipv6
ip tunnel add xbone mode sit remote [ipv4_du_tunnel_broker] local [votre_ipv4_publique] ttl 255
ip link set xbone up
ip addr add [votre_ipv6_publique]/127 dev xbone
ip route add ::/0 dev xbone
ip -f inet6 addr
script LAN :
ifconfig eth0 add [IPv6 LAN]/[PREFIXLEN]
it is important to have the same PREFIXLEN on all the machines of the LAN.
Router
To make to your machine a IPv6 router :
1) to use the standard configuration
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
|