Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: fletteboer on November 01, 2008, 06:42:12 AM

Title: 'Static' config for Debian-based distros (Ubuntu, etc)
Post by: fletteboer on November 01, 2008, 06:42:12 AM
For Debian-based distros, you can put the following in /etc/network/interfaces and have it configured automatically when the system boots up:
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
endpoint $ipv4a
address $ipv6b
netmask 64
up ip -6 route add default dev he-ipv6
down ip -6 route del default dev he-ipv6
mtu 1480