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

Re: Newbie help/Tunnel problem



On Fri, Nov 16, 2001 at 11:03:45AM +0800, Rick wrote:
>  I want to set a tunnel to connect with others.
> My site:  IPv4  210.30.17.57
> 	   IPv6  3ffe:321e:1:181::2
> Remote site:   IPv4 202.38.99.1
> 	   IPv6 3ffe:321e:1:181::1
> 
> And my /etc/network/interfaces files
> ---------------------------------------
>     iface lo inet loopback
> 
>     iface eth0 inet static
>       address 210.30.17.57
>       netmask 255.255.255.0
>       gateway 210.30.17.254
> 
>     iface eth0 inet6 static
>       address 3ffe:321e:1:181::2
>       netmask 64
>       gateway 3ffe:321e:1:181::1

Why not put in:

iface mytunnel inet6 v4tunnel
      address 3ffe:321e:1:181::2
      netmask 64
      endpoint 202.38.99.1
      up ip route add 2000::0/3 via 3ffe:321e:1:181::1

> sit1      Link encap:IPv6-in-IPv4
>           inet6 addr: 3ffe:321e:1:181::2/64 Scope:Global
>           inet6 addr: fe80::d21e:1139/10 Scope:Link
>           UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>  And the result of ping6
>  # ping6 3ffe:321e:1:181::1
> PING 3ffe:321e:1:181::1(3ffe:321e:1:181::1) 56 data bytes
> >From ::1: Destination unreachable: Address unreachable
Hmm, it means 'i don't know how to get there'.  Try using the above
config, then you might like to look at the kernel autoconfig parameters.

Possibly forwarding is needed too.

  - Craig
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/        <csmall@eye-net.com.au>
MIEEE <csmall@ieee.org>                 Debian developer <csmall@debian.org>



Reply to: