Re: no route to host



On 2006-07-22, davids@xxxxxxxxxxxxx <davids@xxxxxxxxxxxxx> wrote:

jasen wrote:

I notice the same behavior with ping (netkit) , once it's done
"no route to host" once it'll never work again. again, restarting
it or starting a new instance will work once the route is restored.

You are giving us no information that we could use to help you. You are
talking about a problem in a program you wrote and all you tell us it
that it won't work until you restart it. But what does "won't work"
mean?

the error is "no route to host" (as I said above) according to perror(in the
pesudocode) I think that means ENETUNREACH

Does a particular function give you an error return? If so, what
function and what error? Where does it first go wrong?

How far does it get?

as far as connect(). (socket() and gethostbyname() work ...)

Bye.
Jasen
.



Relevant Pages

  • Re: Getting "ICMP Host redirect from gateway" response
    ... I tried and succeeded in getting a REDIRECT response, ... I added a route with 192.168.0.10 as a gateway to a local host ...
    (comp.os.linux.networking)
  • ath0 pain on visiting network
    ... ping: sendto: No route to host ...
    (freebsd-current)
  • CISCO 2600 - routing problem
    ... I have Internet access from both the router and the host with static ... but with static route over cable modem: ... I can ping Internet only from router not from ...
    (comp.dcom.sys.cisco)
  • Re: Cannot open link on college web course page...
    ... Then the route from you to their host is broken. ... Each routing table gets updated with a path through the next host to get to the target but it is not dynamically updated, like when there is a host down in the path. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • CISCO 2600 - routing problem
    ... I have Internet access from both the router and the host with static ... but with static route over cable modem: ... I can ping Internet only from router not from ...
    (comp.dcom.sys.cisco)