Subject: VPN / PPTP problem
To: None <netbsd-help@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-help
Date: 07/08/2006 00:39:29
Hi all.
I access to internet through VPN/PPTP server.
Recently I tried to switch to another ISP
and have some troubles with it.

Minimal subset of my config look like this:

%%%%%%%%%%% /etc/ppp/peers/provider2:
debug
name cheusov
pty "/usr/pkg/sbin/pptp 217.21.51.32 --nolaunchpppd"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

After '/usr/sbin/pppd provider2'
I have the following outputn from 'ifconfig -a'

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::2e0:4cff:fe14:2ed1%ppp0 ->  prefixlen 64 scopeid 0x3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

and the following /var/log/message

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Jul  8 00:32:01 chen pppd[6708]: Connect: ppp0 <--> /dev/ttyp2
Jul  8 00:32:01 chen pptp[5726]: anon log[main:pptp.c:264]: using remote IP address 217.21.51.32 
Jul  8 00:32:01 chen pptp[5726]: anon log[main:pptp.c:269]: The synchronous pptp option is NOT activated 
Jul  8 00:32:01 chen pptp[7026]: anon log[pptp_conn_open:pptp_ctrl.c:294]: sending start ctrl conn rqst
Jul  8 00:32:01 chen pptp[7026]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' 
Jul  8 00:32:02 chen pptp[7026]: anon log[ctrlp_disp:pptp_ctrl.c:763]: Received Start Control Connection Reply: v256 rcode 1 ecode 0 fcap 3 bcap 3 chans 0 fw 1200 host `Cisco7200-2' vendor `Cisco Systems, Inc.'
Jul  8 00:32:02 chen pptp[7026]: anon log[ctrlp_disp:pptp_ctrl.c:798]: Client connection established.
Jul  8 00:32:02 chen pptp[7026]: anon log[pptp_call_open:pptp_ctrl.c:370]: sending out call rqst
Jul  8 00:32:02 chen pptp[7026]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' 
Jul  8 00:32:02 chen pptp[7026]: anon log[ctrlp_disp:pptp_ctrl.c:920]: Received Outgoing Call Reply: id dec6 peer 0 result 1 err 0 cause 0 speed 64000 rsize 16 delay 0 channel 0
Jul  8 00:32:02 chen pptp[7026]: anon log[ctrlp_disp:pptp_ctrl.c:959]: Outgoing call established (call ID 0, peer's call ID 57030). 
Jul  8 00:32:02 chen pppd[6708]: CHAP authentication succeeded
Jul  8 00:32:02 chen pppd[6708]: Couldn't set interface address: Address 87.252.248.124 already exists
Jul  8 00:32:02 chen pppd[6708]: local  IP address 87.252.248.124
Jul  8 00:32:02 chen pppd[6708]: remote IP address 217.21.51.32
Jul  8 00:33:02 chen pptp[7026]: anon log[pptp_handle_timer:pptp_ctrl.c:1126]: sending echo request: 1
Jul  8 00:33:02 chen pptp[7026]: anon log[logecho:pptp_ctrl.c:679]: Echo Reply received.
Jul  8 00:34:02 chen pptp[7026]: anon log[pptp_handle_timer:pptp_ctrl.c:1126]: sending echo request: 2
Jul  8 00:34:02 chen pptp[7026]: anon log[logecho:pptp_ctrl.c:679]: Echo Reply received.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

What does the following line mean and how to fix this?
Jul  8 00:32:02 chen pppd[6708]: Couldn't set interface address: Address 87.252.248.124 already exists

pptp-1.7.0 is from pkgsrc.

-- 
Best regards, Aleksey Cheusov.