Static tunnel stopped working
Shadow Hawkins on Monday, 29 August 2011 19:08:30
I've a static tunnel setup on a VPS server. It was working fine until last
reboot and for some reason it is not working anymore.
I reviewed the settings three times and can't tell what's wrong, so I'm asking for help. :)
There is some hopefully useful info:
/etc/network/interfaces:
(...)
auto sixxs
iface sixxs inet6 v4tunnel
address 2001:4978:f:50f::2
netmask 64
endpoint 216.14.98.22
ttl 64
up ip link set mtu 1280 dev sixxs
up ip route add default via 2001:4978:f:50f::1 dev sixxs
ping6 2001:4978:f:50f::1
PING 2001:4978:f:50f::1(2001:4978:f:50f::1) 56 data bytes
^C
--- 2001:4978:f:50f::1 ping statistics ---
17 packets transmitted, 0 received, 100% packet loss, time 16013ms
# ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:16:3e:8d:b9:b6 brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
6: sixxs@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 qdisc noqueue state UNKNOWN
link/sit 0.0.0.0 peer 216.14.98.22
# ip -6 route list
2001:4978:f:50f::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 hoplimit 4294967295
fe80::/64 dev eth0 metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 via :: dev sixxs metric 256 mtu 1280 advmss 1220 hoplimit 4294967295
default via 2001:4978:f:50f::1 dev sixxs metric 1024 mtu 1280 advmss 1220 hoplimit 4294967295
And finally ifconfig sixxs:
sixxs Link encap:IPv6 sobre IPv4
endereo inet6: 2001:4978:f:50f::2/64 Escopo:Global
endereo inet6: fe80::6008:7095/64 Escopo:Link
endereo inet6: fe80::6008:7099/64 Escopo:Link
UP POINTOPOINT RUNNING NOARP MTU:1280 Mtrica:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
colises:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:8097 (7.9 KiB)
Static tunnel stopped working
Jeroen Massar on Monday, 29 August 2011 20:59:06 link/sit 0.0.0.0 peer 216.14.98.22
You have no 'local' address configured there, while:
endereo inet6: fe80::6008:7095/64 Escopo:Link endereo inet6: fe80::6008:7099/64 Escopo:Link
Those two lines show that you have multiple IPv4 addresses configured 96.8.112.149 + 96.8.112.153
Try setting the local IPv4 on the tunnel that at least avoids that problem.
Just add 'local 96.8.112.149' to the tunnel definition in /etc/network/interfaces and ifdown/ifup the interface should do the trick.
Static tunnel stopped working
Shadow Hawkins on Monday, 29 August 2011 23:03:04
It worked just perfectly. Thanks a lot! :)
Posting is only allowed when you are logged in. |