This is a request to help with a route problem I am having with Linux.
I have Linux Slackware 2.00 with kernel 1.09. I have had very little
trouble
setting up the system on my 386 dx system until now. I want to use my
Linux as a router between my internet connection (a SLIP) and my home
ethernet and appletalk network. I have got working an ne2000 clone ethernet
card in the Linux box successfully working with my Macinosh Centris 610
ethernet with tcp/ip, etc. Everything pings nice... I can ping from mac
into Linux (over the ethernet) and from Linux to Mac and from Linux to
internet via SLIP.
What I want is to be able to access full internet (via slip connection)
from
the Mac, so as to be able to ping any internet address from Mac gatewayed
by Linux box into Internet via SLIP connection.
After Dip establishes SLIP connection the routing table looks like :
Kernel routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
chill.voicenet. * 255.255.255.255 UH 0 0 0
sl0
127.0.0.0 * 255.0.0.0 U 0 0 30 lo
44.0.0.0 * 255.0.0.0 U 0 0 567
eth0
default chill.voicenet. * UG 0 0 16
sl0
where ifconfig reports
lo Link encap Local Loopback
inet addr 127.0.0.1 Bcast 127.255.255.255 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU 2000 Metric 1
RX packets 0 errors 0 dropped 0 overruns 0
TX packets 30 errors 0 dropped 0 overruns 0
sl0 Link encap UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr 199.234.235.56 P-t-P 199.234.235.2 Mask 255.255.255.0
UP POINTOPOINT RUNNING MTU 1006 Metric 1
RX packets 20 errors 0 dropped 0 overruns 0
TX packets 20 errors 0 dropped 0 overruns 0
eth0 Link encap UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr 44.65.2.120 Bcast 44.255.255.255 Mask 255.0.0.0
UP BROADCAST RUNNING MTU 1500 Metric 1
RX packets 548 errors 0 dropped 0 overruns 0
TX packets 603 errors 0 dropped 0 overruns 0
So what am I doing wrong to enable routing between the eth0 and the sl0?
The separate nets work fine, seems I can't get the Linux to send the
packets accross the "Divide"! BTW, the address of the Mac is 44.65.2.117
(an assigned Ham radio ip number) and it is setup to use 44.65.2.120 as
the gateway for its packets.
Thanks in advance...
Mike