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


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)

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