[6bone] IPv6 via NAT - problems

Jeroen Massar jeroen@unfix.org
Mon, 21 Oct 2002 22:31:01 +0200


Jeremy Worrells wrote:

<SNIP>
> 11:33:50.929054 worrells.dsl.xmission.com > www.freenet6.net:
> jworrells.tsps1.freenet6.net > 
> 3ffe:505:2008:1:2e0:18ff:fea8:4533: icmp6:
> echo request (encap)
> 11:33:51.358566 www.freenet6.net > 172.16.0.4:
> 3ffe:505:2008:1:2e0:18ff:fea8:4533 > 
> jworrells.tsps1.freenet6.net: icmp6:
> echo reply (encap)

Tunnel endpoint is 172.16.0.4 but:

<SNIP>

> gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>         tunnel inet 166.70.27.6 --> 206.123.31.114
>         inet6 fe80::203:47ff:fe98:96f5%gif0 prefixlen 64 scopeid 0x7
>         inet6 3ffe:b80:2:f1a6::2 --> 3ffe:b80:2:f1a6::1 prefixlen 128

It's configured as 166.70.27.6.

Change that and it will work:
ifconfig gif0 tunnel 172.16.0.4 206.123.31.114

The kernel throws away your packets as the local endpoint doesn't match.

Greets,
 Jeroen