Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 11:08:39 -0500
From:      Greg Putrich <gregp@n0qds.org>
To:        Alex Povolotsky <tarkhil@over.ru>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: Problem with two interfaces
Message-ID:  <20010726110839.A71142@skeezix.n0qds.org>
In-Reply-To: <3B603FBC.E909C7D7@i-clue.de>; from so@server.i-clue.de on Thu, Jul 26, 2001 at 06:05:16PM %2B0200
References:  <20010726194841.A3351@runaway.2sun.ru> <3B603FBC.E909C7D7@i-clue.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726110839.A71142>