Subject: Re: Couldn't set interface address: Address already exists
To: Denis Lagno <dilmah@post.ru>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 07/10/2006 09:05:02
On Jul 10, 12:14pm, dilmah@post.ru ("Denis Lagno") wrote:
-- Subject: Re: Couldn't set interface address: Address already exists

| > >I try to establish vpn connection to my provider via pppd 
| > >and pptp and I get that
| > >message from pppd:
| > >
| > ># pppd call corbina
| > >.......
| > >CHAP authentication succeeded
| > >.......
| > >Couldn't set interface address: Address 89.178.99.0 already exists
| > >local  IP address 89.178.99.0
| > >remote IP address 195.14.40.9
| > >primary   DNS address 195.14.50.1
| > >
| > >Does anybody have an idea how it can be solved and what 
| > >does it mean?
| 
| > What does your ppp configuration file look like? What is
| > the output of ifconfig -a before and after?
| 
| ifconfig -a after:
| 
| # ifconfig -a
| ex0: 
| flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> 
| mtu 1500
|          capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
|          enabled=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
|          address: 00:10:4b:67:87:27
|          media: Ethernet autoselect (100baseTX 
| full-duplex)
|          status: active
|          inet 10.239.17.213 netmask 0xffff0000 broadcast 
| 10.239.255.255
|          inet6 fe80::210:4bff:fe67:8727%ex0 prefixlen 64 
| scopeid 0x1
| ex1: 
| flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> 
| mtu 1500
|          address: 00:60:98:ef:e3:5d
|          media: Ethernet 100baseTX
|          status: active
|          inet 192.168.0.11 netmask 0xffffff00 broadcast 
| 192.168.0.255
|          inet6 fe80::260:98ff:feef:e35d%ex1 prefixlen 64 
| scopeid 0x2
| lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33192
|          inet 127.0.0.1 netmask 0xff000000
|          inet6 ::1 prefixlen 128
|          inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
| ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 
| 1400
|          inet6 fe80::210:4bff:fe67:8727%ppp0 ->  prefixlen 
| 64 scopeid 0x4
| 
| 
| ifconfig -a before is the same except ppp0 not present.
| 
| I do not remember exact ppp options, I'll send them later.
| 
| They are something like:
| 
| nodeflate
| nobsdcomp
| noauth
| pty "pptp xx.xx.xx.xx --nolaunchpppd"
| connect sh -c 'true'
| name dilmah
| remotename PPTP
| ipparam corbina


I don't know. I have not used pptp before. It could be that pptp configures
the network interface and pppd tries to do it again.

christos