[Tfug] Static Route setup
erich
tfug@tfug.org
Tue Jul 30 12:35:01 2002
Nowell Chandler wrote:
>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
>
>_______________________________________________
>tfug mailing list
>tfug@tfug.org
>http://www.tfug.org/mailman/listinfo/tfug
>
Here's my route listing right now as we speak. You cannot use a
192.168.x.x as a gateway. The
public internet will ignore you or worse, get mad at you.
Destination Gateway Genmask Flags Metric Ref Use
Iface
66.192.158.2 * 255.255.255.255 UH 0
0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0
0 0 eth0
127.0.0.0 * 255.0.0.0 U
0 0 0 lo
default 66.192.158.2 0.0.0.0 UG 0
0 0 ppp0
My apologies for the jumbled table My new e-mail needs some peaking &
tweaking
Cheers,
Erich