[Tfug] Static Route setup
Nowell Chandler
tfug@tfug.org
Tue Jul 30 11:21:01 2002
Hey all, maybe someone can give me some info here, as im confusing the heck
outta myself.
I have my linux machine, which is connected to the internet via a house
server (running 2k) with IP address 192.168.0.165/255.255.255.0. It hits the
internet fine. Due to lack of hub space and other issues, I want to set up
the windows machine (right next to me on the desk) to hit the internet via
the linux box. So I added a second card, and connected them via a crossover
cable. For the moment I assigned it a 192.168.2.1 IP address on the
255.255.0.0 subnet (reading on the web somewhere, that linux doesnt like
routing seprate networks on the same subnet). Anyway, I can ping the linux
machine and the windows machine just fine, but the windows machine cant get
out to the world. For the moment I have the windows machine set as
192.168.2.10 on the 255.255.0.0 subnet. It must be something im doing wrong
with my route, but I cannot seem to figure it out. Im running RH 7.2.
Following is my /sbin/route output:Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Thanks in advance!
Nowell