Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 19:23:34 +0100
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Pablo Delgado" <drako300@hotmail.com>, <freebsd-questions@FreeBSD.ORG>
Cc:        "Jonathan Chen" <jonc@chen.org.nz>
Subject:   Re: GATEWAY PROBLEMS
Message-ID:  <004d01c2073d$f1c34160$c800a8c0@p1000>
References:  <OE48TmXuldbjZj8RfDy00001aca@hotmail.com> <20020529181950.A8292@grimoire.chen.org.nz> <OE49ka1cK4hys8DoveG00005c91@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <drako300@hotmail.com>
To: <freebsd-questions@FreeBSD.ORG>
Cc: "Jonathan Chen" <jonc@chen.org.nz>
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" <jonc@chen.org.nz>
> To: "Pablo Delgado" <drako300@hotmail.com>
> Cc: <freebsd-questions@FreeBSD.ORG>
> 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 <jonc@chen.org.nz>
> > ----------------------------------------------------------------------
> >                 "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004d01c2073d$f1c34160$c800a8c0>