Setting up routes

Alan bigal at
Tue Jul 9 22:46:30 EST 2002

> I am trying to network two computers to my Linux box.
> (a Win2000 machine and a Windows 98 Notebook).

This has been an ordeal I started a couple of weeks ago (I am a linux
virgin) and I appreciate all the help I have received during that time.

Basically I have got to this stage....I have two working ethernet cards
and a working modem connected to the linux box.

the following 'route -n' command produces the following listing :
- This follows a reboot and then 'pppd' to dial the modem:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface UH   0      0        0 eth1 UH   0      0        0 ppp0 UH   0      0        0 eth0     U      0      0        0
eth1     U      0      0        0
eth0             U      0      0
0 lo             UG   0      0
0 ppp0

I have tried experimenting with the 'route add' command to configure the
routing. However it is just trial and error and have not had much success.

My goal is to
1. Have the ppp0 connection available to all boxes on  my network.
2. All computers visible to each other.

Would appreciate some help in accomplishing this...Appreciate that life
would be much easier if I bought a hub but my I am determined to understand
networking under Linux.



More information about the linux mailing list