This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A basic question on IP Forwarding


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]