From owner-freebsd-stable Thu Jul 26 9: 8:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from skeezix.n0qds.org (skeezix.n0qds.org [204.246.69.106]) by hub.freebsd.org (Postfix) with ESMTP id 6549837B403; Thu, 26 Jul 2001 09:08:46 -0700 (PDT) (envelope-from gregp@n0qds.org) Received: by skeezix.n0qds.org (Postfix, from userid 501) id DA97FC9; Thu, 26 Jul 2001 11:08:39 -0500 (CDT) Date: Thu, 26 Jul 2001 11:08:39 -0500 From: Greg Putrich To: Alex Povolotsky Cc: freebsd-stable@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Problem with two interfaces Message-ID: <20010726110839.A71142@skeezix.n0qds.org> References: <20010726194841.A3351@runaway.2sun.ru> <3B603FBC.E909C7D7@i-clue.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B603FBC.E909C7D7@i-clue.de>; from so@server.i-clue.de on Thu, Jul 26, 2001 at 06:05:16PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After you enabled the gateway option, did you reboot? You can check to see if forwarding is enabled: # sysctl net.inet.ip.forwarding If it returns 0, then no forwarding. 1 it is forwarding (and the problem rests elsewhere). If it's 0, either reboot or type: # sysctl -w net.inet.ip.forwarding=1 > Alex Povolotsky wrote: > > > > Hello! > > > > A friend of mine (he recalls installation and patching of 386BSD 0.02) > > asks me about the following problem: > > > > FreeBSD 4.3-RELEASE, ISO image fetched from ftp.freebsd.org; > > > > Box with two NICs, fxp and CNet on Macronix chipset (former mx). > > > > Gateway IS enabled. Both interfaces works, no firewall installed. Box > > can be seen from both interfaces, but it does not route. > > > > What can be wrong? -- -------------------------------------------------------------------------- Greg Putrich - Internet: gregp@n0qds.org [sk] "I will not be pushed, filed, stamped, indexed, briefed, debriefed, or numbered. My life is my own." - No. 6 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message