setting up a home network/ machines won't ping each other
I have two computers, both with hd-installed Knoppix (i also tried with slackware), and I'm trying to set up a network so they can share my internet connection. But so far, I've been unable to even ping one machine from another.
One of them has 2 ethernet cards and the other has one; the one with two ethernet cards has one connected to my DSL modem and the other is connected directly to the second machine. Is that OK or do I need to buy a switch, hub, or router?
I know that all three NICs work because I've managed to get each of them to connect to my DSL by themselves.
My only other ideas at this point are that Knoppix sets up some firewall that screws things up, or that there is an IRC problem (both NICs on the gateway machine use IRC 9 - I don't know how to change this or how to tell if its a problem).
I set up the network by doing
ifconfig eth1 192.168.0.1 netmask 255.255.255.0 (first machine)
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 (second machine).
And the routing tables appear to be ok. Am I doing something totally wrong, or missing something?