Local network hosts unreachable
This is being posted to linux-admin and to linux-net. If either of these groups are inappropriate for this posting, please let me know.
I am running Debian/GNU linux and I have a 2 box LAN. Mareschal has the hardware modem in it, and so is used as a gateway to the Internet. I do not use it for anything else (it is running Woody/Stable). My box that I use as my daily desktop machine is Xander (running Sarge/Testing). The two boxes are connected by a 4 port switch. For the past few days I have been unable to communicate between the two boxes.
Neither machine can ping the other (100% packet loss).
Traceroute is also unable to find a path from either
machine to the other. Ssh fails with an error saying 'no route to host.' This last error makes me feel that something has been messed up with my kernel routing tables, but they look OK to me and I have not been able to correct the problem by making changes there.
I do not see any obvious (to me) problems when the systems are booting. Below are listings of /etc/hosts, /etc/networks, as well as the output of ifconfig and route for each of the machines.
If anyone can give me a clue what might be wrong I would greatly appreciate it. Using a lousy web interface to my e-mail from a Windows laptop is gettin old very fast.
Here are the files and outputs:
Desktop box (xander):
/etc/hosts
127.0.0.1 local.net xander localhost
loopback
192.168.0.1 mareschal
192.168.0.2 alexander
192.168.0.3 xander
# 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
localnet 192.168.0.0
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr
00:11:5B:1B:8F:1F
inet addr:192.168.0.3 Bcast:192.168.0.255
Mask:255.255.255.0
inet6 addr: fe80::211:5bff:fe1b:8f1f/64Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:534 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:22764 (22.2
KiB)
Interrupt:19 Base address:0xe400 lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:230 errors:0 dropped:0 overruns:0
frame:0
TX packets:230 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:19436 (18.9 KiB) TX bytes:19436(18.9 KiB)
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
local.net * 255.255.255.255 UH 0 0 0 lo localnet * 255.255.255.0 U 0 0 0 eth0 default mareschal 0.0.0.0 UG 0 0 0 eth0
Gateway box (mareschal):
/etc/hosts
127.0.0.1 local.net mareschal
localhost loopback
192.168.0.1 mareschal
192.168.0.2 alexander
192.168.0.3 xander
# 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
localnet 127.0.0.0
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr
00:40:05:73:C8:11
inet addr:192.168.0.1 Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:3 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:180 (180.0 b)
Interrupt:10 Base address:0x300 lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0
frame:0
TX packets:18 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:1784 (1.7 KiB) TX bytes:1784 (1.7KiB)
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
Marc Shapiro