From owner-freebsd-isp Thu Aug 12 2:57:40 1999 Delivered-To: freebsd-isp@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 701EF14DBE for ; Thu, 12 Aug 1999 02:57:35 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id MAA01408 for ; Thu, 12 Aug 1999 12:58:35 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <37B29AC9.124CF65E@prime.net.ua> Date: Thu, 12 Aug 1999 12:58:34 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en, ru, uk MIME-Version: 1.0 To: freebsd-isp@freebsd.org Subject: Problem with aliasing unregistered IPs on dialup server. Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi everybody, I'm trying to configure dialup ppp server to assign unregistered IP to dialup clients. Before begining this process clients was assigned real IPs per ttyd* basis. All the changes I made was entry for one of the clients in ppp.secret like this: testclient * 10.0.0.1 * to override "set iffaddr" statements in ppp.conf's profiles like this: default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa1 set speed 57600 accept pap enable pap # enable alias yes # alias unregistered_only yes # alias addr REALSERVERIP 10.0.0.1 enable passwdauth allow user * allow mode direct set timeout 0 accept dns ttyd1: set ifaddr SERVERREALIP CLIENTREALIP1 [..] ttydN: set ifaddr SERVERREALIP CLIENTREALIPN ppp starts like "ppp -direct $TTYN" from ppplogin.sh. Also I've tried commented commands in ppp.conf. The result was that client could communicate only with hosts on the same subnet as dialup server was but not with hosts on another subnets of my network and naturally not with the rest of Internet. I've investigated that packets from client went outside with 10.0.0.1 source address w/o being aliased. And this is a reason of why client cannot communicate with the rest of Internet. Who can point me right way to force aliasing of unregistered IPs? Thank U in advance. -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message