Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jun 2000 11:34:26 -0700
From:      "Raymundo M. Vega" <RaymundoVega@home.com>
To:        Massimo De Giorgi <madg66@libero.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: no route to host
Message-ID:  <393E95B2.68BD0F07@home.com>
References:  <000201bfd07a$bce56140$beb82397@oemcomputer>

next in thread | previous in thread | raw e-mail | index | archive | help
Massimo De Giorgi wrote:
> 
> Hello.
> 
> In /etc/host.conf I have just one line:
>     hosts
> In /etc/hosts two lines:
>     127.0.0.1        localhost......my_pc_name
>     10.0.0.1          my_pc_name
> 
> Now, wichever "network" command I type in
> ( I mean telnet, ping etc...) I get
>     no route to host
> if I use the host address 10.0.0.1.
> Things go smoothly with 127.0.0.1 and
> my_pc_name.
> Is there anything wrong ?

what is the address of the gateway? once you have that address
type (as root):

route add default <gateway IPaddress>

raymundo.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393E95B2.68BD0F07>