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

Re: 6to4 problem



Indra Kusuma wrote:
can you please provide the latest network conf :

ip -6 tunnel show
ip -6 addr show
ip -6 route show



Okay, here they are:

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

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

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

I also tried the "old" sit0 but that gives the same answer.

IPv4 routes are ok with default route to internet. I can connect to nearest 6to4 relay with IPv4:

gromit:~# ping 192.88.99.1
PING 192.88.99.1 (192.88.99.1) from 193.166.92.78 : 56(84) bytes of data.
64 bytes from 192.88.99.1: icmp_seq=1 ttl=251 time=8.14 ms

I do not understand why did it work before and now does not.

Thank you again :)

--
 ***   ***   ***   ***   ***   ***   ***   ***   ***   ***   ***
*         Ismo Laitinen          | "Thinking computer...        *
*Tampere University of Technology|      ...you mean like        *
*       laitinei@cs.tut.fi       |           a swimming ship"   *
*  gromit.ton.tut.fi/~laitinei/  |                              *
 ***   ***   ***   ***   ***   ***   ***   ***   ***   ***   ***




Reply to: