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

Re: 6to4 problem






On Mon, 12 Aug 2002, Indra Kusuma wrote:

> # 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

I was just following howto and your instructions ;-)

>
> # 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 :

If I really want? Is there any other way than specifying 6to4 relay for
IPv6-in-IPv4 packets? Isn't that needed to communicate to 6bone (3ffe::)?

> 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

Okay, now I tried that (local any and local 193.166.92.78). Still ping6
doesn't work. However, tcpdump shows that I get reply BUT ping6 do not get it.


ping6:

08:49:33.274608 e272.w3.ton.tut.fi > 192.88.99.1: 2002:c1a6:5c4e::1 >
apple.kame.net: icmp6: echo request (encap)
08:49:33.592821 kddilab.6to4.jp > e272.w3.ton.tut.fi: apple.kame.net >
2002:c1a6:5c4e::1: icmp6: echo reply (encap)

What might cause that? Something between eth0 and tunnel?

I have a hole in firewall for IPv6 so that it won't be blocked.
$IPTABLES -I INPUT -j ACCEPT --proto 41


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

tcpdump doesn't show any replies for traceroute..


br,

 ***   ***   ***   ***   ***   ***   ***   ***   ***   ***   ***
*         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: