No one has answered to me, so I have to ask again. Anyone, help me!


WBR, Pavel          mailto:[EMAIL PROTECTED]    icq:52216261


This is a forwarded message
From: Pavel Levshin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, October 19, 2001, 5:15:40 PM
Subject: user-level ppp and address range
===8<==============Original message text===============
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:[EMAIL PROTECTED]    icq:52216261

===8<===========End of original message text===========


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

Reply via email to