- make sure the host ip are different for each pc (e.g. x.x.x.1 - x.x.x.2 - etc)
- make sure the network ip are same for each pc (e.g. 192.168.0.x - 192.168.0.x - etc)
- on linux system, make sure your 'interfaces' file (e.g on debian: /etc/network/interfaces'
auto eth0 lo
iface lo inet
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
# gateway 192.168.0.1
can you ping from 192.168.0.1 to 192.168.0.2?
as long as you dont have 1 pc with more than 2 network card, i dont think you need to change route.conf
resolv.conf will deal when your linux wants to access internet,
un-comment line '# gateway 192.168.0.1' after your computers able to 'pinging' each other
cheers
From: Brad Hedspeth <fbhjr@bellsouth.net>
To: debian-user@lists.debian.org
Sent: Friday, 5 December, 2008 1:39:24 PM
Subject: Netwoking question
I have just installed debian Etch 4.0r5 on a Dell pc on its
own hard drive. The Dell system has been running Windows XP since it was
purchased 4 years ago. I also have Ubuntu 4.10 sharing the Windows
XP drive as my 1st linux install. Both Ubuntu and XP are functioning
on a home network. I have incorrectly set up the network info during the
debian install. I have modified the /etc/route.conf and the
/etc/resolv.conf files with what I believe is correct routing info. I am
not sure of the /etc/hosts file. I need to break this problem down into
little pieces to avoid major frustration. Any help would be appreciated.