From owner-freebsd-isp Thu Aug 12 13:31:41 1999 Delivered-To: freebsd-isp@freebsd.org Received: from P1M13.prime.net.ua (P1M13.prime.net.ua [195.64.229.45]) by hub.freebsd.org (Postfix) with ESMTP id 9AB1414C83 for ; Thu, 12 Aug 1999 13:31:18 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by andyo.prime.net (8.9.3/8.8.7) with ESMTP id XAA00385; Thu, 12 Aug 1999 23:09:57 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <37B32A12.6369EC44@prime.net.ua> Date: Thu, 12 Aug 1999 23:09:54 +0300 From: "Andy V. Oleynik" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: ru, en, uk MIME-Version: 1.0 To: Brian Somers Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Problem with aliasing unregistered IPs on dialup server. References: <199908121527.QAA03980@keep.lan.Awfulhak.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brian Somers wrote: > > > > 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 > [.....] > > Sounds like your Internet gateway doesn't know how to route 10.0.0.1 > to your ppp server. > No, it knows. I can ping from client ppp server and other hosts residing on the same ethernet in the same subnet can too . Also I can reach 10.0.0.1 client from ppp server and these hosts. I understand that while ppp-server has direct route to the client and other hosts on the ether have this ppp-server as defaultrouter they can reach client. But hosts from outside this subnet, such as host that is defaultrouter for my ppp-server doesnt know how to reach 10.0.0.0/24 hosts and they sends their repleys to their defaultrouters - checked with tcpdump. And my question was why ppp doesnt alias the packets from unregistered networks. I think ppp have to works like natd in this case. I.e. every packet from unregistered have to be resent to destination by ppp with its own addr. And answers have to be retransmitted to the client. Isnt it? What is the reason of my failure? > -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money Ã%o) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message