From owner-freebsd-questions Tue Sep 25 5:14: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cult.cu (mail.cult.cu [169.158.120.2]) by hub.freebsd.org (Postfix) with ESMTP id 3961737B437 for ; Tue, 25 Sep 2001 05:13:40 -0700 (PDT) Received: from mail by mail.cult.cu with local-bsmtp (Exim 3.03 #2) id 15lr5k-0006i8-00 for freebsd-questions@freebsd.org; Tue, 25 Sep 2001 08:13:36 -0400 Received: from [169.158.120.178] (helo=mail.atenas.cult.cu) by mail.cult.cu with esmtp (Exim 3.03 #2) id 15lr5b-0006he-00 for freebsd-questions@freebsd.org; Tue, 25 Sep 2001 08:13:27 -0400 Received: from mail.atenas.cult.cu ([169.158.120.179] helo=atenas.cult.cu) by mail.atenas.cult.cu with esmtp (Exim 3.22 #2) id 15lrFc-0005kV-00 for freebsd-questions@FreeBSD.ORG; Tue, 25 Sep 2001 08:23:48 -0400 Message-ID: <3BB0753B.77135D8F@atenas.cult.cu> Date: Tue, 25 Sep 2001 08:14:51 -0400 From: manolo valdes Organization: Cultura Provincial Matanzas X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Gateway? (I read all TFM's - really!) References: <20010924182733.K977-100000@big> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 you are using non routeables ip address so you need to implement NAT on big and compile de kernel for it. greetings Manolito "P. U. (Uli) Kruppa" wrote: > > On Mon, 24 Sep 2001, Joe Clarke wrote: > > > Did you put the following in /etc/rc.conf: > > > > gateway_enable="YES" > > > > on big? > Yes! > > > What do you have configured on small with reagrds to /etc/resolv.conf > > (i.e. DNS servers)? > domain pukruppa.de > nameserver 192.168.10.1 > > (My machines' full names are small.pukruppa.de and > big.pukruppa.de , these names also can be pinged by both.) > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message