Setting up routes

Alan bigal at smartchat.net.au
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
192.168.1.1      0.0.0.0         255.255.255.255 UH   0      0        0 eth1
203.59.14.16    0.0.0.0         255.255.255.255 UH   0      0        0 ppp0
192.168.0.5      0.0.0.0         255.255.255.255 UH   0      0        0 eth0
192.168.1.0      0.0.0.0         255.255.255.0     U      0      0        0
eth1
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
0.0.0.0         203.59.14.16        0.0.0.0             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.

Regards,

Alan.






More information about the linux mailing list