[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network config help needed



Yep, read Net-HOWTO, but still I can't get it to work. ...

Setting up the loopback and pingin it works fine, pinging into the 
machine also works fine (tried from an old win95 machine). But 
pinging out of the machine dosn't work, I'm getting the error message 
"Unable to connect to remote host: No route to host" when telnetting.

Is "ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up" enough to 
set up the network, I don't have to edit /etc/hosts or something 
else?

On 2 Mar 2003, at 10:05, praveen kallakuri wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> you dont have a lo in ur route: loopback interface.
> 
> check whether you can ping to yourself (lo) 127.0.0.1 on each pc.
> then configure pc1 as 192.168.0.1. repeat the two steps with pc2,
> only changing the ip address.
> 
> the initial sections of Net-HOWTO must help.
> 
> solong
> 
> chris1622@telia.com wrote:
>  >
>  > Please help me
>  > I'm trying to connect two pc's, but I allways get the message
>  > "unable to  connect to remote host: No route to host". What am I
>  > missing?
>  >
>  > My config for pc1 looks like this:
>  > ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
>  > rout add -host 192.168.0.2 eth0
>  >
>  > "route -n" output:
>  > 192.168.0.2  0.0.0.0  255.255.255.255  UH  0  0  0  eth0
>  > 192.168.0.0  0.0.0.0  255.255.255.0    UH  0  0  0  eth0
>  >
>  > /etc/hosts
>  > domain	home
>  > search	home
>  > nameserver 10.0.0.1
>  > nameserver 10.0.0.2
>  >
>  >
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> 
> iQB1AwUBPmIrugSOhI6OETvlAQGXogMAxNdOci2Hq7P+oAsQgg2GF6Gdj6xKVwU4
> h7H9RNO+mOx7EG0ZllbKI40UY71th2+aUeQJnsOdOlGhC5s4MBMPnCFGaWQBvXIw
> 8yZE0HdNJiuL39IZilLYW60WBrWWTQpv
> =EQvk
> -----END PGP SIGNATURE-----
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 




Reply to: