/etc/network/interfaces
# Tunnel IPV6 SIXXS
auto sixxs
iface sixxs inet6 v4tunnel
address 2001:6f8:202:b8::2
netmask 128
endpoint 212.100.184.146
up ip -6 link set dev sixxs mtu 1280
up ip -6 tunnel change sixxs ttl 64
up ip -6 route add default via 2001:6f8:202:b8::1 dev sixxs
/etc/network/interfaces
# Lancement auto
auto eth1
# Configuration IPV4
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
# Configuration IPV6
iface eth1 inet6 static
address 2001:6f8:35c::1
netmask 48
apt-get install radvd
/etc/radvd.conf
interface eth1
{
AdvSendAdvert on;
AdvLinkMTU 1280;
MaxRtrAdvInterval 300;
prefix 2001:6f8:35c::1/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
/etc/sysctl.conf
# Le routeur ne doit pas être autoconfiguré net.ipv6.conf.all.autoconf=0 net.ipv6.conf.all.accept_ra=0 # On autorise le passage des paquets ipv6 d'une interface à l'autre net.ipv6.conf.all.forwarding=1