SixXS::Sunset 2017-06-06

static tunnel failing
[de] Shadow Hawkins on Sunday, 18 October 2009 20:44:32
Hi. I've setup a static tunnel to sixxs on my WRT54GL running OpenWRT KAMIKAZE (bleeding edge, r18053). It is working as long as i keep pinging some hosts
# ping6 ipv6.google.com PING ipv6.google.com (2001:4860:a003::68): 56 data bytes 64 bytes from 2001:4860:a003::68: seq=0 ttl=55 time=48.334 ms
but some time after that, my wrt54gl stops responding to request from the outside (packet loss in tunnel statistic moves back to 100%). Issuing a new ping from the device revives the tunnel for another couple of minutes. the tunnel is set up by a start script in init.d:
#!/bin/sh /etc/rc.common LOCALIP=85.xxx.xxx.xxx POPIP=212.224.0.188 LOCTUN=2001:xxx:xxx:xxx:xxx:2 REMTUN=2001:xxx:xxx:xxx:xxx:1 START=50 start() { echo -n "Starting sixxs: " ip tunnel add sixxs mode sit local $LOCALIP remote $POPIP ip link set sixxs up ip link set mtu 1280 dev sixxs ip tunnel change sixxs ttl 64 ip -6 addr add $LOCTUN/64 dev sixxs ip -6 ro add default via $REMTUN dev sixxs echo "Done." }
ifconfig says:
br-lan Link encap:Ethernet HWaddr 00:1C:10:XX:XX:XX inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::200:ff:XXX:XXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6036159 errors:0 dropped:0 overruns:0 frame:0 TX packets:6221330 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1881208826 (1.7 GiB) TX bytes:1154133719 (1.0 GiB) eth0 Link encap:Ethernet HWaddr 00:1C:10:XX:XX:XX inet6 addr: fe80::21c:10ff:XXX:XXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6254947 errors:0 dropped:0 overruns:0 frame:0 TX packets:6054892 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1256864891 (1.1 GiB) TX bytes:2066440404 (1.9 GiB) Interrupt:4 eth0.0 Link encap:Ethernet HWaddr 00:1C:10:XX:XX:XX inet6 addr: fe80::21c:10ff:XXX:XXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5113 errors:0 dropped:0 overruns:0 frame:0 TX packets:10359 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:929848 (908.0 KiB) TX bytes:5156018 (4.9 MiB) eth0.1 Link encap:Ethernet HWaddr 00:1C:10:XX:XX:XX inet6 addr: fe80::21c:10ff:XXX:XXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6249811 errors:0 dropped:0 overruns:0 frame:0 TX packets:6044296 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1143375866 (1.0 GiB) TX bytes:2036674833 (1.8 GiB) 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:72 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11753 (11.4 KiB) TX bytes:11753 (11.4 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:85.XXX.XXX.XXX P-t-P:213.XXX.XXX.XXX Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:6238372 errors:0 dropped:0 overruns:0 frame:0 TX packets:6033057 errors:0 dropped:47 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1067939224 (1018.4 MiB) TX bytes:1879433053 (1.7 GiB) sixxs Link encap:IPv6-in-IPv4 inet6 addr: 2001:XXX:XXX:XXX:XXX:2/64 Scope:Global inet6 addr: fe80::55b7:129a/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1 RX packets:210 errors:0 dropped:0 overruns:0 frame:0 TX packets:210 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:21768 (21.2 KiB) TX bytes:26112 (25.5 KiB) wl0 Link encap:Ethernet HWaddr 00:1C:10:XX:XX:XX inet6 addr: fe80::21c:10ff:XXX:XXX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6129473 errors:0 dropped:0 overruns:0 frame:602825 TX packets:6320742 errors:22 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2062455074 (1.9 GiB) TX bytes:1298727377 (1.2 GiB) Interrupt:2 Base address:0x5000
I think this may be an iptables issue, but i dont know where to start. Any hints? I'd like to keep this tunnel up to earn enough point for a subnet :) TIA Robert
static tunnel failing
[de] Shadow Hawkins on Sunday, 18 October 2009 20:47:22
Oh, i forgot, im on pppoe dial-up with an static ip. the router is also doing nat for my machines in the lan.
static tunnel failing
[ch] Jeroen Massar SixXS Staff on Sunday, 18 October 2009 23:20:10

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker