Solved

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

Posted on 2003-11-10
2
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Determining the an SCCM package name from the Package ID
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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