I have two older notebook computers (486's) I've been trying to network
together, and can't seem to get it to work for some reason, and I was
wondering if anyone could tell me what I'm doing wrong.
Here's what I'm doing. I recently picked up two used IBM ethernet
cards (pcmcia - cardmgr reports them as "IBM Credit Card Ethernet"
in /var/log/messages). These have BNC connectors on them. I also
picked up two BNC tee connectors, two terminators, two BNC to RJ11
adapters, and a 2' cord with an RJ11 plug on each end. I hook
everything up in the obvious way, and then proceed as follows (I
should mention that the hostnames for the two computers are gamma
and delta; gamma is running Slackware 7.1 and delta is running Slackware
4.0).
First, I put the addresses of gamma (192.168.0.3) and delta (192.168.0.4)
in the /etc/hosts file of each computer. Then, on gamma, I do this:
|root@gamma:~# ifconfig eth0 gamma
|root@gamma:~# route add -host delta eth0
|root@gamma:~# ifconfig
|eth0 Link encap:Ethernet HWaddr 00:06:29:14:42:1A
| inet addr:192.168.0.3 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:0 errors:0 dropped:0 overruns:0 carrier:0
| collisions:0 txqueuelen:100
| Interrupt:3 Base address:0x300 Memory:c00d1000-c00d5000
|
|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
|
|root@gamma:~# route -n
|Kernel IP routing table
|Destination Gateway Genmask Flags Metric Ref Use Iface
|192.168.0.4 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
|192.168.0.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
Then, on delta, I do this:
|root@delta:~# ifconfig eth0 delta
|root@delta:~# route add -host gamma eth0
|root@delta:~# ifconfig
|eth0 Link encap:Ethernet HWaddr 00:04:AC:90:52:E9
| UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
| RX packets:0 errors:0 dropped:0 overruns:0 frame:0
| TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
| collisions:0 txqueuelen:100
| Interrupt:3 Base address:0x300 Memory:c00d1000-c00d5000
|
|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:11121 errors:0 dropped:0 overruns:0 frame:0
| TX packets:11121 errors:0 dropped:0 overruns:0 carrier:0
| collisions:0 txqueuelen:0
|
|root@delta:~# route -n
|Kernel IP routing table
|Destination Gateway Genmask Flags Metric Ref Use Iface
|192.168.0.3 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
|127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
So far, everything looks good, as far as I can tell, but if I try to
ping either machine from the other, I get nothing back. I also can't
telnet or ftp from one machine to the other. I might add that I've
successfully done all of these things with pppd and a null modem through
the serial ports, but I'd like a faster connection.
I've tried a few variations of the above, setting a default route and
gateway, for example, but it seems that the above ought to work as is.
I have tcpdump on gamma, but not on delta, and when I run it, I can see
outgoing packets, but not incoming packets. The LEDs on both interfaces
flash rhythmically when I run ping from either machine, so the 2' cord
between them must be good, but I don't know what's coming across because
I can't see anything with tcpdump. Am I missing something? Any help
would be appreciated.
Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]