From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 17:24:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDACE16A4BF for ; Wed, 20 Aug 2003 17:24:45 -0700 (PDT) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE4143FE3 for ; Wed, 20 Aug 2003 17:24:44 -0700 (PDT) (envelope-from pinhead@stdin.stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id 56D5A15359; Wed, 20 Aug 2003 22:54:03 +0200 (CEST) Date: Wed, 20 Aug 2003 22:54:03 +0200 From: Toni Schmidbauer To: questions@FreeBSD.org Message-ID: <20030820205403.GA56766@devil.stderror.at> Mail-Followup-To: questions@FreeBSD.org References: <000801c36716$31d3ee60$c90a0a0a@marcelom> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <000801c36716$31d3ee60$c90a0a0a@marcelom> User-Agent: Mutt/1.4.1i Subject: Re: multiples gateways X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 00:24:46 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 20, 2003 at 09:25:47AM -0300, Marcelo Massel wrote: > I =B4 m using freebsd 5.0 and I need to know if it=B4s possible to u= se more than one gateway?. I have two ethernet interfaces one with 10.10.10= .254/24 and one with the 10.10.50.254/24 which are the gateways for two di= fferents LANs .if its posible to do it, how could i do it? if i understand you correctly, 10.10.10.254 is the gw for the 10.10.10.0/24 network and 10.10.50.254 is the gw for the 10.10.50.0/24 net. and you would like to connect these two networks. so the only thing you have to do is enable ip-forwarding via "sysctl -w net.inet.ip.forwarding=3D1" and change the appropriate line in /etc/sysctl.conf (man 5 sysctl.conf). hth, toni --=20 Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at= =20 lieber gar nicht, als dass man verurteile. | Toni Schmidbauer -- Rudolf Steiner |=20 --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/Q9/qu/mjSj7RMocRAtWZAJ0YVeHhBkdic+iaGOD+cD5Ycb0BGwCfTwpR Sl1eBwmhz5wlHpNeAZMtmL8= =vq+O -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--