Hello,
I'm trying to setup up a peer to peer network between 2 computers
using linux. Here are the configurations:
Computer A:
266 Mhz P2
128 MB RAM
Etherlink III (3c509B) ISA
Redhat 5.1 (Kernel 2.0.36-3)
I've loaded the 3c509 module using the following:
modprobe 3c509
I believe it finds the ethernet card ok because here is the results of
(after using ifconfig)
cat /proc/interrupts
0: 8823787 timer
1: 12799 keyboard
2: 0 cascade
4: 570707 + serial
8: 1 + rtc
9: 0 3c509
10: 7 + ide2
12: 346714 PS/2 Mouse
13: 1 math error
14: 54715 + ide0
15: 31 +
here is what cat /proc/ioports shows (a portion)
0170-0177 : ide1
01f0-01f7 : ide0
0300-030f : 3c509
0376-0376 : ide1
03c0-03df : vga+
03f0-03f5 : floppy
I then enter the following to bring up the network interface:
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
then
route add -host 192.168.0.2 eth0
(i've also tried route add -net 192.168.0.0 netmask 255.255.255.0 eth0
without any luck)
here is the output of route after doing the first one:
nebco_firewall * 255.255.255.255 UH 0 0 3
eth0
192.168.0.0 * 255.255.255.0 U 0 0 4
eth0
127.0.0.0 * 255.0.0.0 U 0 0 14
lo
the output of ifconfig after doing so is:
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:503 errors:0 dropped:0 overruns:0
TX packets:503 errors:0 dropped:0 overruns:0
eth0 Link encap:Ethernet HWaddr 00:20:AF:72:59:A4
inet addr:192.168.0.2 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
TX packets:407 errors:0 dropped:0 overruns:0
Interrupt:9 Base address:0x300
here is the /etc/hosts file:
127.0.0.1 localhost localhost.localdomain loopback
192.168.0.2 Babylon_5
192.168.0.1 nebco_firewall
here is /etc/conf.modules:
(this should matter since I specify the exact module with modprobe
right?)
alias snd-minor-oss-1 snd-pcm1-oss
alias char-major-107 3dfx
alias eth0 3c509
Computer B:
90 Mhz Pentium
40 MB RAM
Etherlink III (3c509B) ISA and
Etherlink III (3c509TB) ISA
Redhat 6.0 (Default everything)
I've loaded the 3c509 module using the following:
modprobe 3c509
the following readings are after using ifconfig
cat /proc/interrupts (a portion)
9: 17 XT-PIC eth0
10: 395 XT-PIC eth1
no other devices are using these interrupts
here is what cat /proc/ioports shows (a portion)
0170-0177 : ide1
01f0-01f7 : ide0
0300-030f : 3c509
0340-034f : 3c509
0376-0376 : ide1
03c0-03df : vga+
I then enter the following to bring up the network interface:
ifconfig eth1 192.168.0.2 netmask 255.255.255.0 up
(I'm only using eth1 to start with, but I have tried it with the other
ethernet card eth0).
then
route add -host 192.168.0.1 eth1
(i've also tried route add -net 192.168.0.0 netmask 255.255.255.0 eth1
without any luck)
here is the output of route after doing the first one:
192.168.0.2 * 255.255.255.255 UH 0 0 3
eth1
192.168.0.0 * 255.255.255.0 U 0 0 4
eth1
127.0.0.0 * 255.0.0.0 U 0 0 14
lo
the output of ifconfig after doing so is:
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:503 errors:0 dropped:0 overruns:0
TX packets:503 errors:0 dropped:0 overruns:0
eth1 Link encap:Ethernet HWaddr 00:60:8C:EB:49:B5
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
TX packets:407 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x340
here is the /etc/hosts file:
127.0.0.1 localhost localhost.localdomain loopback
192.168.0.1 nebco_firewall
192.168.0.2 Babylon_5
here is /etc/conf.modules:
(this should matter since I specify the exact module with modprobe
right?)
alias eth0 3c509
alias eth1 3c509
here is what I've tried with no success to try and communicate between
the 2 machines:
from machine A:
telnet nebco_firewall
Trying 192.168.0.1...
telnet: Unable to connect to remote host: No route to host
ftp nebco_firewall
ftp: connect: No route to host
ftp>
ping nebco_firewall
PING nebco_firewall (192.168.0.1): 56 data bytes
(ping never returns)
The reults are the same for machine B except I used Babylon_5 instead of
nebco_firewall the IP address returned in the messages was 192.168.0.2.
I am using a cross-connect ethernet cable. I used a mult-meter to make
sure that the cross connections work. Also, according to the 3com web
sight, if the cross connection works, then the green lights on the
ethernet cards will be lit up and they are.
I hope this is enough information.
Any and All help will be very much appreciated!
Thanks,
Steve
P.S. Yes, I'm going to try to set up a firewall, but I first need to
get the network connections working first ;-)