[ECOS] A basic question on IP Forwarding

Andrew Lunn andrew@lunn.ch
Wed Dec 22 08:24:00 GMT 2004

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

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.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list