Re: help w/ ethernet (with a dash of ppp)
>> "S" == Shaleh <shaleh@livenet.net> writes:
S> Hi, I have two machines I would like to network. One of them uses ppp
S> to connect to the internet. The other should be able to see the
S> internet thru this first machine. Below is a network layout:
[...]
S> ifconfig eth0 192.168.0.{1,2} netmask 255.255.255.0
S> I can then ping the machines IP. However I can not ping either machine
S> from the other. My ppp link is intermittent (it is at home sharing a
S> line w/ the rest of the house).
Did you also add a routing entry for the subnet?
route add -net 192.168.3.0 netmask 255.255.255.0
route -n should show a line like
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Ciao,
Martin
Reply to: