Dear Colleagues,
I have 2 problems. The first is very practical: my first inclination was
to post this message to comp.os.linux.networking, but at my current site,
usenet is not hosted, and I have been unable to find a public usenet server
which accepts postings to this group. If you know of one, I'd be pleased
to hear ([EMAIL PROTECTED])
Now to the Linux problem itself. I am wanting to do a demo for students at
my school, and I am using a cut-down system called Monkey Linux, which is a
reduced distribution of Slackware and installs a 2.0.x series kernel.
Basically, I have 2 machines side by side on the same piece of cable; they
can ping one another, but traceroute waits indefinately. I suspect the
route is not right, or a kernel module is not loaded, but I can't work out
what's going wrong. I would appreciate your wise advice as to either the
cure, what diagnostics to run, or where else to ask this question
([EMAIL PROTECTED]) ...
I am setting the system up by using the default rc.inet1 file and changing
the IP.
The rc.inet1 comes with the following variables:
IPADDR="192.168.1.9"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.250"
For good or ill, I have left all of them alone, except IPADDR. I have 2
machines side by side, one defined as .8 the other .9
For the .8 machine I have following data:
ifconfig tells me the following:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0
TX packets:9 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:80:AD:84:6F:F1
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:951 errors:0 dropped:0 overruns:0
TX packets:29 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x320
route by itself gives two lines, and hangs indefinately
route -n shows the following:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
192.168.1.0 * 255.255.255.0 U 1500 0 3 eth0
127.0.0.0 * 255.0.0.0 U 3584 0 1 lo
default 192.168.1.250 * UG 1500 0 0 eth0
FYI, the rc.inet1 has the following ifconfig and route statements in it:
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
/sbin/route add -net ${NETWORK} netmask ${NETMASK}
/sbin/route add default gw ${GATEWAY} metric 1
Any suggestions as to why they cannot traceroute?
Thanks,
--- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=
Paul D. Chandler [EMAIL PROTECTED]
Yarra Valley Grammar School [EMAIL PROTECTED]
Kalinda Rd
Ringwood 3134 AUSTRALIA Ph: +613 9262 7700
PhD Student - Deakin University, Faculty of Education