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]

Re: connect() to machine outside local network



Nick Barnes <Nick.Barnes@pobox.com> writes:
> It seems to me that build_bootp_record() in network_support.c should
> 
>         add_tag(vp, TAG_GATEWAY, ...)
> 
> and that its failure to do so could account for my problems here.
> 
> This from single stepping through most of init_all_network_interfaces().

This is if it's statically configured, right?  You're right, that makes
perfect sense, I'll see to it.  BTW, full DHCP coming real soon...

	- Huge

> At 2000-07-12 17:26:43+0000, Cedric Berger writes:
> > That may mean that your default gateway is *not* on your local subnet.
> > Nick Barnes wrote:
> > 
> > > At 2000-07-12 14:36:47+0000, Nick Barnes writes:
> > > > connect() works OK for local machines but gives me EHOSTUNREACH
> > > > outside the local network.
> > >
> > > After some single-stepping in the TCP/IP stack, I think this is an
> > > eCos problem, not a problem with my local network.  rtalloc() inside
> > > ip_output() is returning 0.

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