From owner-freebsd-questions Wed May 29 11:24:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow035o.blueyonder.co.uk [195.188.53.121]) by hub.freebsd.org (Postfix) with ESMTP id 3D62C37B415 for ; Wed, 29 May 2002 11:23:56 -0700 (PDT) Received: from pcow035o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 29 May 2002 19:23:55 +0100 Received: from gdmckee.local (unverified [62.30.47.46]) by pcow035o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id for ; Wed, 29 May 2002 19:23:54 +0100 Received: from [192.168.0.200] (helo=p1000) by gdmckee.local with smtp (Exim 3.36 #1) id 17D86Z-0005Qe-00; Wed, 29 May 2002 19:23:27 +0100 Message-ID: <004d01c2073d$f1c34160$c800a8c0@p1000> From: "G D McKee" To: "Pablo Delgado" , Cc: "Jonathan Chen" References: <20020529181950.A8292@grimoire.chen.org.nz> Subject: Re: GATEWAY PROBLEMS Date: Wed, 29 May 2002 19:23:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Hi On your gateway machine you don't want a default gateway as when you dial the internet the default gateway should be out there somewhere - at your ISP! On the other machines behind your FreeBSD box then set the default gateway to be the internal ip address of the FreeBSD Gateway box - 192.168.1.1. Trust this helps Gordon ----- Original Message ----- From: "Pablo Delgado" To: Cc: "Jonathan Chen" Sent: Wednesday, May 29, 2002 5:16 PM Subject: Re: GATEWAY PROBLEMS > There are three computers total: Internal IP > 1) FreeBsd Gateway Machine 192.168.1.1 > 2) FreeBSD Workstation 192.168.1.2 > I am using dial-up as internet uplink. > > > The contents of the rc.conf on the gateway machine: > # -- sysinstall generated deltas -- # Tue Mar 19 00:54:32 2002 > # Created: Tue Mar 19 00:54:32 2002 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > gateway_enable="YES" > hostname="localhost" > inetd_enable="YES" > kern_securelevel_enable="NO" > linux_enable="YES" > moused_enable="YES" > nfs_reserved_port_only="YES" > sendmail_enable="YES" > sshd_enable="YES" > # -- sysinstall generated deltas -- # Tue Mar 19 02:14:45 2002 > ifconfig_de0="inet 192.168.1.1 netmask 255.255.255.0" > defaultrouter="192.168.1.1" > will be bringing in aprox. 2 other computers. > The other workstations is connected directly to the gateway machine though a > crossover cable. > > NOTE: There is good connection and I will be bringing in aprox. 2 other > computers. > > > > > > > ----- Original Message ----- > From: "Jonathan Chen" > To: "Pablo Delgado" > Cc: > Sent: Wednesday, May 29, 2002 2:19 AM > Subject: Re: GATEWAY PROBLEMS > > > > On Wed, May 29, 2002 at 01:35:45AM -0400, Pablo Delgado wrote: > > > I have been trying to setup my FreeBSD machine to act as a gateway. > > > After reading many tutorials nothing seems to work. I have tried by > > > enable_gateway="YES" in /etc/rc.conf. But that still doesn't work. If I > > > am missing something or have a different suggestion please let me know. > > > > You haven't given us enough information. Network description, interfaces, > > and as much info about your setup is required before we can help you. > > Start with giving us the contents of your /etc/rc.conf. > > -- > > Jonathan Chen > > ---------------------------------------------------------------------- > > "If everything's under control, you're going too slow" > > - Mario Andretti > > > > 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