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: Cedric Berger <cedric at berger dot to>
- Subject: Re: [ECOS] connect() to machine outside local network
- From: Nick Barnes <Nick dot Barnes at pobox dot com>
- Date: Fri, 14 Jul 2000 12:37:15 +0100
- cc: ecos-discuss at sourceware dot cygnus dot com
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().
nick B
At 2000-07-12 17:26:43+0000, Cedric Berger writes:
> That may mean that your default gateway is *not* on your local subnet.
>
> Cedric
>
>
> 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.
> >
> > I don't have a clear understanding of the route datastructures (in
> > route.c and radix.c), but I can do more single-stepping if that would
> > help.
> >
> > Nick B
> >
> > --
> > FreeBSD 2.2.8-RELEASE: up 10 days, 21:57
> > Last reboot due to lightning strike.
>
>
--
FreeBSD 2.2.8-RELEASE: up 12 days, 17:24
last reboot Sat Jul 1 19:26 (lightning strike)