Hi,
I have a small network with 4 Linux machines. Every machine has 2 NIC's.
The first NIC's are configured for an internal network (192.168.1.0), the
second - for an external (say, 1.2.3.0).
Every machine is running an sshd. Sometimes, when I want to connect from
one machine to another by ssh, I get "Connection timed out". But then,
If I just send, say 3 pings to the machine and try to ssh to it again,
it succeeds! - the login process takes just 1s or less (I use DSA keys
for verification).
What could be the problem then?
All the 8 NIC's are connected to one 10 port switch AT 9410 (1Gb switch),
although 4 of them are 100Mb/s and 4 are 1Gb/s.
Is it possible the switch is the source of problems, or rather, I don't
know,
name resolving?
Every linux was installed on one machine, and then the HDD was put into
appriopriate
other machine, so after the installation, when the network services were
going down,
there was a message about problems with MAC address.
But I think I repaired that, using MAC address got from the arp command to
put them
into /etc/sysconfig/network-scripts/ifcfg-ethX. Maybe it was not the good
solution?
Here are the /etc/hosts files:
127.0.0.1 klaster2 localhost.localdomain localhost
1.2.3.1 klaster1
1.2.3.2 klaster2
1.2.3.3 klaster3
1.2.3.4 klaster4
192.168.1.1 fast1
192.168.1.2 fast2
192.168.1.3 fast3
192.168.1.4 fast4
--
Regards,
Robert B.
rpbyc@op.pl