Multi segment Lans contents.gifprev1.gifnext1.gif

Multi segment Lans

If you are running a LAN with more than one segment (i.e with your own internal router[s]) then you will need to make a few modifications to your setup on the WinGate machine, otherwise you will not be able to use WinGate from the other segments of your LAN that arent directly connected to the WinGate machine.

The reason for this is as follows.

When your machine dials up your service provider, the PPP login sequence allocates a new default gateway for the machine that connects. This is done so that the machine connecting can access machines on the Internet through a router at your ISP. The side effect of this however is that ther default gateway no longer points to a router on your internal LAN which was providing access to your other LAN segments. This means you have effectively lost the route to these other subnets.

The way around this is by adding static routes to the route table on the WinGate machine. This is done using the route command - available both on Windows 95 and Windows NT.

The syntax of this command is explained in the command itself, but generally the command(s) you will issues will look something like:

route add <subnet> MASK <subnet mask> <router address>

You will need one for each subnet on your LAN/WAN that needs access.

More info on Routing