Get On IPv6 Right Now

From Sfvlug

Revision as of 17:19, 24 August 2009 by Jeff (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
echo $IPV4ADDR | awk -F. '{ printf("2002:%x%02x:%x%02x\
", $1, $2, $3, $4) }'
iptables -I INPUT -p 41 -i eth0.1 -j ACCEPT
ip tunnel add tun6to4 mode sit ttl 64 remote any local $IPV4ADDR
ip link set dev tun6to4 up
ip -6 addr add $IPV6PRE::1 dev tun6to4
ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
ip -6 addr add $IPV6PRE:1::1/64 dev br-lan
interface br-lan {
    AdvSendAdvert on;
    prefix $IPV6PRE:1::0/64 {
        AdvOnLink on;
        AdvAutonomous on;
    };
};
Personal tools