I hosed my network
Howdy all,
Somehow I managed to muck up my 2 node LAN. I have two machines,
loki, which is a potato box, and thor which is woody. Both are running
the 2.2.17 kernel. I've RTFM'd all day and can't get these 2 to talk
to each other. Here is the set up and some hopefully useful info about
this mess I've gotten myself into. I get the following errors:
loki:/var/log# ftp thor
ftp: connect: No route to host
ftp>
and ... interestingly
loki:/var/log# traceroute thor
traceroute to thor.localnet (192.168.1.2), 30 hops max, 38 byte packets
1 loki.localnet (192.168.1.1) 3000.384 ms !H 3009.530 ms !H 3010.097 ms !H
(thor does the same stuff going to loki )
(hardware IRQ conflict? or something )
I didn't see any ipchains DENY or such in the kern.log or syslog.
loki:
------------------------------------------------------
/etc/host file for loki
127.0.0.1 localhost
192.168.1.1 loki.localnet loki loghost
192.168.1.2 thor.localnet thor
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
--------------------------------------------------------------
/etc/networks from loki
loopback 127.0.0.0
localnet 192.168.1.0
---------------------------------------------------------------
ping output from loki:
PING loki.localnet (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=255 time=0.2 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.1 ms
--- loki.localnet ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms
bash-2.03$ ping 192.168.1.0
PING 192.168.1.0 (192.168.1.0): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=255 time=0.2 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.1 ms
--- 192.168.1.0 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms
bash-2.03$
-------------------------------------------------------------------
loki:/etc# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
204.145.251.52 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 204.145.251.52 0.0.0.0 UG 0 0 0 ppp0
-----------------------------------------------------------------------------
OK, thank god for floppies (: network information about thor:
------------------------------------------------------------------------------
/etc/hosts from thor
127.0.0.1 localhost
192.168.1.1 loki.localnet loki
192.168.1.2 thor.localnet thor loghost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
----------------------------------------------------------------------
/etc/networks from thor
loopback 127.0.0.0
localnet 192.168.1.0
-------------------------------------------------------------------------
ping output from thor
PING thor.localnet (192.168.1.2) from 192.168.1.2 : 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=0.5 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.3 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.3 ms
--- thor.localnet ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.5 ms
ping the network: (here on woody) , I have to do a ping -b,
is this an indication of a problem?
Do you want to ping broadcast? Then -b
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PING 192.168.1.0 (192.168.1.0) from 192.168.1.2 : 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=0.5 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=255 time=0.3 ms
--- 192.168.1.0 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.4/0.5 ms
---------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
----------------------------------------------------------------------------
--
Cliff
Reply to: