[Openswan Users] Heartbeat and l2tp

James james at nttmcl.com
Fri Jun 22 19:03:37 EDT 2007


Hi guys i have an issue with heartbeat and l2tp
i have heartbeat setup to take control of xxx.xxx.1.3
the real internal ip of the itnerface is xxx.xxx.1.4
i set ipsec.conf left = xxx.xxx.1.3
i set l2tpd.conf local ip = xxx.xxx.1.3

i notice that when i try connecting with a winxp client using those 
settings it never gets to the l2tp authentiation stage
a tcpdump shows some of these:
xxx.xxx.xxx.xxxx L2TP Control Message - StopCCN

haresources looks like :
hostname xxx.xxx.1.3 ipsec

ha.cf looks like:
/logfile         /var/log/ha-log
logfacility     daemon
keepalive 1
deadtime 10
warntime 5
initdead 120 # depend on your hardware
udpport 694
ping xxx.xxx.xxx.1
bcast eth0
bcast eth1
auto_failback on
node    hostname
node    hostname
respawn hacluster /usr/lib/heartbeat/ipfail
use_logd yes/

l2tpd looks like:
/[global]
auth file = /etc/l2tpd/l2tp-secrets

[lns default]
ip range = xxx.xxx.xxx.20-xxx.xxx.xxx.25
local ip = xxx.xxx.1.3
require chap = yes
refuse pap = yes
require authentication = yes
name = hostname
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd.lns
length bit = yes/


any help would be great
TIA



More information about the Users mailing list