#!/bin/sh # $Id: linux24.template,v 1.7 2003/03/20 11:15:13 cramer Exp $ LOCAL4=157.181.160.97 REMOTE4=212.25.25.23 LOCAL6=2001:08e0:abcd::19e/126 REMOTE6=2001:08e0:abcd::19d ip tunnel add tb01 mode sit remote ${REMOTE4} local ${LOCAL4} ip link set dev tb01 up ip -6 addr add ${LOCAL6} dev tb01 ip -6 addr add 2001:08e0:abcd:67:211:2fff:fec2:54a1/64 dev eth0 ip -6 route add 2000::/3 via ${REMOTE6} dev tb01 ip -6 route add 3ffe::/16 via ${REMOTE6} dev tb01 echo "1" > /proc/sys/net/ipv6/conf/all/forwarding radvd