Trouble with aiccu / ayiya after DSL disconnect
Shadow Hawkins on Wednesday, 07 April 2010 22:09:12
Hi,
I have a opensuse 11.2 with aiccu and an ayiya tunnel set up, and upon starting aiccu the tunnel works fine, i can reach ipv6 outside and am pingable on my ipv6 address. The machine is connected via a standard linksys/cisco DSL router with NAT. After my provider disconnects the DSL line (every 24h hours) however, the tunnel stops working. i assumed the ayiya setup was perfect for such a setup as it would automatically adjust the tunnel upon ip change.
I use a softbridge inside the linux box, br0, where my eth0 device is attached to (and some other tap drivers, mainly used by virtual machines).
to debug, i disabled daemonize and started aicci in a screen session, however all output is done right after aiccu start, after DSL line no output is added, syslog also does not report anything from aiccu.
Logged output:
sock_printf() : "tunnel show T15287"
sock_getline() : "201 Showing tunnel information for T15287"
sock_getline() : "TunnelId: T15287"
sock_getline() : "Type: ayiya"
sock_getline() : "IPv6 Endpoint: 2a01:198:200:a0::2"
sock_getline() : "IPv6 POP: 2a01:198:200:a0::1"
sock_getline() : "IPv6 PrefixLength: 64"
sock_getline() : "Tunnel MTU: 1280"
sock_getline() : "Tunnel Name: Orion"
sock_getline() : "POP Id: dedus01"
sock_getline() : "IPv4 Endpoint: ayiya"
sock_getline() : "IPv4 POP: 91.184.37.98"
sock_getline() : "UserState: enabled"
sock_getline() : "AdminState: enabled"
sock_getline() : "Password: (removed)"
sock_getline() : "Heartbeat_Interval: 60"
sock_getline() : "202 Done"
Succesfully retrieved tunnel information for T15287
sock_printf() : "QUIT Tschussss..."
Tunnel Information for T15287:
POP Id : dedus01
IPv6 Local : 2a01:198:200:a0::2/64
IPv6 Remote : 2a01:198:200:a0::1/64
Tunnel Type : ayiya
Adminstate : enabled
Userstate : enabled
[AYIYA-start] : Anything in Anything (draft-02)
[AYIYA-tun->tundev] : (Socket to TUN) started
My aiccu.conf:
username TDZ4-SIXXS
password (removed)
ipv6_interface sixxs
tunnel_id T15287
verbose true
# only for debugging, usually true
daemonize false
setupscript /usr/local/etc/aiccu-subnets.sh
automatic true
requiretls false
the aiccu-subnets.sh script i use to add the subnet
# add subnet to br0
ip addr add 2a01:198:26c:1::/64 dev br0
Has anybody an idea why it stops working after the DSL disconnect? any help appreciated,
greetings
Timo
Trouble with aiccu / ayiya after DSL disconnect
Shadow Hawkins on Wednesday, 07 April 2010 22:14:59
as i see now after reading my post again, it makes no sense in the setup-subnet.sh script to add the subnet to the br0 device, should be sixxs. however whe i refered to "the tunnel works" i tested using the endpoint ip as source/target: 2a01:198:200:a0::2
anyways dont think the problem is related to that, is it?
Posting is only allowed when you are logged in. |