Newbie help/Tunnel problem
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
------------------------------------
then I running
#ifconfig sit0 up
#ifconfig sit0 tunnel ::202.38.99.1
#ifconfig sit1 up
#ifconfig sit1 add 3ffe:321e:1:181::2/64
And the following is the result of ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:C8:4B:8A:B5
inet addr:210.30.17.57 Bcast:210.30.17.255 Mask:255.255.255.0
inet6 addr: fe80::280:c8ff:fe4b:8ab5/10 Scope:Link
inet6 addr: 3ffe:321e:1:181::2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3064 errors:1 dropped:0 overruns:0 frame:0
TX packets:1058 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::210.30.17.57/96 Scope:Compat
UP 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
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
>From ::1: Destination unreachable: Address unreachable
>From ::1: Destination unreachable: Address unreachable
?--- 3ffe:321e:1:181::1 ping6 statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
The adminstrator of remote server hardly make mistake. So could someone tell me
why my tunnel could not work.
And why the inet6 address in sit0 is ::210.30.17.57/96,
not ::202.38.99.1/96.
BTW:another question,when I running
#ip tunnel add mytunl mode sit remote 202.38.99.1
#ip link set mytunl up
I got erroe:
SIOCGIFFLAGS: No such device
What is the problem?
Rick
hui@student.dlut.edu.cn
Reply to: