ethernet routing problem?
I've been setting up Debian 1.2.4 (25 Jan.: Cheapbytes distribution)
on two new Pentium 150 systems and I can't get network routing over
ethernet to work.
Installation of netbase and netstd seemed to go well
using dselect, except for an unsurprising temporary problem in
finding the right i/o port for the ethernet card. I'm using the
D-link DE220P, which the ne driver easily finds. Ifconfig gives
this report, which I believe shows correct configuration of the
driver to the card:
eth0 Link encap:10Mbps Ethernet HWaddr 00:80:C8:2D:7D:8F
inet addr:192.54.242.228 Bcast:192.54.242.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:4117 errors:0 dropped:0 overruns:0
Interrupt:11 Base address:0x220
Pinging the localhost works fine, but pinging anything else on
the network (even the immediately adjacent device connected via
coax) produces no result. I'm sure it's not a wiring problem
because the rest of the machines on the network are not affected
and I get the same negative results using ping on both new machines,
which are wired into the network in different locations in the office.
Trying ftp produces the error: "no route to host".
So I assume this is some sort of routing problem. The problem is
identical on both machines with the new distribution. I've
compared everything I can think of to another machine we have
running Debian 1.1 (dating from last June). All the files in
init.d appear to be the same (/etc/init.d/net*). The machine with
1.1 works fine.
Does routed or gated need to be running? I can't find gated on
any of the machines; routed is commented out in the network init
files. I tried uncommenting it and rebooting to no effect.
More reports and file contents:
netstat -rn:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.54.242.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
0.0.0.0 192.54.242.21 0.0.0.0 UG 1500 0 0 eth0
/etc/hosts:
127.0.0.1 localhost
192.54.242.17 mach1.wlu.ca mach1
192.54.242.18 mach2.wlu.ca mach2
192.54.242.200 astro.wlu.ca astro
192.54.242.201 nestor.wlu.ca nestor
.....
192.54.242.228 pressprt.wlu.ca pressprt # this machine
/etc/resolv.conf:
domain wlu.ca
search wlu.ca
nameserver 192.54.242.17 192.54.242.18
/etc/networks:
localnet 192.54.242.0
/etc/host.conf:
order hosts,bind
multi on
Processes:
(among others)
PID TT STAT TIME COMMAND
1 ? S 2:33 init [2]
2 ? SW 0:00 kflushd
3 ? SW< 0:00 kswapd
9 ? S 0:00 update
114 ? SW 0:00 nfsiod
115 ? SW 0:00 nfsiod
116 ? SW 0:00 nfsiod
117 ? SW 0:00 nfsiod
426 ? S 0:00 /sbin/syslogd
428 ? S 0:00 /sbin/klogd
435 ? S 0:00 /sbin/kerneld
485 ? S 0:00 /usr/sbin/apache -d /home/httpd/html
493 ? S 0:00 /usr/sbin/lpd
501 ? S < 0:00 /usr/sbin/xntpd
519 ? S < 0:00 /usr/sbin/xntpd
647 ? S 0:00 /usr/sbin/cron
654 ? S 0:00 /usr/bin/X11/xdm
656 1 S 0:00 -bash
657 2 S 0:00 /sbin/getty 38400 tty2
658 3 S 0:00 /sbin/getty 38400 tty3
659 4 S 0:00 /sbin/getty 38400 tty4
660 5 S 0:00 /sbin/getty 38400 tty5
661 6 S 0:00 /sbin/getty 38400 tty6
6062 ? S 0:00 /usr/sbin/inetd
6647 ? S 0:00 /usr/sbin/named
6060 ? S 0:00 /usr/sbin/rpc.portmap
Any help is much appreciated. Thanks.
--Steve Izma, Wilfrid Laurier University Press
Waterloo, Ont., Canada N2L 3C5
(519) 884-0710 ext. 6125 FAX: (519) 725-1399
steve@nestor.wlu.ca or sizma@mach1.wlu.ca
Reply to: