OK, never mind about that look here http://imageshack.us/photo/my-images/19/10335694.jpg/. I creat 4 VM with Ubuntu. Two are routeres, two hostes. Hosts try to connect.
Config R1:
ip -4 addr add 1.1.1.1/24 dev eth0
ip tunnel add tun6to4 mode sit ttl 64 remote any local 1.1.1.1
ip link set dev tun6to4 up
ip -f inet6 addr add 2002:101:101::1/16 dev tun6to4
ip -f inet6 route add 2002::/16 dev tun6to4 metric 1
echo 1 >/pros/sys/net/ipv4/ip_forward
echo 1 >/pros/sys/net/ipv6/conf/all/forwarding
Config R2:
ip -4 addr add 1.1.1.2/24 dev eth0
ip tunnel add tun6to4 mode sit ttl 64 remote any local 1.1.1.2
ip link set dev tun6to4 up
ip -f inet6 addr add 2002:101:102::1/16 dev tun6to4
ip -f inet6 route add 2002::/16 dev tun6to4 metric 1
echo 1 >/pros/sys/net/ipv4/ip_forward
echo 1 >/pros/sys/net/ipv6/conf/all/forwarding
Config A:
ip -6 addr add 2002:101:101::3/48 dev eth0
Config B:
ip -6 addr add 2002:101:102::3/48 dev eth0
I try ping host B on VM with host A and i can't. What may be wrong?