Discussion Locked

Routing in Windows 2000

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

how can I add a route to each machine in a network? I use DHCP, but am not sure which setting to use.

Here's the scenario: I have 2 subnets connected by a vpn tunnel. I need machines on each side to use the vpn gateway to connect to machinesin the other subnet. I also need them to go through their normal gateway for all their internet access. How can I automatically configure them. teh route add command works fine, one at a time, and I COULD write a script, but there HAS to be a better way.

thanks in advance

3 replies

by rcc

I'm not quite clear of what you want to do, but here it is:
Let's say you have a 2k1 (2000 machine) that has 3 interfaces (two network adapters): your local network, your internet, and your VPN.
You set-up all your clients to uset the 2K1's local LAN interface IP address as default gateway
You install ROUTING and REMOTE ACCESS SERVICE on the 2K1 machine. On the same machine you set-up static routes: one for your local LAN subnet with the LAN adapter's IP address as default gateway; a second static route, for your remote NET (VPN), having your VPN adapter as the default gateway. WARNING: all these settings cannot be done with ROUTE ADD, but from the RRAS management console.
Ultimately, you will have a third route (default) for 0.0.0.0 pointing to your external interface.
If your VPN server is not living on the same machine as the default gateway, you can add a static route on the default gateway that has the remote subnet and the LAN address of the VPN server as the defaultgateway.
If you're not to clear, let me know and I will send you diagrams.
Regards,
Radu

This discussion is closed to new replies.