I'm having a hell of a time getting this to work...  Any suggestions?

I have two systems that have dedicated IP addrs running "ppp -auto" to and
from each other.  The connections work, everything syncs up, life is
good.  However:

After the first time PPP makes a successful connection, one of the two
systems (the one making the call) decides that it's local IP should be
10.100.4.1 (example), which IS the proper IP addr for that machine.  (The
IP addr is 10.0.0.1 when PPP starts up on that box, as specified by the
"set ifaddr" line.)  When the session hangs up, the tun0 iface controlled
by "ppp -auto" retains that addr, not returning to 10.0.0.1.  Problem is,
when the other machine calls in, the incoming connection on the first
machine decides that the 10.100.4.1 addr is already used by tun0, and
syslogs:

(tun1 is the incoming connection)

Dec 26 03:13:08 devel208 ppp[1111]: tun1: IPCP: myaddr 10.100.4.1 hisaddr
= 10.100.1.1
Dec 26 03:13:08 devel208
ppp[1111]: tun1: Error: iface_inAdd: ioctl(SIOCAIFADDR): 10.100.4.1: File
exists
Dec 26 03:13:08 devel208 ppp[1111]: tun1: Error: ipcp_InterfaceUp: unable
to set ip address
Dec 26 03:13:08 devel208
ppp[1111]: tun1: IPCP: deflink: LayerDown: Interface configuration error !

...I understand WHY this is blowing up, but so far, I haven't found a way
to fix it.

Any ideas?

-- mike




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to