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]

Reply via email to