Solved

How to add routes to all domain computers to use 2 routers

Posted on 2003-11-10
2
267 Views
Last Modified: 2010-04-13
HI,

setup:

Win2K domain, 35WinXP PC's, 4 Win2/3k servers.
1 Leased line router,  1 ADSL router

- Leased line router to china used for Citrix and Term. Serv app,
- ADSL router for specific web traffic.
- A Symantec Proxy takes care of policy enforced web traffic through the ADSL.
- THe DHCP gives a default router (leased line) option to the computers so even if they disable the proxy use for surfing they can't get on the web (they'll try to resolve on the intranet leased line).

I need to give access to one IP address on the net trough the ADSL line

I can do this by manualy adding a route to every PC like

Route Add 213.156.0.0 MASK 255.255.255.48 10.0.0.1 METRIC 1

Can't I do this programaticly or any other easy way?

thanks


ez
0
Comment
Question by:ezjurgen
2 Comments
 
LVL 6

Accepted Solution

by:
rj-smith earned 125 total points
ID: 9714463

Well if it's only one user then not much need to do it programmatically but you could use a logon script I guess. However unless you built some logic into the script then it would be applied to all workstations.

If you use something like kixtart (www.kixtart.org) in your logon scripts then you can get quite sophisticated and have the script detect the client IP address and then add the route if necessary (or remove the route if necessary).

If you want to avoid scripting and your leased line router is managed by yourself then you could simply add a route to it (since it's your default gateway) and add an acl or filter on your ADSL router to only allow traffic from certain IP addresses, i.e. your proxy server and other allowed IP addresses.

Just a comment on your route statement above, if you want the route to be presistent then you need to use the -p flag.

Hope that helps.
0
 
LVL 1

Author Comment

by:ezjurgen
ID: 9897000
any idea how to do this via vbscripts? Logon script is in vb....


jurgen
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question