This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: A basic question on IP Forwarding
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Rohith <rohith dot tiru at analog dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 22 Dec 2004 09:23:39 +0100
- Subject: Re: [ECOS] A basic question on IP Forwarding
- References: <002a01c4e7ea$a20c86f0$8b0d790a@Rohithd01>
On Wed, Dec 22, 2004 at 11:23:59AM +0530, Rohith wrote:
> Hi,
> Is IP forwarding enabled by default in the FreeBSD tcp/ip stack for ecos?
> If not, how do i enable the same?
No, its disabled by default since most deeply embedded systems are not
gateways.
To enable it you need to set the global variable ipforwarding to true.
There are a number of ways you can do this, eg simply set it to 1, or
use the sysctrl interface to set it.
You will also need some way to setup the routes. There is currently no
routing daemon available for eCos, so you either have to use static
routers, or do some porting work.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss