This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: connect() to machine outside local network
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] connect() to machine outside local network
- From: Hugo 'NOx' Tyson <hmt at cygnus dot co dot ukx>
- Date: 14 Jul 2000 13:19:33 +0100
- Newsgroups: cygnus.sourceware.ecos.d
- Organization: Cygnus Solutions, a Red Hat company (Cambridge, UK)
- References: <9513.963574635@raven.ravenbrook.com>
- Reply-To: ecos-discuss at sources dot redhat dot com
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.