Re: Network config help needed

2003-03-05 Thread chris1622

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
 
 [EMAIL PROTECTED] 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.0UH  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 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Network config help needed

2003-03-05 Thread deFreese, Barry


Barry deFreese
NTS Technology Services Manager
Nike Team Sports
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2003 1:16 PM
 To: [EMAIL PROTECTED]
 Subject: 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?
 

Chris,

Your /etc/network/interfaces should look like so:

iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast   192.168.0.255
gateway 192.168.0.?? -- Whatever your default router/gateway
address is.

Actually the gateway shouldn't matter since the other host is on the same
subnet.  Again, you need to verify that the subnet mask for both hosts are
the same.

Barry deFreese
NTS Technology Services Manager
Nike Team Sports
(949)-616-4005
[EMAIL PROTECTED]

Technology doesn't make you less stupid; it just makes you stupid faster.
Jerry Gregoire - Former CIO at Dell



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network config help needed

2003-03-05 Thread Patrick Wiseman
On Wed, 5 Mar 2003 at 9:00pm, [EMAIL PROTECTED] wrote:

: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.

Does route -n show a gateway?  It should show something like:

Kernel IP routing table
Destination  Gateway  Genmask  Flags Metric RefUse Iface
192.168.1.0  0.0.0.0  255.255.255.0   U 00  0  eth1
0.0.0.0  192.168.1.1  0.0.0.0 UG00  0  eth1

If it shows something like

Destination  Gateway  Genmask  Flags Metric RefUse Iface
192.168.1.0 * 255.255.255.0   U 00  0  eth1

then you don't have a default gateway set up.  Do route add default gw
192.168.1.1 substituting the correct IP address for your gateway of
course.  Edit /etc/interfaces (as directed at man interfaces) to have it
work on boot.

Patrick

-- 
Patrick Wiseman   [EMAIL PROTECTED]
Linux user #17943 *Google First, Ask Later*



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network config help needed

2003-03-02 Thread praveen kallakuri
-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

[EMAIL PROTECTED] 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.0UH  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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network config help needed

2003-03-02 Thread Wilfried Essig
Am Son, 2003-03-02 um 13.15 schrieb [EMAIL PROTECTED]:
 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

You don't need this special route to host .2 - it's alraedy fullfilled
with the standard-route to the network. But it should not disturb.

 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.0UH  0  0  0  eth0
 
 /etc/hosts
 domainhome
 searchhome
 nameserver 10.0.0.1
 nameserver 10.0.0.2
Where is the route to your nameservers?

-- 
Wilfried Essig [EMAIL PROTECTED]
Familie Essig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network config help needed

2003-03-02 Thread Barry deFreese
[EMAIL PROTECTED] 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.0UH  0  0  0  eth0
/etc/hosts
domain  home
search  home
nameserver 10.0.0.1
nameserver 10.0.0.2
 

You shouldn't need a route for the other host.  Because they are on the 
same subnet, broadcasts should see that machine.  Remove the route for 
192.168.0.2 and try it again.  If you still can't see it, I would guess 
that you have a subnet mask problem on one of the two machines.



--
Barry deFreese
Debian 3.0r1 Woody
Registered Linux Newbie #302256 - Debian Developer Wannabe
Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning. Rich Cook.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]