Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 17:15:40 +0400
From:      Pavel Levshin <flicker@mariinsky.ru>
To:        stable@freebsd.org
Subject:   user-level ppp and address range
Message-ID:  <108682270763.20011019171540@mariinsky.ru>

next in thread | raw e-mail | index | archive | help
Hello,

It seemes like there are a problem in the user-level ppp. It assigns
the same IP from the range to two of concurrent connections;
therefore, second connection does not work.

What can I do with this?


Excerpts from the log:

Oct 19 00:05:48 finity ppp[97414]: Phase: Using interface: tun0
Oct 19 00:05:48 finity ppp[97414]: Phase: deflink: Created in closed state 
...
Oct 19 00:05:48 finity ppp[97414]: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
...
Oct 19 00:05:48 finity ppp[97414]: Command: incoming: set ifaddr 195.201.62.9 195.201.62.11-195.201.62.15 255.255.255.255
Oct 19 00:05:48 finity ppp[97414]: IPCP: Selected IP address 195.201.62.12 
...
Oct 19 01:53:40 finity ppp[98580]: Phase: Using interface: tun1
Oct 19 01:53:40 finity ppp[98580]: Phase: deflink: Created in closed state 
...
Oct 19 01:53:40 finity ppp[98580]: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
...
Oct 19 01:53:40 finity ppp[98580]: Command: incoming: set ifaddr 195.201.62.9 195.201.62.11-195.201.62.15 255.255.255.255
Oct 19 01:53:40 finity ppp[98580]: IPCP: Selected IP address 195.201.62.12 
...
Oct 19 01:54:56 finity ppp[98580]: IPCP: Connect time: 74 secs: 1175 octets in, 0 octets out
Oct 19 01:54:56 finity ppp[98580]: IPCP: : 10 packets in, 0 packets out 
...
Oct 19 02:15:27 finity ppp[97414]: IPCP: Connect time: 7774 secs: 2328528 octets in, 14736543 octets out
Oct 19 02:15:27 finity ppp[97414]: IPCP: : 31629 packets in, 32645 packets out 



My setup (slightly modified today, as I tried to get it work) is as follows:

FreeBSD 4.4-RC (28 Aug), mgetty, user-land ppp.

===ppp.conf===

default:

 set log Phase Chat Connect lcp ipcp ccp command
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set timeout 600
 enable pap
 enable chap
 accept dns
 set dns 195.201.62.2

incoming:
 set ifaddr 195.201.62.9 195.201.62.11-195.201.62.15 255.255.255.255
 enable proxy
===ppp.conf===

===ppplogin===
#!/bin/sh

/usr/sbin/ppp -direct incoming
===ppplogin===


--
WBR, Pavel          mailto:flicker@mariinsky.ru    icq:52216261


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?108682270763.20011019171540>