You are not logged in.

#1 2012-03-04 12:36:59

silverzhao
Member
Registered: 2011-07-05
Posts: 33

rt6_redirect: source isn't a valid nexthop for redirect target

I create a ipv6 tunnel for my ipv4 network, so I can visit ipv6 websites, such as http://ipv6.google.com, like this:

# ip tunnel add sit1 mode sit remote $ISATAP_SERVER local $LOCAL_IP ttl 64
# ip link set dev sit1 up
# ip addr add 2001:da8:8000:d010:0:5efe:$LOCAL_IP/64 dev sit1
# ip -6 route add default dev sit1 metric 1

where $ISATAP_SERVER is the ip address of the remote server, and $LOCAL_IP is my ipv4 address.
This is the route info for ipv6:

$ ip -6 route
2001:da8:8000:d010::/64 via :: dev sit1  proto kernel  metric 256 
fe80::/64 dev eth0  proto kernel  metric 256 
fe80::/64 via :: dev sit1  proto kernel  metric 256 
default dev sit1  metric 1

Now I can visit ipv6 websites, and everything seems OK.
But when I check the log file /var/log/everything.log, I get much information like this:

Mar  4 19:46:29 localhost kernel: [ 8073.183872] rt6_redirect: source isn't a valid nexthop for redirect target

It seems there‘s something wrong with the route for ipv6, but I can't figure it out.
I've googled this for a long time, but many is about the source file route.c, nothing helpful.
Any ideas? Thanks!


What you are you do not see, what you see is your shadow.

Offline

Board footer

Powered by FluxBB