From owner-freebsd-questions Tue Sep 25 11:47:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 3D5A437B446 for ; Tue, 25 Sep 2001 11:44:36 -0700 (PDT) Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15lxAL-000610-00 for freebsd-questions@freebsd.org; Tue, 25 Sep 2001 20:42:45 +0200 Received: from pd901720e.dip.t-dialin.net ([217.1.114.14]) by mrvdom02.schlund.de with esmtp (Exim 2.12 #2) id 15lxAK-0003pn-00 for freebsd-questions@FreeBSD.ORG; Tue, 25 Sep 2001 20:42:44 +0200 Date: Tue, 25 Sep 2001 18:42:12 +0000 (GMT) From: "P. U. (Uli) Kruppa" X-X-Sender: To: Subject: Re: Gateway? (I read all TFM's - really!) In-Reply-To: <20010924171955.T20039-100000@big> Message-ID: <20010925182354.A337-100000@big> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for your answers so far. As some of you suggested it seems a good idea to me to use user-ppp with -nat flag . I always started ppp with # ppp -ddial myconfig now I should use # ppp -nat -ddial myconfig but the result is the same as before (see my first letter at the end of this message). I had a look at # man ppp . It says, there could there could be two reasons for that 1) IP-forwarding must be activated in rc.conf ( that should be the line gateway_enable="YES" ) or 2) small has not designated big (the ppp-host) as gateway (how do I know ?) Still more thanks for all your answers. Uli. On Mon, 24 Sep 2001, P. U. (Uli) Kruppa wrote: > Please could someone tell me THE TRICK: > > This is my small home-lan: > > > > rl0 rl1 rl0 > *---------* *----------* > | small *-------* big *----* > *---------* *----------* | tun0 > 192.168.10.2 192.168.10.1 | > *---*-------* > | DSL-modem *-----* > *-----------* | > | > * > internet > > > small and big run FreeBSD4.3-RELEASE . small and big can > ping, ftp and telnet each other (by name as well as by > IP-address). big can reach the colourful world of the internet. > But: small cannot get there. > # ping www.freebsd.org > will result in > cannot resolve www.freebsd.org: hostname lookup failure > > I will give you the output of big's and small's > # netstat -r > > big: > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 217.5.116.17 UGSc 4 383 tun0 > localhost localhost UH 0 0 lo0 > 192.168.10 link#2 UC 0 0 rl1 > 217.5.116.17 pD90172ED.dip.t-di UH 5 0 tun0 > > small: > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default big UGSc 0 0 rl0 > localhost localhost UH 0 0 lo0 > 192.168.10 link#1 UC 1 0 rl0 > big 0:50:fc:3a:f1:1a UHLW 1 35 rl0 1200 > > > Thanks for your help. > (I hope I did not publish any sensitive data with this.) > > > Uli. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message