[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 6to4 problem



On Sat, 10 Aug 2002, Ismo Laitinen wrote:

# gromit:~# ip -6 tunnel show
# sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
# tun6to4: ipv6/ip  remote any  local 193.166.92.78  ttl inherit
# gromit:~# ip -6 addr show
# 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
#      inet6 ::1/128 scope host
# 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
#      inet6 fe80::4a54:e8ff:fe2b:f9f2/10 scope link
# 4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
#      inet6 fe80::204:76ff:fee2:4dcc/10 scope link
# 5: tun6to4@NONE: <NOARP,UP> mtu 1480 qdisc noqueue
#      inet6 ::193.166.92.78/128 scope global
#      inet6 2002:c1a6:5c4e:1::1/48 scope global
# gromit:~# ip -6 route show
# 2002:c1a6:5c4e::/48 dev tun6to4  proto kernel  metric 256  mtu 1480
# advmss 1420
# 2000::/3 dev tun6to4  metric 1024  mtu 1480 advmss 1420
# fe80::/10 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
# fe80::/10 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440
# fe80::/10 dev tun6to4  proto kernel  metric 256  mtu 1480 advmss 1420
# ff00::/8 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
# ff00::/8 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440
# ff00::/8 dev tun6to4  proto kernel  metric 256  mtu 1480 advmss 1420
# unreachable default dev lo  metric -1  error -101
#
#  > can describe whats really do you want.
#
# I start from the beginning :)
#
# I have a host with 193.166.92.78 global ipv4 ip. Behind that are other
# hosts. I used to have a working configuration with 6to4 tunnel to IPv6
# and radvd advertising that route to other machines. Now I'm using
# following commands (your route help included) to create that tunnel:
#
# ip tunnel add tun6to4 mode sit remote any local 193.166.92.78
# ip link set dev tun6to4 up
# ip -6 addr add 2002:c1a6:5c4e::1/48 dev tun6to4
# ip -6 route add 2000::/3 dev tun6to4

you create a tunnel from any to local IP, it mean that you only recieve
an incoming IPv6 traffic. in the oter hand you want to route all IPv6 to
where ?? it doesnt make any sense


# In first place I followed instructions in Linux IPv6 Howto:
# http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/configuring-ipv6to4-tunnels.html
#
# In that howto the route command is:
# ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1

of cource, if you really want to route all IPv6 to ::192.88.99.1 then
delete you old tunnel and add :

ip -6 tunnel add newtunnel mode sit remote 192.88.99.1 local any (or
193.166.92.78)
ip link set dev newtunnel up
ip -6 addr add 2002:c1a6:5c4e::1/48 dev newtunnel
ip -6 route add 2000::/3 dev newtunnel

# but that do not work just giving me:
# RTNETLINK answers: No route to host

remember to test you IPv6 address with :
traceroute6 -s 2002:c1a6:5c4e::1 www.kame.net

Cheers, Indra Kusuma
--
 ,''`. How (Debian GNU/)Linux Are You ? http://{Indra,Debian}.Kusuma.OR.ID
: :' : How IPv6 Are You ? ....................... http://IPv6.Debian.OR.ID
`. `'  1024D/4D829E49 .. 187D 8C98 FB76 E1A8 5558 853A 4795 4FC1 4D82 9E49
  `-



Reply to: